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.008368/0.008368, allocations: 165.6 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.548/1.548, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.001726/0.001726, allocations: 115.3 kB / 226.2 MB, free: 10.09 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.3614/0.3614, allocations: 38.05 MB / 303.7 MB, free: 42.51 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 16 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.104/9.233, allocations: 3.623 GB / 4.025 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/9.233, allocations: 90.31 kB / 4.025 GB, free: 130.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8615/10.09, allocations: 303 MB / 4.321 GB, free: 8.852 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/10.09, allocations: 0 / 4.321 GB, free: 8.852 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.507e-05/10.09, allocations: 16 kB / 4.321 GB, free: 8.836 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.005325/10.1, allocations: 1.635 MB / 4.323 GB, free: 7.137 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/10.1, allocations: 8.031 kB / 4.323 GB, free: 7.129 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002687/10.1, allocations: 67.36 kB / 4.323 GB, free: 7.062 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005931/10.1, allocations: 405 kB / 4.323 GB, free: 6.625 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.59e-05/10.1, allocations: 25 kB / 4.323 GB, free: 6.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.166e-05/10.1, allocations: 36 kB / 4.323 GB, free: 6.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007676/10.1, allocations: 0.5037 MB / 4.324 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/10.1, allocations: 0 / 4.324 GB, free: 6.035 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/10.1, allocations: 16 kB / 4.324 GB, free: 6.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/10.1, allocations: 23.92 kB / 4.324 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000685/10.1, allocations: 491.5 kB / 4.324 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/10.1, allocations: 1.943 MB / 4.326 GB, free: 3.445 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004843/10.11, allocations: 384.8 kB / 4.327 GB, free: 3.023 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/10.11, allocations: 0.9572 MB / 4.328 GB, free: 1.863 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/10.11, allocations: 42.56 kB / 4.328 GB, free: 1.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 2.174e-06/10.11, allocations: 0 / 4.328 GB, free: 1.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0007778/10.11, allocations: 393.5 kB / 4.328 GB, free: 1.422 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/10.11, allocations: 110.8 kB / 4.328 GB, free: 1.289 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002188/10.11, allocations: 271.6 kB / 4.328 GB, free: 1.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/10.11, allocations: 33.7 kB / 4.328 GB, free: 0.9805 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/10.11, allocations: 259.2 kB / 4.329 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.161e-05/10.11, allocations: 90.66 kB / 4.329 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.99e-05/10.11, allocations: 12 kB / 4.329 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.238e-05/10.11, allocations: 346.8 kB / 4.329 GB, free: 280 kB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/10.11, allocations: 128.8 kB / 4.329 GB, free: 148 kB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/10.11, allocations: 300.1 kB / 4.329 GB, free: 15.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/10.11, allocations: 240.1 kB / 4.33 GB, free: 15.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/10.11, allocations: 4 kB / 4.33 GB, free: 15.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008887/10.11, allocations: 0.539 MB / 4.33 GB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.262e-05/10.11, allocations: 71.39 kB / 4.33 GB, free: 14.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/10.11, allocations: 4 kB / 4.33 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/10.11, allocations: 12.72 kB / 4.33 GB, free: 14.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/10.11, allocations: 99.83 kB / 4.33 GB, free: 14.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.697e-05/10.11, allocations: 15.92 kB / 4.33 GB, free: 14.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/10.11, allocations: 59.52 kB / 4.33 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.676e-05/10.11, allocations: 24 kB / 4.33 GB, free: 14.66 MB / 442.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.0002298/10.11, allocations: 194.6 kB / 4.331 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.53e-05/10.11, allocations: 43.53 kB / 4.331 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000938/10.11, allocations: 433.1 kB / 4.331 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/10.11, allocations: 4 kB / 4.331 GB, free: 13.97 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/10.11, allocations: 11.92 kB / 4.331 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/10.11, allocations: 0 / 4.331 GB, free: 13.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/10.11, allocations: 1.04 MB / 4.332 GB, free: 12.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/10.11, allocations: 4 kB / 4.332 GB, free: 12.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002331/10.11, allocations: 56.09 kB / 4.332 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/10.11, allocations: 4 kB / 4.332 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/10.11, allocations: 7.953 kB / 4.332 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/10.11, allocations: 7.984 kB / 4.332 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/10.11, allocations: 4.062 kB / 4.332 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007752/10.11, allocations: 0.6466 MB / 4.333 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/10.11, allocations: 116.7 kB / 4.333 GB, free: 11.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/10.11, allocations: 15.98 kB / 4.333 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003116/10.11, allocations: 19.91 kB / 4.333 GB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.047e-05/10.11, allocations: 15.97 kB / 4.333 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/10.11, allocations: 19.95 kB / 4.333 GB, free: 11.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000288/10.12, allocations: 263.1 kB / 4.333 GB, free: 11.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.4e-07/10.12, allocations: 8 kB / 4.333 GB, free: 11.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002112/10.12, allocations: 463.3 kB / 4.334 GB, free: 11.09 MB / 442.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.002487/10.12, allocations: 1.22 MB / 4.335 GB, free: 9.875 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007479/10.12, allocations: 423.3 kB / 4.335 GB, free: 9.438 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/10.12, allocations: 0 / 4.335 GB, free: 9.438 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002207/10.12, allocations: 116.6 kB / 4.335 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008182/10.12, allocations: 167.2 kB / 4.336 GB, free: 9.164 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001662/10.12, allocations: 1.038 MB / 4.337 GB, free: 8.07 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/10.12, allocations: 0.847 MB / 4.337 GB, free: 7.199 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004171/10.12, allocations: 99.45 kB / 4.338 GB, free: 7.102 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.509e-05/10.12, allocations: 35.44 kB / 4.338 GB, free: 7.07 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/10.12, allocations: 0 / 4.338 GB, free: 7.07 MB / 442.7 MB Notification: Performance of Templates: time 0.2775/10.4, allocations: 20.91 MB / 4.358 GB, free: 62.98 MB / 442.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)