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.001377/0.001377, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00177/0.00177, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.497/1.497, allocations: 205.1 MB / 222.1 MB, free: 4.73 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.3061/0.3061, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.002455/0.002455, allocations: 66.62 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1203, allocations: 56.47 MB / 431.2 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4412/0.5615, allocations: 184.1 MB / 0.6009 GB, free: 15.77 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002497/0.5641, allocations: 0.9124 MB / 0.6018 GB, free: 14.86 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006062/0.5647, allocations: 15.88 kB / 0.6018 GB, free: 14.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009205/0.5657, allocations: 179.1 kB / 0.602 GB, free: 14.66 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009545/0.5667, allocations: 270.5 kB / 0.6022 GB, free: 14.4 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006466/0.5732, allocations: 1.961 MB / 0.6042 GB, free: 12.45 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001537/0.5747, allocations: 0.9827 MB / 0.6051 GB, free: 11.46 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005116/0.5752, allocations: 324.1 kB / 0.6054 GB, free: 11.16 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004338/0.5796, allocations: 1.642 MB / 0.607 GB, free: 9.516 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005599/0.5802, allocations: 334.8 kB / 0.6074 GB, free: 9.188 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 8.688e-05/0.5803, allocations: 44 kB / 0.6074 GB, free: 9.145 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005437/0.5857, allocations: 2.956 MB / 0.6103 GB, free: 6.184 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000298/0.586, allocations: 199.5 kB / 0.6105 GB, free: 5.988 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003769/0.5864, allocations: 266.8 kB / 0.6107 GB, free: 5.727 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004737/0.5912, allocations: 2.175 MB / 0.6128 GB, free: 3.547 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.5912, allocations: 0 / 0.6128 GB, free: 3.547 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.5912, allocations: 0 / 0.6128 GB, free: 3.547 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.5912, allocations: 0 / 0.6128 GB, free: 3.547 MB / 478.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.00223/0.5935, allocations: 1.065 MB / 0.6139 GB, free: 2.422 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5935, allocations: 11.89 kB / 0.6139 GB, free: 2.41 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003131/0.5938, allocations: 55.52 kB / 0.614 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004965/0.5943, allocations: 365.8 kB / 0.6143 GB, free: 1.961 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.975e-05/0.5944, allocations: 29 kB / 0.6143 GB, free: 1.934 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.5944, allocations: 40 kB / 0.6144 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008721/0.5953, allocations: 0.5228 MB / 0.6149 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.5954, allocations: 0 / 0.6149 GB, free: 1.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.726e-05/0.5954, allocations: 16 kB / 0.6149 GB, free: 1.332 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.5954, allocations: 8 kB / 0.6149 GB, free: 1.324 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007946/0.5962, allocations: 0.4995 MB / 0.6154 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002688/0.5989, allocations: 1.971 MB / 0.6173 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007286/0.5997, allocations: 460.7 kB / 0.6178 GB, free: 14.22 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003109/0.6, allocations: 174.5 kB / 0.6179 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009025/0.6009, allocations: 0.9533 MB / 0.6188 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.234e-05/0.601, allocations: 51.3 kB / 0.6189 GB, free: 12.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 3.387e-06/0.601, allocations: 0 / 0.6189 GB, free: 12.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.00117/0.6022, allocations: 496.5 kB / 0.6194 GB, free: 12.34 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.137e-05/0.6022, allocations: 110.8 kB / 0.6195 GB, free: 12.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005597/0.6028, allocations: 397.5 kB / 0.6199 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.6029, allocations: 41.7 kB / 0.6199 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000186/0.6031, allocations: 216.1 kB / 0.6201 GB, free: 11.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.6032, allocations: 102.5 kB / 0.6202 GB, free: 11.44 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.6034, allocations: 77.97 kB / 0.6203 GB, free: 11.36 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.6036, allocations: 354.8 kB / 0.6206 GB, free: 11 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003009/0.6039, allocations: 144.7 kB / 0.6208 GB, free: 10.86 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003923/0.6043, allocations: 262 kB / 0.621 GB, free: 10.56 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007426/0.605, allocations: 491.8 kB / 0.6215 GB, free: 10.03 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.605, allocations: 0 / 0.6215 GB, free: 10.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001025/0.6061, allocations: 0.5469 MB / 0.622 GB, free: 9.461 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.6062, allocations: 63.39 kB / 0.6221 GB, free: 9.387 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.6062, allocations: 4 kB / 0.6221 GB, free: 9.383 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.621e-05/0.6062, allocations: 4 kB / 0.6221 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004239/0.6066, allocations: 87.83 kB / 0.6222 GB, free: 9.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.502e-05/0.6067, allocations: 4 kB / 0.6222 GB, free: 9.289 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004203/0.6071, allocations: 59.83 kB / 0.6222 GB, free: 9.23 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.6072, allocations: 25.78 kB / 0.6222 GB, free: 9.207 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.0002955/0.6075, allocations: 198.6 kB / 0.6224 GB, free: 9.004 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001374/0.6076, allocations: 39.72 kB / 0.6225 GB, free: 8.965 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001133/0.6088, allocations: 0.4888 MB / 0.6229 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6088, allocations: 4 kB / 0.6229 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6088, allocations: 0 / 0.6229 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.6088, allocations: 0 / 0.6229 GB, free: 8.465 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003643/0.6125, allocations: 2.426 MB / 0.6253 GB, free: 5.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.363e-06/0.6125, allocations: 4 kB / 0.6253 GB, free: 5.688 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002821/0.6128, allocations: 59.91 kB / 0.6254 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.6128, allocations: 0 / 0.6254 GB, free: 5.629 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.6128, allocations: 16.12 kB / 0.6254 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.121e-06/0.6128, allocations: 8.047 kB / 0.6254 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.6129, allocations: 8 kB / 0.6254 GB, free: 5.598 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008329/0.6137, allocations: 0.6316 MB / 0.626 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.6138, allocations: 128.5 kB / 0.6261 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.6139, allocations: 15.84 kB / 0.6262 GB, free: 4.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.6143, allocations: 23.97 kB / 0.6262 GB, free: 4.746 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.6144, allocations: 31.91 kB / 0.6262 GB, free: 4.715 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.6145, allocations: 23.98 kB / 0.6262 GB, free: 4.691 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.6148, allocations: 359.1 kB / 0.6266 GB, free: 4.344 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6148, allocations: 7.938 kB / 0.6266 GB, free: 4.336 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001267/0.6161, allocations: 379.6 kB / 0.627 GB, free: 3.965 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.001359/0.6175, allocations: 0.5749 MB / 0.6275 GB, free: 3.391 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.6183, allocations: 482.3 kB / 0.628 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.6184, allocations: 4 kB / 0.628 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002829/0.6186, allocations: 164.8 kB / 0.6281 GB, free: 2.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.6201, allocations: 289.4 kB / 0.6284 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.6216, allocations: 0.9306 MB / 0.6293 GB, free: 1.488 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.6221, allocations: 0.8351 MB / 0.6301 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005023/0.6226, allocations: 115 kB / 0.6302 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001253/0.6227, allocations: 47.42 kB / 0.6303 GB, free: 484 kB / 494.1 MB Notification: Performance of SimCode: time 7.61e-07/0.6227, allocations: 0 / 0.6303 GB, free: 484 kB / 494.1 MB Notification: Performance of Templates: time 0.2178/0.8405, allocations: 15.87 MB / 0.6458 GB, free: 160.5 MB / 494.1 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)