Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001243/0.001243, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.409/1.409, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.081/1.081, allocations: 135.1 MB / 425.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 68.09 kB / 0.5047 GB, free: 5.801 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1552/0.1564, allocations: 80.93 MB / 0.5837 GB, free: 5.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5155/0.672, allocations: 192.8 MB / 0.772 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.6905, allocations: 14.39 MB / 0.7861 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002166/0.6927, allocations: 31.81 kB / 0.7861 GB, free: 14.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.6945, allocations: 421.7 kB / 0.7865 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005597/0.7002, allocations: 1.778 MB / 0.7883 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.7027, allocations: 0.7604 MB / 0.789 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004528/0.7072, allocations: 3.627 MB / 0.7925 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001404/0.7086, allocations: 0.9382 MB / 0.7935 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004983/0.7136, allocations: 1.44 MB / 0.7949 GB, free: 5.191 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002414/0.716, allocations: 0.9707 MB / 0.7958 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.7163, allocations: 64 kB / 0.7959 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003501/0.7198, allocations: 1.251 MB / 0.7971 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006869/0.7205, allocations: 462.8 kB / 0.7975 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009512/0.7214, allocations: 0.5947 MB / 0.7981 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002752/0.7242, allocations: 1.912 MB / 0.8 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.7242, allocations: 0 / 0.8 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.906e-06/0.7242, allocations: 3.984 kB / 0.8 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.7242, allocations: 0 / 0.8 GB, free: 15.93 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.00242/0.7267, allocations: 1.451 MB / 0.8014 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.7267, allocations: 16.03 kB / 0.8014 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001426/0.7282, allocations: 254.3 kB / 0.8017 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001245/0.7294, allocations: 0.7492 MB / 0.8024 GB, free: 13.38 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.368e-05/0.7295, allocations: 74 kB / 0.8025 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.7296, allocations: 96 kB / 0.8026 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001771/0.7314, allocations: 1.169 MB / 0.8037 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.659e-05/0.7314, allocations: 11.81 kB / 0.8037 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.324e-05/0.7315, allocations: 40 kB / 0.8038 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.23e-05/0.7316, allocations: 34 kB / 0.8038 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001389/0.733, allocations: 0.9015 MB / 0.8047 GB, free: 10.98 MB / 0.6231 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.005772/0.7388, allocations: 5.731 MB / 0.8103 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008018/0.7396, allocations: 0.533 MB / 0.8108 GB, free: 4.25 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00043/0.74, allocations: 318.6 kB / 0.8111 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006114/0.7406, allocations: 307.8 kB / 0.8114 GB, free: 3.582 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.7407, allocations: 46.98 kB / 0.8114 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.7407, allocations: 0 / 0.8114 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001534/0.7422, allocations: 0.7948 MB / 0.8122 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.388e-05/0.7423, allocations: 59.84 kB / 0.8123 GB, free: 2.652 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.7432, allocations: 0.7509 MB / 0.813 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.153e-05/0.7433, allocations: 37.7 kB / 0.813 GB, free: 1.852 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.7437, allocations: 0.5065 MB / 0.8135 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.7439, allocations: 181.5 kB / 0.8137 GB, free: 1.156 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.7441, allocations: 138.6 kB / 0.8138 GB, free: 1.016 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.7442, allocations: 337.9 kB / 0.8141 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003543/0.7446, allocations: 241.9 kB / 0.8144 GB, free: 452 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006907/0.7452, allocations: 0.5566 MB / 0.8149 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009806/0.7462, allocations: 0.8034 MB / 0.8157 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/0.7462, allocations: 0 / 0.8157 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001252/0.7475, allocations: 0.8421 MB / 0.8165 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.7475, allocations: 8 kB / 0.8165 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.7476, allocations: 8.875 kB / 0.8165 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/0.7476, allocations: 12 kB / 0.8166 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.7482, allocations: 159.8 kB / 0.8167 GB, free: 13.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.235e-05/0.7482, allocations: 19.92 kB / 0.8167 GB, free: 13.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009027/0.7491, allocations: 142.9 kB / 0.8169 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-05/0.7492, allocations: 32 kB / 0.8169 GB, free: 13.62 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.7496, allocations: 333.5 kB / 0.8172 GB, free: 13.28 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.7498, allocations: 86.97 kB / 0.8173 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009694/0.7507, allocations: 0.6101 MB / 0.8179 GB, free: 12.58 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.7508, allocations: 8 kB / 0.8179 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7508, allocations: 0 / 0.8179 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000702/0.7515, allocations: 0.5172 MB / 0.8184 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002492/0.754, allocations: 1.665 MB / 0.82 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.754, allocations: 4 kB / 0.82 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005369/0.7545, allocations: 115.8 kB / 0.8201 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.7546, allocations: 4 kB / 0.8201 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.927e-05/0.7546, allocations: 16.22 kB / 0.8202 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.7546, allocations: 4 kB / 0.8202 GB, free: 10.16 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.7546, allocations: 7.938 kB / 0.8202 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.7561, allocations: 1.058 MB / 0.8212 GB, free: 9.055 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003511/0.7564, allocations: 223.9 kB / 0.8214 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.7565, allocations: 15.98 kB / 0.8214 GB, free: 8.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005654/0.7571, allocations: 59.86 kB / 0.8215 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8e-05/0.7572, allocations: 39.89 kB / 0.8215 GB, free: 8.703 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.7573, allocations: 16 kB / 0.8215 GB, free: 8.688 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006497/0.7579, allocations: 0.5184 MB / 0.8221 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7579, allocations: 0 / 0.8221 GB, free: 8.172 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009411/0.7589, allocations: 291.3 kB / 0.8223 GB, free: 7.887 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004692/0.7636, allocations: 214.2 kB / 0.8225 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001501/0.7651, allocations: 0.6141 MB / 0.8231 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.7651, allocations: 1.875 kB / 0.8231 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005512/0.7657, allocations: 271.5 kB / 0.8234 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00327/0.7689, allocations: 437.7 kB / 0.8238 GB, free: 6.391 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004968/0.7739, allocations: 2.29 MB / 0.8261 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/0.775, allocations: 1.122 MB / 0.8271 GB, free: 2.902 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001543/0.7765, allocations: 271.1 kB / 0.8274 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000282/0.7768, allocations: 71.42 kB / 0.8275 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/0.7768, allocations: 0 / 0.8275 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of Templates: time 0.03146/0.8083, allocations: 14.98 MB / 0.8421 GB, free: 3.828 MB / 0.6544 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)