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.009886/0.009886, allocations: 100.2 kB / 15.73 MB, free: 6.48 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.001584/0.001584, allocations: 195.8 kB / 16.67 MB, free: 6.379 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.732/1.732, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.3642/0.3642, allocations: 38 MB / 307.9 MB, free: 10.16 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.001705/0.001705, allocations: 59.91 kB / 433 MB, free: 5.434 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3462, allocations: 56.47 MB / 489.5 MB, free: 19.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.5951/0.9414, allocations: 186.3 MB / 0.6599 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.9437, allocations: 0.8865 MB / 0.6608 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.9441, allocations: 10.28 kB / 0.6608 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007208/0.9449, allocations: 209.5 kB / 0.661 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005945/0.9455, allocations: 284.5 kB / 0.6612 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007625/0.9531, allocations: 2.147 MB / 0.6633 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001755/0.9549, allocations: 0.9755 MB / 0.6643 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006984/0.9556, allocations: 337.9 kB / 0.6646 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005665/0.9613, allocations: 1.692 MB / 0.6663 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001006/0.9623, allocations: 319.7 kB / 0.6666 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.9625, allocations: 47 kB / 0.6666 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00711/0.9696, allocations: 2.942 MB / 0.6695 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004307/0.97, allocations: 195.3 kB / 0.6697 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006019/0.9707, allocations: 271.5 kB / 0.6699 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.006703/0.9774, allocations: 2.117 MB / 0.672 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.9774, allocations: 1.688 kB / 0.672 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.9774, allocations: 0 / 0.672 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.416e-05/0.9774, allocations: 0.5625 kB / 0.672 GB, free: 1.215 MB / 0.4981 GB 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.00304/0.9805, allocations: 1.061 MB / 0.673 GB, free: 16.52 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.9806, allocations: 17.64 kB / 0.6731 GB, free: 16.51 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003683/0.9809, allocations: 60.03 kB / 0.6731 GB, free: 16.48 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006896/0.9816, allocations: 377 kB / 0.6735 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.374e-05/0.9817, allocations: 31.59 kB / 0.6735 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.9818, allocations: 36.16 kB / 0.6735 GB, free: 16.25 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.9829, allocations: 0.5206 MB / 0.6741 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.336e-05/0.983, allocations: 0.8438 kB / 0.6741 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.992e-05/0.983, allocations: 16.09 kB / 0.6741 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.9831, allocations: 17.03 kB / 0.6741 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009507/0.984, allocations: 495.9 kB / 0.6746 GB, free: 16.14 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003184/0.9872, allocations: 1.966 MB / 0.6765 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007992/0.988, allocations: 462.2 kB / 0.6769 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.9884, allocations: 178.6 kB / 0.6771 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009771/0.9894, allocations: 0.9491 MB / 0.678 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.588e-05/0.9895, allocations: 40.03 kB / 0.6781 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=30): time 2.385e-06/0.9895, allocations: 0 / 0.6781 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of matching and sorting (n=30): time 0.001289/0.9908, allocations: 0.4982 MB / 0.6785 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.539e-05/0.9909, allocations: 107.4 kB / 0.6786 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000565/0.9915, allocations: 401.5 kB / 0.679 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.501e-05/0.9916, allocations: 33.8 kB / 0.6791 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/0.9917, allocations: 219 kB / 0.6793 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 8.771e-05/0.9918, allocations: 106.5 kB / 0.6794 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001731/0.992, allocations: 75.75 kB / 0.6794 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001819/0.9922, allocations: 350.1 kB / 0.6798 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003361/0.9925, allocations: 151.9 kB / 0.6799 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.993, allocations: 258.7 kB / 0.6802 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007693/0.9937, allocations: 484.2 kB / 0.6806 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.9938, allocations: 1.844 kB / 0.6806 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009869/0.9948, allocations: 0.5507 MB / 0.6812 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 6.157e-05/0.9948, allocations: 61.38 kB / 0.6812 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.83e-05/0.9949, allocations: 8.656 kB / 0.6812 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.9949, allocations: 6.375 kB / 0.6812 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004058/0.9953, allocations: 81.52 kB / 0.6813 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.9953, allocations: 9.625 kB / 0.6813 GB, free: 12.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/0.9957, allocations: 57.59 kB / 0.6814 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.063e-05/0.9958, allocations: 23.36 kB / 0.6814 GB, free: 12.32 MB / 0.5137 GB 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.0002607/0.9961, allocations: 182.4 kB / 0.6816 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.9962, allocations: 44.16 kB / 0.6816 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/0.9973, allocations: 489.6 kB / 0.6821 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.9973, allocations: 5.469 kB / 0.6821 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.717e-06/0.9973, allocations: 4.969 kB / 0.6821 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.9973, allocations: 0 / 0.6821 GB, free: 12.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003174/1, allocations: 2.446 MB / 0.6845 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/1.001, allocations: 3.344 kB / 0.6845 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/1.001, allocations: 57.88 kB / 0.6845 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/1.001, allocations: 5.75 kB / 0.6846 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/1.001, allocations: 7.281 kB / 0.6846 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.787e-06/1.001, allocations: 7.469 kB / 0.6846 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/1.001, allocations: 7.969 kB / 0.6846 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000827/1.002, allocations: 0.6401 MB / 0.6852 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.002, allocations: 122.9 kB / 0.6853 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.579e-05/1.002, allocations: 12.86 kB / 0.6853 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004207/1.002, allocations: 22.89 kB / 0.6853 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.897e-05/1.002, allocations: 32.36 kB / 0.6854 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/1.002, allocations: 23.02 kB / 0.6854 GB, free: 9.715 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0004107/1.003, allocations: 363.5 kB / 0.6857 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/1.003, allocations: 0 / 0.6857 GB, free: 9.629 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001413/1.004, allocations: 378.2 kB / 0.6861 GB, free: 9.566 MB / 0.5137 GB 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.001376/1.006, allocations: 0.5776 MB / 0.6867 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0008034/1.007, allocations: 470.3 kB / 0.6871 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.007, allocations: 0 / 0.6871 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002859/1.007, allocations: 167.4 kB / 0.6873 GB, free: 9.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001471/1.008, allocations: 289.9 kB / 0.6876 GB, free: 9.219 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.01, allocations: 0.7876 MB / 0.6883 GB, free: 8.836 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/1.01, allocations: 0.8392 MB / 0.6891 GB, free: 8.141 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004359/1.011, allocations: 118.3 kB / 0.6893 GB, free: 8.121 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/1.011, allocations: 46.66 kB / 0.6893 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/1.011, allocations: 0.8125 kB / 0.6893 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of Templates: time 0.02468/1.035, allocations: 16.19 MB / 0.7051 GB, free: 1.223 MB / 0.5137 GB 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)