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.01051/0.01051, allocations: 175.4 kB / 15.12 MB, free: 5.969 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.857/1.857, allocations: 194.5 MB / 210.3 MB, free: 7.609 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.001758/0.001758, allocations: 128.5 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2446/0.2446, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004461/0.0004464, allocations: 11.2 kB / 406.2 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1471, allocations: 54.88 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.541/8.688, allocations: 3.63 GB / 4.08 GB, free: 5.32 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/8.689, allocations: 86.08 kB / 4.08 GB, free: 5.273 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.145/9.834, allocations: 304.8 MB / 4.378 GB, free: 94.86 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.085e-06/9.834, allocations: 0 / 4.378 GB, free: 94.86 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.267e-05/9.834, allocations: 11.94 kB / 4.378 GB, free: 94.84 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.006125/9.84, allocations: 1.633 MB / 4.38 GB, free: 93.15 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/9.84, allocations: 8.031 kB / 4.38 GB, free: 93.14 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004089/9.841, allocations: 63.38 kB / 4.38 GB, free: 93.08 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008284/9.841, allocations: 402 kB / 4.38 GB, free: 92.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/9.841, allocations: 29 kB / 4.38 GB, free: 92.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.674e-05/9.842, allocations: 36 kB / 4.38 GB, free: 92.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008749/9.842, allocations: 0.5099 MB / 4.381 GB, free: 92.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/9.842, allocations: 4 kB / 4.381 GB, free: 92.05 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/9.843, allocations: 16 kB / 4.381 GB, free: 92.04 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/9.843, allocations: 8 kB / 4.381 GB, free: 92.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007804/9.843, allocations: 499 kB / 4.381 GB, free: 91.55 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002623/9.846, allocations: 2.035 MB / 4.383 GB, free: 89.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005549/9.847, allocations: 395.2 kB / 4.383 GB, free: 88.94 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007303/9.847, allocations: 0.9532 MB / 4.384 GB, free: 87.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.799e-05/9.847, allocations: 38.56 kB / 4.384 GB, free: 87.74 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 1.993e-06/9.847, allocations: 0 / 4.384 GB, free: 87.74 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008754/9.848, allocations: 402.7 kB / 4.385 GB, free: 87.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.516e-05/9.848, allocations: 106.8 kB / 4.385 GB, free: 87.21 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/9.849, allocations: 275.6 kB / 4.385 GB, free: 86.93 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.07e-05/9.849, allocations: 29.7 kB / 4.385 GB, free: 86.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001325/9.849, allocations: 243.6 kB / 4.385 GB, free: 86.66 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.587e-05/9.849, allocations: 113.5 kB / 4.386 GB, free: 86.55 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/9.849, allocations: 4 kB / 4.386 GB, free: 86.54 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.999e-05/9.849, allocations: 346.8 kB / 4.386 GB, free: 86.2 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/9.849, allocations: 128.8 kB / 4.386 GB, free: 86.07 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003162/9.85, allocations: 299 kB / 4.386 GB, free: 85.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003481/9.85, allocations: 240.7 kB / 4.386 GB, free: 85.46 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/9.85, allocations: 4 kB / 4.386 GB, free: 85.45 MB / 490.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000903/9.851, allocations: 0.5509 MB / 4.387 GB, free: 84.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.901e-05/9.851, allocations: 62.38 kB / 4.387 GB, free: 84.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/9.851, allocations: 8 kB / 4.387 GB, free: 84.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.576e-05/9.851, allocations: 11.84 kB / 4.387 GB, free: 84.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003815/9.851, allocations: 103.8 kB / 4.387 GB, free: 84.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/9.851, allocations: 15.03 kB / 4.387 GB, free: 84.69 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/9.852, allocations: 59.56 kB / 4.387 GB, free: 84.63 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.702e-05/9.852, allocations: 24 kB / 4.387 GB, free: 84.61 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 () * Number of clocked 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.0002361/9.852, allocations: 196 kB / 4.387 GB, free: 84.41 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/9.852, allocations: 31.62 kB / 4.388 GB, free: 84.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/9.853, allocations: 439 kB / 4.388 GB, free: 83.95 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/9.853, allocations: 4 kB / 4.388 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.769e-06/9.853, allocations: 0 / 4.388 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/9.853, allocations: 3.984 kB / 4.388 GB, free: 83.94 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/9.855, allocations: 1.039 MB / 4.389 GB, free: 82.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/9.855, allocations: 4 kB / 4.389 GB, free: 82.81 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/9.855, allocations: 50.91 kB / 4.389 GB, free: 82.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/9.855, allocations: 4 kB / 4.389 GB, free: 82.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/9.855, allocations: 8 kB / 4.389 GB, free: 82.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.292e-06/9.855, allocations: 11.89 kB / 4.389 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/9.855, allocations: 0 / 4.389 GB, free: 82.74 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006522/9.856, allocations: 0.6434 MB / 4.39 GB, free: 82.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/9.856, allocations: 142.5 kB / 4.39 GB, free: 81.87 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.747e-05/9.856, allocations: 4 kB / 4.39 GB, free: 81.87 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003281/9.856, allocations: 22.42 kB / 4.39 GB, free: 81.85 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/9.856, allocations: 19.97 kB / 4.39 GB, free: 81.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/9.856, allocations: 8 kB / 4.39 GB, free: 81.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0002314/9.856, allocations: 267.1 kB / 4.39 GB, free: 81.56 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/9.857, allocations: 2.906 kB / 4.39 GB, free: 81.56 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001955/9.858, allocations: 471.2 kB / 4.391 GB, free: 81.1 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 () * Number of clocked 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.00288/9.861, allocations: 1.229 MB / 4.392 GB, free: 80 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007166/9.862, allocations: 421.4 kB / 4.392 GB, free: 79.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/9.862, allocations: 3.281 kB / 4.392 GB, free: 79.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001981/9.862, allocations: 115.8 kB / 4.392 GB, free: 79.46 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008072/9.863, allocations: 151.5 kB / 4.392 GB, free: 79.31 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001566/9.865, allocations: 1.044 MB / 4.393 GB, free: 78.23 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/9.865, allocations: 0.8383 MB / 4.394 GB, free: 77.37 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0004334/9.865, allocations: 107.7 kB / 4.394 GB, free: 77.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001223/9.866, allocations: 39.44 kB / 4.394 GB, free: 77.24 MB / 490.7 MB Notification: Performance of SimCode: time 3.01e-07/9.866, allocations: 3.938 kB / 4.394 GB, free: 77.23 MB / 490.7 MB Notification: Performance of Templates: time 0.02691/9.893, allocations: 20.92 MB / 4.415 GB, free: 56.45 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)