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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001456, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001438/0.001438, allocations: 192.6 kB / 16.13 MB, free: 6.656 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.82/1.82, allocations: 205.1 MB / 222 MB, free: 4.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.3625/0.3625, allocations: 39.93 MB / 309.3 MB, free: 9.66 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.2. 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.001359/0.001359, allocations: 69.94 kB / 376.9 MB, free: 13.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1317, allocations: 56.89 MB / 433.8 MB, free: 4.406 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4359/0.5676, allocations: 185.1 MB / 0.6044 GB, free: 10.94 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.5699, allocations: 0.928 MB / 0.6053 GB, free: 10.01 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003406/0.5704, allocations: 7.938 kB / 0.6053 GB, free: 10 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007478/0.5711, allocations: 183 kB / 0.6055 GB, free: 9.824 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005652/0.5717, allocations: 262.6 kB / 0.6058 GB, free: 9.566 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006378/0.5781, allocations: 1.853 MB / 0.6076 GB, free: 7.719 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001704/0.5798, allocations: 1.291 MB / 0.6088 GB, free: 6.426 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005056/0.5803, allocations: 287.5 kB / 0.6091 GB, free: 6.148 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004271/0.5846, allocations: 1.562 MB / 0.6106 GB, free: 4.586 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007164/0.5853, allocations: 326.8 kB / 0.6109 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.837e-05/0.5854, allocations: 24 kB / 0.611 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.591, allocations: 2.987 MB / 0.6139 GB, free: 1.25 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003163/0.5913, allocations: 175.5 kB / 0.6141 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004024/0.5917, allocations: 242.8 kB / 0.6143 GB, free: 0.8398 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005005/0.5967, allocations: 2.151 MB / 0.6164 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.022e-06/0.5968, allocations: 0 / 0.6164 GB, free: 14.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.5968, allocations: 0 / 0.6164 GB, free: 14.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.246e-06/0.5968, allocations: 0 / 0.6164 GB, free: 14.68 MB / 494.1 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.002429/0.5992, allocations: 1.063 MB / 0.6174 GB, free: 13.56 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.5993, allocations: 8.031 kB / 0.6174 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003344/0.5996, allocations: 59.42 kB / 0.6175 GB, free: 13.5 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.6002, allocations: 361.9 kB / 0.6178 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.6002, allocations: 33 kB / 0.6179 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.839e-05/0.6003, allocations: 40 kB / 0.6179 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009427/0.6013, allocations: 0.5189 MB / 0.6184 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.6013, allocations: 0 / 0.6184 GB, free: 12.49 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.6013, allocations: 16 kB / 0.6184 GB, free: 12.47 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.6014, allocations: 12 kB / 0.6184 GB, free: 12.46 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008638/0.6022, allocations: 499.5 kB / 0.6189 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002745/0.605, allocations: 1.973 MB / 0.6208 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008053/0.6058, allocations: 468.6 kB / 0.6213 GB, free: 9.355 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/0.6061, allocations: 178.5 kB / 0.6215 GB, free: 9.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001026/0.6072, allocations: 0.9533 MB / 0.6224 GB, free: 8.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.684e-05/0.6072, allocations: 46.5 kB / 0.6224 GB, free: 7.961 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.525e-06/0.6073, allocations: 3.938 kB / 0.6224 GB, free: 7.957 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.00119/0.6085, allocations: 495.7 kB / 0.6229 GB, free: 7.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.6085, allocations: 106.8 kB / 0.623 GB, free: 7.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004654/0.609, allocations: 405.6 kB / 0.6234 GB, free: 6.938 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.099e-05/0.6091, allocations: 33.7 kB / 0.6234 GB, free: 6.898 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.6093, allocations: 216.2 kB / 0.6236 GB, free: 6.684 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.347e-05/0.6093, allocations: 102.5 kB / 0.6237 GB, free: 6.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.6095, allocations: 81.97 kB / 0.6238 GB, free: 6.496 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001586/0.6097, allocations: 350.8 kB / 0.6241 GB, free: 6.145 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003192/0.61, allocations: 148.6 kB / 0.6243 GB, free: 6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003785/0.6104, allocations: 266 kB / 0.6245 GB, free: 5.695 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007799/0.6112, allocations: 480 kB / 0.625 GB, free: 5.168 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.6112, allocations: 4 kB / 0.625 GB, free: 5.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001153/0.6124, allocations: 0.5581 MB / 0.6255 GB, free: 4.59 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.6124, allocations: 59.41 kB / 0.6256 GB, free: 4.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6125, allocations: 4 kB / 0.6256 GB, free: 4.516 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.651e-05/0.6125, allocations: 4 kB / 0.6256 GB, free: 4.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.613, allocations: 92.19 kB / 0.6257 GB, free: 4.422 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.962e-05/0.613, allocations: 8 kB / 0.6257 GB, free: 4.414 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005372/0.6135, allocations: 55.42 kB / 0.6258 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.698e-05/0.6136, allocations: 23.98 kB / 0.6258 GB, free: 4.336 MB / 494.1 MB 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.0004135/0.614, allocations: 189.6 kB / 0.626 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001905/0.6142, allocations: 47.52 kB / 0.626 GB, free: 4.094 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.6154, allocations: 480.8 kB / 0.6265 GB, free: 3.617 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.6154, allocations: 4 kB / 0.6265 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.6154, allocations: 4 kB / 0.6265 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.6154, allocations: 3.984 kB / 0.6265 GB, free: 3.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/0.619, allocations: 2.434 MB / 0.6289 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.714e-06/0.6191, allocations: 11.94 kB / 0.6289 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002858/0.6194, allocations: 59.91 kB / 0.6289 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/0.6194, allocations: 8.188 kB / 0.6289 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/0.6194, allocations: 11.94 kB / 0.6289 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.6194, allocations: 4 kB / 0.6289 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.6194, allocations: 4 kB / 0.629 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008355/0.6203, allocations: 0.6387 MB / 0.6296 GB, free: 56 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2416/0.8619, allocations: 121.1 kB / 0.6297 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001577/0.8621, allocations: 19.69 kB / 0.6297 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005625/0.8627, allocations: 28.97 kB / 0.6297 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-05/0.8628, allocations: 22.36 kB / 0.6298 GB, free: 160.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.8628, allocations: 24.67 kB / 0.6298 GB, free: 160.9 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003942/0.8632, allocations: 362 kB / 0.6301 GB, free: 160.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8632, allocations: 3.094 kB / 0.6301 GB, free: 160.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001254/0.8645, allocations: 371.4 kB / 0.6305 GB, free: 160.8 MB / 494.1 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 (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.001362/0.8659, allocations: 0.5775 MB / 0.631 GB, free: 160.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008479/0.8667, allocations: 466.4 kB / 0.6315 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.8667, allocations: 2.812 kB / 0.6315 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002991/0.867, allocations: 169.6 kB / 0.6317 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001467/0.8685, allocations: 277.7 kB / 0.6319 GB, free: 160.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001337/0.8699, allocations: 0.9292 MB / 0.6328 GB, free: 160.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.8702, allocations: 0.8344 MB / 0.6336 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004827/0.8707, allocations: 114.8 kB / 0.6338 GB, free: 159.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.8708, allocations: 45.73 kB / 0.6338 GB, free: 159.4 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8708, allocations: 3.062 kB / 0.6338 GB, free: 159.4 MB / 494.1 MB Notification: Performance of Templates: time 0.02397/0.8948, allocations: 15.53 MB / 0.649 GB, free: 158.1 MB / 494.1 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)