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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00147/0.00147, allocations: 156.2 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.432/1.432, allocations: 170.7 MB / 178.7 MB, free: 7.047 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001637/0.001638, allocations: 102.5 kB / 218 MB, free: 15.33 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.2317/0.2317, allocations: 37.98 MB / 295.1 MB, free: 2.082 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.976e-05/1.979e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3525/0.3525, allocations: 48.69 MB / 398.7 MB, free: 6.055 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.022/9.375, allocations: 3.623 GB / 4.012 GB, free: 64 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003457/9.375, allocations: 87.02 kB / 4.012 GB, free: 63.95 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.386/10.76, allocations: 299.4 MB / 4.304 GB, free: 65.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/10.76, allocations: 0 / 4.304 GB, free: 65.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.642e-05/10.76, allocations: 12.47 kB / 4.304 GB, free: 65.77 MB / 426.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.006464/10.77, allocations: 1.596 MB / 4.306 GB, free: 64.76 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/10.77, allocations: 9.031 kB / 4.306 GB, free: 64.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004788/10.77, allocations: 51.5 kB / 4.306 GB, free: 64.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000936/10.77, allocations: 405 kB / 4.306 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.058e-05/10.77, allocations: 13.98 kB / 4.306 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/10.77, allocations: 26.38 kB / 4.306 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000808/10.77, allocations: 429.9 kB / 4.307 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/10.77, allocations: 429.2 kB / 4.307 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/10.77, allocations: 0 / 4.307 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.941e-05/10.77, allocations: 3.406 kB / 4.307 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/10.77, allocations: 10.48 kB / 4.307 GB, free: 64.38 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003488/10.77, allocations: 2.716 MB / 4.31 GB, free: 62.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006981/10.78, allocations: 319.7 kB / 4.31 GB, free: 62.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001392/10.78, allocations: 91.94 kB / 4.31 GB, free: 62.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001711/10.78, allocations: 105.6 kB / 4.31 GB, free: 62.07 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/10.78, allocations: 33.81 kB / 4.31 GB, free: 62.03 MB / 426.7 MB Notification: Performance of pre-optimization done (n=20): time 2.284e-06/10.78, allocations: 0 / 4.31 GB, free: 62.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=20): time 0.0005805/10.78, allocations: 241.2 kB / 4.311 GB, free: 61.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/10.78, allocations: 104.6 kB / 4.311 GB, free: 61.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003283/10.78, allocations: 287.8 kB / 4.311 GB, free: 61.73 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/10.78, allocations: 29.64 kB / 4.311 GB, free: 61.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/10.78, allocations: 274.1 kB / 4.311 GB, free: 61.53 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.153e-05/10.78, allocations: 70.78 kB / 4.311 GB, free: 61.48 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.085e-05/10.78, allocations: 3.938 kB / 4.311 GB, free: 61.48 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.227e-05/10.78, allocations: 344.9 kB / 4.312 GB, free: 61.17 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/10.78, allocations: 93.28 kB / 4.312 GB, free: 61.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/10.78, allocations: 276.3 kB / 4.312 GB, free: 60.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006646/10.78, allocations: 230.8 kB / 4.312 GB, free: 60.93 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/10.78, allocations: 7.562 kB / 4.312 GB, free: 60.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00106/10.78, allocations: 492.5 kB / 4.313 GB, free: 60.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.06e-05/10.78, allocations: 63.78 kB / 4.313 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/10.78, allocations: 10.78 kB / 4.313 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/10.78, allocations: 9.219 kB / 4.313 GB, free: 60.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/10.78, allocations: 103.2 kB / 4.313 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/10.78, allocations: 11.2 kB / 4.313 GB, free: 60.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004213/10.78, allocations: 60.7 kB / 4.313 GB, free: 60.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.143e-05/10.78, allocations: 32.34 kB / 4.313 GB, free: 60.75 MB / 426.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.0001112/10.78, allocations: 116.7 kB / 4.313 GB, free: 60.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/10.78, allocations: 35.16 kB / 4.313 GB, free: 60.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005782/10.78, allocations: 271.5 kB / 4.313 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/10.78, allocations: 3.938 kB / 4.314 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/10.78, allocations: 0 / 4.314 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/10.78, allocations: 0 / 4.314 GB, free: 60.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001231/10.78, allocations: 1.004 MB / 4.314 GB, free: 59.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/10.78, allocations: 7.516 kB / 4.314 GB, free: 59.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/10.78, allocations: 48.05 kB / 4.315 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.835e-06/10.78, allocations: 5.469 kB / 4.315 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/10.78, allocations: 4 kB / 4.315 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/10.78, allocations: 14.25 kB / 4.315 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/10.78, allocations: 3.5 kB / 4.315 GB, free: 59.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006012/10.78, allocations: 0.7044 MB / 4.315 GB, free: 59.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/10.78, allocations: 125.3 kB / 4.315 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/10.78, allocations: 3.625 kB / 4.315 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/10.78, allocations: 13.64 kB / 4.315 GB, free: 59.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.946e-05/10.78, allocations: 31.44 kB / 4.315 GB, free: 59.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.452e-05/10.78, allocations: 10.22 kB / 4.315 GB, free: 59.18 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002034/10.78, allocations: 222.5 kB / 4.316 GB, free: 59.1 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.71e-07/10.78, allocations: 0 / 4.316 GB, free: 59.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001959/10.79, allocations: 431.7 kB / 4.316 GB, free: 59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.003755/10.79, allocations: 1.36 MB / 4.317 GB, free: 58.72 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005323/10.79, allocations: 343.3 kB / 4.318 GB, free: 58.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/10.79, allocations: 3.094 kB / 4.318 GB, free: 58.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/10.79, allocations: 87.28 kB / 4.318 GB, free: 58.57 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/10.79, allocations: 148.8 kB / 4.318 GB, free: 58.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/10.79, allocations: 0.5619 MB / 4.318 GB, free: 58.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/10.79, allocations: 0.832 MB / 4.319 GB, free: 57.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004403/10.79, allocations: 97.39 kB / 4.319 GB, free: 57.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/10.79, allocations: 32.88 kB / 4.319 GB, free: 57.56 MB / 426.7 MB Notification: Performance of SimCode: time 3.51e-07/10.79, allocations: 0 / 4.319 GB, free: 57.56 MB / 426.7 MB Notification: Performance of Templates: time 0.02602/10.82, allocations: 14.5 MB / 4.334 GB, free: 56.25 MB / 426.7 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)