Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009249/0.0009251, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007548/0.007548, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.037/1.037, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003294/0.000329, allocations: 11.98 kB / 0.5076 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1768, allocations: 82.32 MB / 0.588 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 1.077/1.254, allocations: 298.7 MB / 0.8797 GB, free: 1.879 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03166/1.285, allocations: 25.7 MB / 0.9048 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006394/1.292, allocations: 109.3 kB / 0.9049 GB, free: 1.609 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005608/1.297, allocations: 1.534 MB / 0.9064 GB, free: 1.582 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01905/1.316, allocations: 5.621 MB / 0.9119 GB, free: 1.312 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.008545/1.325, allocations: 2.369 MB / 0.9142 GB, free: 1.258 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01688/1.342, allocations: 12.39 MB / 0.9263 GB, free: 1.238 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00765/1.35, allocations: 2.988 MB / 0.9292 GB, free: 16.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01751/1.367, allocations: 3.575 MB / 0.9327 GB, free: 16.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008008/1.375, allocations: 2.933 MB / 0.9356 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001549/1.377, allocations: 151.3 kB / 0.9357 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01274/1.39, allocations: 5.272 MB / 0.9409 GB, free: 16.62 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.004428/1.394, allocations: 1.42 MB / 0.9422 GB, free: 16.32 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.006154/1.4, allocations: 1.889 MB / 0.9441 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01387/1.414, allocations: 6.754 MB / 0.9507 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/1.414, allocations: 0 / 0.9507 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.964e-06/1.414, allocations: 4 kB / 0.9507 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002636/1.414, allocations: 0 / 0.9507 GB, free: 13.27 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.008523/1.423, allocations: 3.433 MB / 0.954 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/1.423, allocations: 9.906 kB / 0.954 GB, free: 11.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006718/1.43, allocations: 0.9338 MB / 0.955 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005943/1.436, allocations: 2.269 MB / 0.9572 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003773/1.436, allocations: 285 kB / 0.9574 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009923/1.437, allocations: 284.9 kB / 0.9577 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009229/1.446, allocations: 3.364 MB / 0.961 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001288/1.447, allocations: 6.438 kB / 0.961 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006815/1.447, allocations: 114.5 kB / 0.9611 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001557/1.447, allocations: 106.5 kB / 0.9612 GB, free: 8.723 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005817/1.453, allocations: 2.795 MB / 0.9639 GB, free: 8.242 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02162/1.475, allocations: 13.22 MB / 0.9769 GB, free: 15.05 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002785/1.478, allocations: 1.827 MB / 0.9786 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001542/1.479, allocations: 1.101 MB / 0.9797 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005188/1.48, allocations: 331.6 kB / 0.98 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.867e-05/1.48, allocations: 54.75 kB / 0.9801 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=182): time 6.072e-06/1.48, allocations: 4 kB / 0.9801 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of matching and sorting (n=182): time 0.005138/1.485, allocations: 2.729 MB / 0.9828 GB, free: 11.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.548e-05/1.485, allocations: 69.41 kB / 0.9828 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002854/1.488, allocations: 1.999 MB / 0.9848 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0003367/1.488, allocations: 64.02 kB / 0.9848 GB, free: 9.57 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/1.489, allocations: 1.414 MB / 0.9862 GB, free: 8.156 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007232/1.49, allocations: 0.6336 MB / 0.9868 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002186/1.49, allocations: 177.6 kB / 0.987 GB, free: 7.348 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.9e-05/1.491, allocations: 305.1 kB / 0.9873 GB, free: 7.047 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/1.492, allocations: 0.7965 MB / 0.9881 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.494, allocations: 1.436 MB / 0.9895 GB, free: 4.559 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.497, allocations: 2.261 MB / 0.9917 GB, free: 2.172 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/1.497, allocations: 4 kB / 0.9917 GB, free: 2.168 MB / 0.7012 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004366/1.501, allocations: 2.494 MB / 0.9941 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003819/1.501, allocations: 492.2 kB / 0.9946 GB, free: 15.08 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.501, allocations: 12 kB / 0.9946 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.296e-05/1.501, allocations: 27.94 kB / 0.9946 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002493/1.504, allocations: 0.57 MB / 0.9952 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/1.506, allocations: 4.149 MB / 0.9992 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003654/1.51, allocations: 378 kB / 0.9996 GB, free: 9.848 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001862/1.51, allocations: 83.98 kB / 0.9997 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/1.51, allocations: 7.938 kB / 0.9997 GB, free: 9.758 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003485/1.513, allocations: 2.22 MB / 1.002 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/1.513, allocations: 12 kB / 1.002 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.513, allocations: 24 kB / 1.002 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/1.515, allocations: 474.3 kB / 1.002 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.943e-05/1.515, allocations: 29.33 kB / 1.002 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003358/1.519, allocations: 346.1 kB / 1.003 GB, free: 6.793 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/1.519, allocations: 87.98 kB / 1.003 GB, free: 6.707 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001764/1.52, allocations: 0.8563 MB / 1.004 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005931/1.521, allocations: 272.8 kB / 1.004 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003306/1.524, allocations: 2.109 MB / 1.006 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.524, allocations: 16 kB / 1.006 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/1.524, allocations: 0 / 1.006 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002563/1.527, allocations: 1.895 MB / 1.008 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009012/1.536, allocations: 5.153 MB / 1.013 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.769e-06/1.536, allocations: 4 kB / 1.013 GB, free: 12.33 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/1.538, allocations: 0.5008 MB / 1.013 GB, free: 11.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.538, allocations: 11.98 kB / 1.013 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001326/1.539, allocations: 59.86 kB / 1.013 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002387/1.541, allocations: 4.134 MB / 1.017 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.541, allocations: 2.531 kB / 1.017 GB, free: 7.492 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005294/1.546, allocations: 3.374 MB / 1.021 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001762/1.548, allocations: 0.5662 MB / 1.021 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003215/1.548, allocations: 47.98 kB / 1.021 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/1.551, allocations: 242.9 kB / 1.022 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.551, allocations: 120.3 kB / 1.022 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001378/1.551, allocations: 71.95 kB / 1.022 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002006/1.553, allocations: 1.334 MB / 1.023 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.01e-07/1.553, allocations: 0 / 1.023 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.004194/1.557, allocations: 1.71 MB / 1.025 GB, free: 15.95 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007961/1.558, allocations: 359.2 kB / 1.025 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.006027/1.564, allocations: 3.313 MB / 1.028 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/1.564, allocations: 4 kB / 1.028 GB, free: 12.44 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001782/1.566, allocations: 1.035 MB / 1.029 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01106/1.577, allocations: 1.597 MB / 1.031 GB, free: 9.871 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/1.592, allocations: 8.114 MB / 1.039 GB, free: 1.734 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002891/1.595, allocations: 2.188 MB / 1.041 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.00492/1.6, allocations: 1.092 MB / 1.042 GB, free: 14.42 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/1.601, allocations: 223.4 kB / 1.042 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of SimCode: time 1.303e-06/1.601, allocations: 0 / 1.042 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of Templates: time 0.1031/1.704, allocations: 52.85 MB / 1.094 GB, free: 10.1 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)