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.0009634/0.0009634, allocations: 169.9 kB / 12.72 MB, free: 2.594 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.175/1.175, allocations: 170.6 MB / 183.8 MB, free: 11.42 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.001614/0.001614, allocations: 110.8 kB / 223.2 MB, free: 4.043 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.1609/0.1609, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.392e-05, allocations: 0 / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07982/0.07987, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.613/7.693, allocations: 3.623 GB / 4.019 GB, free: 54.79 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002028/7.693, allocations: 80.02 kB / 4.019 GB, free: 54.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.221/8.914, allocations: 302.5 MB / 4.315 GB, free: 67.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.252e-06/8.914, allocations: 1.812 kB / 4.315 GB, free: 67.29 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.505e-05/8.914, allocations: 7.688 kB / 4.315 GB, free: 67.29 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.005485/8.92, allocations: 1.588 MB / 4.316 GB, free: 66.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/8.92, allocations: 10.72 kB / 4.316 GB, free: 66.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000317/8.92, allocations: 59.53 kB / 4.316 GB, free: 66.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000673/8.921, allocations: 409.7 kB / 4.317 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.207e-05/8.921, allocations: 28.5 kB / 4.317 GB, free: 65.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/8.921, allocations: 36.08 kB / 4.317 GB, free: 65.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007652/8.922, allocations: 498.2 kB / 4.317 GB, free: 65.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/8.922, allocations: 3.75 kB / 4.317 GB, free: 65.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.811e-05/8.922, allocations: 14.88 kB / 4.317 GB, free: 65.81 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/8.922, allocations: 11.47 kB / 4.317 GB, free: 65.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/8.923, allocations: 451 kB / 4.318 GB, free: 65.8 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/8.925, allocations: 1.937 MB / 4.32 GB, free: 64.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004502/8.925, allocations: 356.9 kB / 4.32 GB, free: 64.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001729/8.926, allocations: 127.7 kB / 4.32 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/8.926, allocations: 0.967 MB / 4.321 GB, free: 63.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/8.926, allocations: 38.28 kB / 4.321 GB, free: 63.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 1.644e-06/8.926, allocations: 0 / 4.321 GB, free: 63.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005212/8.927, allocations: 272.7 kB / 4.321 GB, free: 63.34 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/8.927, allocations: 106.7 kB / 4.322 GB, free: 63.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/8.927, allocations: 266.7 kB / 4.322 GB, free: 63.11 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.899e-05/8.927, allocations: 31.02 kB / 4.322 GB, free: 63.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001299/8.927, allocations: 253.7 kB / 4.322 GB, free: 62.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/8.927, allocations: 97.61 kB / 4.322 GB, free: 62.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/8.927, allocations: 7.969 kB / 4.322 GB, free: 62.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.763e-05/8.928, allocations: 345.8 kB / 4.323 GB, free: 62.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/8.928, allocations: 106.5 kB / 4.323 GB, free: 62.44 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/8.928, allocations: 284 kB / 4.323 GB, free: 62.17 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/8.928, allocations: 204.9 kB / 4.323 GB, free: 62.06 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/8.928, allocations: 2.562 kB / 4.323 GB, free: 62.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0006681/8.929, allocations: 0.5062 MB / 4.324 GB, free: 61.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/8.929, allocations: 69.19 kB / 4.324 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/8.929, allocations: 14.98 kB / 4.324 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.051e-05/8.929, allocations: 7.812 kB / 4.324 GB, free: 61.75 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003484/8.929, allocations: 109.6 kB / 4.324 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/8.929, allocations: 15.38 kB / 4.324 GB, free: 61.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/8.93, allocations: 66.02 kB / 4.324 GB, free: 61.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.191e-05/8.93, allocations: 26.72 kB / 4.324 GB, free: 61.69 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 9.689e-05/8.93, allocations: 132.6 kB / 4.324 GB, free: 61.56 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/8.93, allocations: 31.06 kB / 4.324 GB, free: 61.55 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/8.931, allocations: 396.5 kB / 4.324 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/8.931, allocations: 7.578 kB / 4.324 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/8.931, allocations: 3.969 kB / 4.324 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/8.931, allocations: 3.656 kB / 4.324 GB, free: 61.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001034/8.932, allocations: 1.01 MB / 4.325 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/8.932, allocations: 3.312 kB / 4.325 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002038/8.932, allocations: 51.06 kB / 4.325 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/8.932, allocations: 3.469 kB / 4.325 GB, free: 60.59 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/8.932, allocations: 6.781 kB / 4.325 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/8.932, allocations: 3.219 kB / 4.325 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/8.932, allocations: 7.266 kB / 4.325 GB, free: 60.58 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004066/8.932, allocations: 0.6068 MB / 4.326 GB, free: 60.03 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/8.933, allocations: 126.4 kB / 4.326 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.747e-05/8.933, allocations: 7.5 kB / 4.326 GB, free: 59.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/8.933, allocations: 19.2 kB / 4.326 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.841e-05/8.933, allocations: 28.28 kB / 4.326 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.736e-05/8.933, allocations: 17.52 kB / 4.326 GB, free: 59.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002281/8.933, allocations: 250.8 kB / 4.327 GB, free: 59.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.41e-07/8.933, allocations: 0 / 4.327 GB, free: 59.76 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001916/8.935, allocations: 468.4 kB / 4.327 GB, free: 59.61 MB / 426.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.002189/8.937, allocations: 1.236 MB / 4.328 GB, free: 59.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005289/8.938, allocations: 387.4 kB / 4.329 GB, free: 59.07 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/8.938, allocations: 3.688 kB / 4.329 GB, free: 59.07 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001671/8.938, allocations: 98.73 kB / 4.329 GB, free: 59.04 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008165/8.939, allocations: 155.9 kB / 4.329 GB, free: 59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/8.94, allocations: 0.6433 MB / 4.329 GB, free: 58.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00027/8.941, allocations: 0.8406 MB / 4.33 GB, free: 57.98 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0003701/8.941, allocations: 105.9 kB / 4.33 GB, free: 57.96 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.87e-05/8.941, allocations: 40.94 kB / 4.33 GB, free: 57.95 MB / 426.7 MB Notification: Performance of SimCode: time 3.7e-07/8.941, allocations: 0 / 4.33 GB, free: 57.95 MB / 426.7 MB Notification: Performance of Templates: time 0.02915/8.97, allocations: 23.28 MB / 4.353 GB, free: 38.16 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)