Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.002171/0.002171, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002835/0.002835, allocations: 192.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.861/1.861, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3547/0.3547, allocations: 38 MB / 307.8 MB, free: 10.09 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.1. 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.001948/0.001948, allocations: 76.52 kB / 375.3 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1415, allocations: 56.45 MB / 431.7 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4537/0.5953, allocations: 186.3 MB / 0.6035 GB, free: 13.26 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002391/0.5977, allocations: 0.9085 MB / 0.6044 GB, free: 12.35 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003313/0.5981, allocations: 7.938 kB / 0.6044 GB, free: 12.34 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008314/0.5989, allocations: 202.7 kB / 0.6046 GB, free: 12.14 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00071/0.5997, allocations: 282.3 kB / 0.6049 GB, free: 11.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006967/0.6066, allocations: 2.152 MB / 0.607 GB, free: 9.723 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001464/0.6081, allocations: 0.9749 MB / 0.6079 GB, free: 8.746 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005548/0.6087, allocations: 334.5 kB / 0.6082 GB, free: 8.426 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004151/0.6129, allocations: 1.697 MB / 0.6099 GB, free: 6.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005331/0.6134, allocations: 310.9 kB / 0.6102 GB, free: 6.422 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.6135, allocations: 48 kB / 0.6102 GB, free: 6.375 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005428/0.6189, allocations: 2.847 MB / 0.613 GB, free: 3.523 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002475/0.6192, allocations: 191.5 kB / 0.6132 GB, free: 3.336 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003581/0.6196, allocations: 274.8 kB / 0.6134 GB, free: 3.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003801/0.6234, allocations: 2.101 MB / 0.6155 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6234, allocations: 8 kB / 0.6155 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.337e-06/0.6234, allocations: 0 / 0.6155 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.6234, allocations: 3.938 kB / 0.6155 GB, free: 0.9492 MB / 478.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.002027/0.6255, allocations: 1.061 MB / 0.6165 GB, free: 15.83 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6255, allocations: 15.89 kB / 0.6166 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.6258, allocations: 56.58 kB / 0.6166 GB, free: 15.76 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00051/0.6263, allocations: 365.8 kB / 0.617 GB, free: 15.36 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/0.6264, allocations: 29 kB / 0.617 GB, free: 15.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.019e-05/0.6264, allocations: 36 kB / 0.617 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008717/0.6273, allocations: 0.5267 MB / 0.6175 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6273, allocations: 4 kB / 0.6175 GB, free: 14.74 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.057e-05/0.6274, allocations: 16 kB / 0.6176 GB, free: 14.72 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.6274, allocations: 8 kB / 0.6176 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008418/0.6283, allocations: 495.5 kB / 0.618 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.6309, allocations: 1.985 MB / 0.62 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007504/0.6317, allocations: 460.6 kB / 0.6204 GB, free: 11.61 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.632, allocations: 182.5 kB / 0.6206 GB, free: 11.42 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008451/0.6329, allocations: 0.9494 MB / 0.6215 GB, free: 10.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.6329, allocations: 38.56 kB / 0.6216 GB, free: 10.22 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.275e-06/0.6329, allocations: 0 / 0.6216 GB, free: 10.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001134/0.6341, allocations: 0.4967 MB / 0.622 GB, free: 9.723 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.79e-05/0.6341, allocations: 106.8 kB / 0.6221 GB, free: 9.594 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004212/0.6346, allocations: 405.5 kB / 0.6225 GB, free: 9.191 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.147e-05/0.6346, allocations: 29.7 kB / 0.6226 GB, free: 9.156 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6348, allocations: 212.2 kB / 0.6228 GB, free: 8.945 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.757e-05/0.6349, allocations: 106.5 kB / 0.6229 GB, free: 8.84 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/0.635, allocations: 81.97 kB / 0.6229 GB, free: 8.754 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6351, allocations: 350.8 kB / 0.6233 GB, free: 8.402 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000311/0.6355, allocations: 148.7 kB / 0.6234 GB, free: 8.258 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003752/0.6358, allocations: 266 kB / 0.6237 GB, free: 7.953 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007307/0.6366, allocations: 488 kB / 0.6241 GB, free: 7.418 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.6366, allocations: 0 / 0.6241 GB, free: 7.418 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009847/0.6376, allocations: 0.551 MB / 0.6247 GB, free: 6.852 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.559e-05/0.6377, allocations: 59.41 kB / 0.6247 GB, free: 6.781 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/0.6377, allocations: 4 kB / 0.6247 GB, free: 6.777 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.6377, allocations: 8 kB / 0.6247 GB, free: 6.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.6381, allocations: 79.89 kB / 0.6248 GB, free: 6.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/0.6381, allocations: 16.62 kB / 0.6248 GB, free: 6.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003161/0.6385, allocations: 47.53 kB / 0.6249 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.371e-05/0.6385, allocations: 19.98 kB / 0.6249 GB, free: 6.609 MB / 494.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000221/0.6388, allocations: 189.7 kB / 0.6251 GB, free: 6.414 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.6389, allocations: 43.53 kB / 0.6251 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.6399, allocations: 486.1 kB / 0.6256 GB, free: 5.887 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/0.64, allocations: 11.97 kB / 0.6256 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.381e-06/0.64, allocations: 0 / 0.6256 GB, free: 5.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.64, allocations: 4 kB / 0.6256 GB, free: 5.871 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003118/0.6431, allocations: 2.433 MB / 0.628 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.56e-06/0.6431, allocations: 64 / 0.628 GB, free: 3.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.6434, allocations: 67.91 kB / 0.628 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.6435, allocations: 7.938 kB / 0.628 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.6435, allocations: 15.92 kB / 0.6281 GB, free: 3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.6435, allocations: 4 kB / 0.6281 GB, free: 2.996 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.379e-06/0.6435, allocations: 4 kB / 0.6281 GB, free: 2.992 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/0.6444, allocations: 0.6277 MB / 0.6287 GB, free: 2.328 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.6445, allocations: 132.5 kB / 0.6288 GB, free: 2.18 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.6446, allocations: 15.84 kB / 0.6288 GB, free: 2.164 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004369/0.6451, allocations: 19.97 kB / 0.6288 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.6452, allocations: 23.97 kB / 0.6289 GB, free: 2.121 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.6452, allocations: 23.98 kB / 0.6289 GB, free: 2.098 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004379/0.6457, allocations: 363.1 kB / 0.6292 GB, free: 1.742 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6457, allocations: 0 / 0.6292 GB, free: 1.742 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001212/0.6469, allocations: 383.6 kB / 0.6296 GB, free: 1.367 MB / 494.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 (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.001513/0.6484, allocations: 0.5871 MB / 0.6302 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0009568/0.6494, allocations: 482.3 kB / 0.6306 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.6494, allocations: 0.75 kB / 0.6306 GB, free: 296 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/0.6497, allocations: 171.8 kB / 0.6308 GB, free: 124 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1781/0.8279, allocations: 272.2 kB / 0.6311 GB, free: 162.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00134/0.8292, allocations: 0.7942 MB / 0.6318 GB, free: 162.6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.8296, allocations: 0.8346 MB / 0.6326 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005568/0.8302, allocations: 119.5 kB / 0.6328 GB, free: 161.9 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001178/0.8303, allocations: 47.95 kB / 0.6328 GB, free: 161.9 MB / 494.1 MB Notification: Performance of SimCode: time 1.623e-06/0.8303, allocations: 0 / 0.6328 GB, free: 161.9 MB / 494.1 MB Notification: Performance of Templates: time 0.02427/0.8546, allocations: 15.98 MB / 0.6484 GB, free: 160.5 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.pipe 2>&1)