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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001559/0.001559, allocations: 181.8 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.405/1.405, allocations: 194.3 MB / 207.5 MB, free: 3.453 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001703/0.001703, allocations: 113.7 kB / 252.6 MB, free: 4.797 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1975/0.1975, allocations: 39.92 MB / 337.5 MB, free: 500 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.949e-05/2.964e-05, allocations: 4 kB / 400.3 MB, free: 69.87 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09526/0.09531, allocations: 54.85 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.767/8.862, allocations: 3.63 GB / 4.074 GB, free: 23.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002339/8.862, allocations: 83.7 kB / 4.074 GB, free: 23.55 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.376/10.24, allocations: 304.2 MB / 4.372 GB, free: 95.65 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/10.24, allocations: 0 / 4.372 GB, free: 95.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.922e-05/10.24, allocations: 9.062 kB / 4.372 GB, free: 95.65 MB / 490.7 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.005569/10.24, allocations: 1.587 MB / 4.373 GB, free: 94.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/10.24, allocations: 9.031 kB / 4.373 GB, free: 94.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002899/10.24, allocations: 56.27 kB / 4.373 GB, free: 94.52 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006609/10.24, allocations: 411.6 kB / 4.374 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/10.25, allocations: 29.16 kB / 4.374 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.865e-05/10.25, allocations: 34.62 kB / 4.374 GB, free: 94.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000764/10.25, allocations: 487.2 kB / 4.374 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/10.25, allocations: 3.062 kB / 4.374 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.899e-05/10.25, allocations: 14.84 kB / 4.374 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/10.25, allocations: 10.34 kB / 4.374 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006518/10.25, allocations: 450.5 kB / 4.375 GB, free: 94.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002374/10.25, allocations: 2.044 MB / 4.377 GB, free: 92.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005244/10.25, allocations: 359.2 kB / 4.377 GB, free: 92.73 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/10.25, allocations: 126.2 kB / 4.377 GB, free: 92.71 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007761/10.25, allocations: 0.9644 MB / 4.378 GB, free: 91.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/10.25, allocations: 33.69 kB / 4.378 GB, free: 91.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 3.517e-06/10.25, allocations: 3.156 kB / 4.378 GB, free: 91.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005274/10.25, allocations: 271.6 kB / 4.378 GB, free: 91.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/10.25, allocations: 105.5 kB / 4.378 GB, free: 91.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002572/10.25, allocations: 273.1 kB / 4.379 GB, free: 91.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/10.25, allocations: 33.14 kB / 4.379 GB, free: 91.31 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001361/10.25, allocations: 248.1 kB / 4.379 GB, free: 91.15 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/10.25, allocations: 105.6 kB / 4.379 GB, free: 91.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.062e-05/10.25, allocations: 11.41 kB / 4.379 GB, free: 91.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.378e-05/10.25, allocations: 344.9 kB / 4.379 GB, free: 90.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001677/10.25, allocations: 102.2 kB / 4.379 GB, free: 90.77 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/10.25, allocations: 284.4 kB / 4.38 GB, free: 90.55 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002606/10.25, allocations: 213.7 kB / 4.38 GB, free: 90.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/10.25, allocations: 3.125 kB / 4.38 GB, free: 90.48 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006843/10.25, allocations: 0.5054 MB / 4.38 GB, free: 90.33 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.834e-05/10.25, allocations: 70.97 kB / 4.38 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/10.25, allocations: 3.906 kB / 4.38 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.587e-05/10.25, allocations: 14.03 kB / 4.38 GB, free: 90.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/10.25, allocations: 105.3 kB / 4.381 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/10.25, allocations: 10.91 kB / 4.381 GB, free: 90.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003273/10.25, allocations: 64.09 kB / 4.381 GB, free: 90.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/10.25, allocations: 30.06 kB / 4.381 GB, free: 90.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * 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.0001067/10.25, allocations: 134.6 kB / 4.381 GB, free: 90.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/10.25, allocations: 31.19 kB / 4.381 GB, free: 90.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007084/10.26, allocations: 396.9 kB / 4.381 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/10.26, allocations: 0 / 4.381 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/10.26, allocations: 3.625 kB / 4.381 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/10.26, allocations: 3.797 kB / 4.381 GB, free: 89.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001044/10.26, allocations: 1.011 MB / 4.382 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/10.26, allocations: 6.75 kB / 4.382 GB, free: 89.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/10.26, allocations: 54.34 kB / 4.382 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/10.26, allocations: 3.344 kB / 4.382 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.752e-05/10.26, allocations: 2.656 kB / 4.382 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/10.26, allocations: 3.094 kB / 4.382 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/10.26, allocations: 5.703 kB / 4.382 GB, free: 89.18 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004349/10.26, allocations: 0.61 MB / 4.383 GB, free: 88.63 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/10.26, allocations: 129.9 kB / 4.383 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/10.26, allocations: 11.97 kB / 4.383 GB, free: 88.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003153/10.26, allocations: 21.12 kB / 4.383 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.987e-05/10.26, allocations: 18.38 kB / 4.383 GB, free: 88.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.033e-05/10.26, allocations: 15.03 kB / 4.383 GB, free: 88.49 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000244/10.26, allocations: 258.9 kB / 4.383 GB, free: 88.36 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.51e-07/10.26, allocations: 0 / 4.383 GB, free: 88.36 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00225/10.26, allocations: 467.2 kB / 4.384 GB, free: 88.21 MB / 490.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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.002319/10.26, allocations: 1.225 MB / 4.385 GB, free: 87.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005429/10.26, allocations: 389 kB / 4.385 GB, free: 87.68 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/10.26, allocations: 2.875 kB / 4.385 GB, free: 87.68 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/10.26, allocations: 101.4 kB / 4.385 GB, free: 87.65 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008203/10.26, allocations: 156.4 kB / 4.386 GB, free: 87.62 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/10.27, allocations: 0.6541 MB / 4.386 GB, free: 87.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002949/10.27, allocations: 0.8385 MB / 4.387 GB, free: 86.59 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0003745/10.27, allocations: 91.77 kB / 4.387 GB, free: 86.58 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.023e-05/10.27, allocations: 35.81 kB / 4.387 GB, free: 86.57 MB / 490.7 MB Notification: Performance of SimCode: time 6.31e-07/10.27, allocations: 1.25 kB / 4.387 GB, free: 86.57 MB / 490.7 MB Notification: Performance of Templates: time 0.02999/10.3, allocations: 23.3 MB / 4.41 GB, free: 70.86 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile (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)