Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000896/0.0008957, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001004/0.001004, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.933/1.933, allocations: 205.4 MB / 222.1 MB, free: 5.375 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4316/0.4316, allocations: 39.99 MB / 310.4 MB, free: 10.1 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005668/0.0005669, allocations: 15.94 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1193, allocations: 57.96 MB / 436.8 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4431/0.5624, allocations: 169.5 MB / 0.5921 GB, free: 10.38 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001912/0.5643, allocations: 0.9021 MB / 0.593 GB, free: 9.48 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002505/0.5646, allocations: 11.94 kB / 0.593 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.5652, allocations: 147 kB / 0.5932 GB, free: 9.324 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0005751/0.5657, allocations: 278.4 kB / 0.5934 GB, free: 9.051 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005154/0.5709, allocations: 1.602 MB / 0.595 GB, free: 7.457 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001266/0.5722, allocations: 1.092 MB / 0.5961 GB, free: 6.363 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003999/0.5726, allocations: 261.3 kB / 0.5963 GB, free: 6.117 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003516/0.5761, allocations: 1.476 MB / 0.5977 GB, free: 4.645 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004619/0.5766, allocations: 310.9 kB / 0.598 GB, free: 4.34 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.83e-05/0.5767, allocations: 28 kB / 0.5981 GB, free: 4.312 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004681/0.5814, allocations: 2.445 MB / 0.6005 GB, free: 1.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.5816, allocations: 163.5 kB / 0.6006 GB, free: 1.703 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001999/0.5818, allocations: 113.5 kB / 0.6007 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002181/0.584, allocations: 1.384 MB / 0.6021 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.584, allocations: 0 / 0.6021 GB, free: 204 kB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.5841, allocations: 4 kB / 0.6021 GB, free: 200 kB / 462.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.5841, allocations: 0 / 0.6021 GB, free: 200 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.00168/0.5857, allocations: 0.9699 MB / 0.603 GB, free: 15.17 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.5858, allocations: 8.031 kB / 0.603 GB, free: 15.16 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002315/0.586, allocations: 59.42 kB / 0.6031 GB, free: 15.1 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004831/0.5865, allocations: 358.1 kB / 0.6034 GB, free: 14.71 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.119e-05/0.5866, allocations: 29 kB / 0.6035 GB, free: 14.69 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.461e-05/0.5866, allocations: 36 kB / 0.6035 GB, free: 14.65 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008579/0.5875, allocations: 0.5228 MB / 0.604 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.5875, allocations: 4 kB / 0.604 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.5876, allocations: 16 kB / 0.604 GB, free: 14.08 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.5876, allocations: 8 kB / 0.604 GB, free: 14.07 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008195/0.5884, allocations: 0.4995 MB / 0.6045 GB, free: 13.57 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002555/0.591, allocations: 1.982 MB / 0.6064 GB, free: 11.46 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.5917, allocations: 458.3 kB / 0.6069 GB, free: 10.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003073/0.592, allocations: 190.4 kB / 0.6071 GB, free: 10.77 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008096/0.5928, allocations: 0.9455 MB / 0.608 GB, free: 9.621 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.671e-05/0.5929, allocations: 42.56 kB / 0.608 GB, free: 9.57 MB / 478.1 MB Notification: Performance of pre-optimization done (n=30): time 1.934e-06/0.5929, allocations: 0 / 0.608 GB, free: 9.57 MB / 478.1 MB Notification: Performance of matching and sorting (n=30): time 0.001067/0.594, allocations: 0.5009 MB / 0.6085 GB, free: 9.062 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.091e-05/0.5941, allocations: 114.7 kB / 0.6086 GB, free: 8.926 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004272/0.5945, allocations: 405.5 kB / 0.609 GB, free: 8.523 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.5945, allocations: 33.7 kB / 0.609 GB, free: 8.484 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/0.5947, allocations: 216.2 kB / 0.6093 GB, free: 8.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.5948, allocations: 102.5 kB / 0.6094 GB, free: 8.168 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.5948, allocations: 11.94 kB / 0.6094 GB, free: 8.156 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.595, allocations: 350.8 kB / 0.6097 GB, free: 7.805 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.5953, allocations: 152.6 kB / 0.6098 GB, free: 7.656 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.5957, allocations: 274 kB / 0.6101 GB, free: 7.344 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003715/0.596, allocations: 245.6 kB / 0.6103 GB, free: 7.098 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.5961, allocations: 0 / 0.6103 GB, free: 7.098 MB / 478.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009146/0.597, allocations: 0.5587 MB / 0.6109 GB, free: 6.52 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.597, allocations: 59.41 kB / 0.6109 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.597, allocations: 4 kB / 0.6109 GB, free: 6.445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.733e-05/0.5971, allocations: 8 kB / 0.611 GB, free: 6.438 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/0.5975, allocations: 87.88 kB / 0.611 GB, free: 6.352 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.5975, allocations: 8.281 kB / 0.611 GB, free: 6.344 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.5978, allocations: 67.38 kB / 0.6111 GB, free: 6.277 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.536e-05/0.5979, allocations: 23.98 kB / 0.6111 GB, free: 6.254 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002141/0.5981, allocations: 181.7 kB / 0.6113 GB, free: 6.066 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.5982, allocations: 43.52 kB / 0.6113 GB, free: 6.023 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009781/0.5992, allocations: 0.4993 MB / 0.6118 GB, free: 5.52 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.515e-06/0.5992, allocations: 4 kB / 0.6118 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5993, allocations: 0 / 0.6118 GB, free: 5.516 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.5993, allocations: 3.984 kB / 0.6118 GB, free: 5.512 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.602, allocations: 2.436 MB / 0.6142 GB, free: 2.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.6021, allocations: 7.938 kB / 0.6142 GB, free: 2.723 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.6023, allocations: 59.91 kB / 0.6143 GB, free: 2.664 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6024, allocations: 7.953 kB / 0.6143 GB, free: 2.656 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.6024, allocations: 8.875 kB / 0.6143 GB, free: 2.648 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.6024, allocations: 4.188 kB / 0.6143 GB, free: 2.645 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.6024, allocations: 8 kB / 0.6143 GB, free: 2.637 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007488/0.6032, allocations: 0.6433 MB / 0.6149 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.6033, allocations: 144.4 kB / 0.6151 GB, free: 1.797 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.6034, allocations: 11.95 kB / 0.6151 GB, free: 1.785 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.6038, allocations: 28.03 kB / 0.6151 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.092e-05/0.6038, allocations: 27.97 kB / 0.6151 GB, free: 1.73 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.411e-05/0.6039, allocations: 23.98 kB / 0.6152 GB, free: 1.707 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0003729/0.6043, allocations: 355.1 kB / 0.6155 GB, free: 1.363 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.422e-06/0.6043, allocations: 0 / 0.6155 GB, free: 1.363 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001027/0.6053, allocations: 375.6 kB / 0.6159 GB, free: 0.9961 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.6065, allocations: 0.5763 MB / 0.6164 GB, free: 432 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0007971/0.6073, allocations: 471 kB / 0.6169 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.6073, allocations: 8.062 kB / 0.6169 GB, free: 15.93 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002948/0.6076, allocations: 167.7 kB / 0.617 GB, free: 15.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.6089, allocations: 250.7 kB / 0.6173 GB, free: 15.52 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001326/0.6102, allocations: 0.9347 MB / 0.6182 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.6107, allocations: 0.8354 MB / 0.619 GB, free: 13.69 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004602/0.6111, allocations: 118.9 kB / 0.6191 GB, free: 13.57 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001886/0.6113, allocations: 47.42 kB / 0.6192 GB, free: 13.52 MB / 494.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6113, allocations: 0 / 0.6192 GB, free: 13.52 MB / 494.1 MB Notification: Performance of Templates: time 0.2334/0.8447, allocations: 14.83 MB / 0.6337 GB, free: 156 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1) Environment - environmentSimulation: