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.001255/0.001255, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001657/0.001658, allocations: 194.2 kB / 16.14 MB, free: 6.703 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.629/1.629, allocations: 205.1 MB / 222 MB, free: 4.773 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.3021/0.3021, allocations: 37.98 MB / 307.3 MB, free: 10.06 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.001398/0.001398, allocations: 66.41 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1312, allocations: 56.47 MB / 431 MB, free: 7.059 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4479/0.5791, allocations: 185.1 MB / 0.6017 GB, free: 14.93 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002795/0.582, allocations: 0.9242 MB / 0.6026 GB, free: 14 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003928/0.5825, allocations: 7.938 kB / 0.6026 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009465/0.5834, allocations: 183 kB / 0.6028 GB, free: 13.81 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006374/0.5841, allocations: 270.6 kB / 0.603 GB, free: 13.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00595/0.5901, allocations: 1.845 MB / 0.6049 GB, free: 11.71 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001355/0.5914, allocations: 1.299 MB / 0.6061 GB, free: 10.41 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004549/0.5919, allocations: 275.8 kB / 0.6064 GB, free: 10.14 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003829/0.5957, allocations: 1.564 MB / 0.6079 GB, free: 8.574 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005641/0.5963, allocations: 330.7 kB / 0.6082 GB, free: 8.25 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.858e-05/0.5964, allocations: 24 kB / 0.6082 GB, free: 8.227 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005513/0.6019, allocations: 2.991 MB / 0.6112 GB, free: 5.23 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002909/0.6022, allocations: 163.5 kB / 0.6113 GB, free: 5.07 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.6026, allocations: 250.9 kB / 0.6116 GB, free: 4.824 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.6074, allocations: 2.147 MB / 0.6137 GB, free: 2.672 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.6075, allocations: 3.938 kB / 0.6137 GB, free: 2.668 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.6075, allocations: 3.938 kB / 0.6137 GB, free: 2.664 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.6075, allocations: 0 / 0.6137 GB, free: 2.664 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.002269/0.6098, allocations: 1.065 MB / 0.6147 GB, free: 1.539 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.6098, allocations: 8.031 kB / 0.6147 GB, free: 1.531 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002792/0.6101, allocations: 51.53 kB / 0.6148 GB, free: 1.48 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004737/0.6106, allocations: 373.8 kB / 0.6151 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.6106, allocations: 29 kB / 0.6151 GB, free: 1.051 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.644e-05/0.6107, allocations: 40 kB / 0.6152 GB, free: 1.012 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/0.6116, allocations: 0.5228 MB / 0.6157 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.6116, allocations: 0 / 0.6157 GB, free: 476 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.085e-05/0.6116, allocations: 16 kB / 0.6157 GB, free: 460 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.006e-05/0.6117, allocations: 8 kB / 0.6157 GB, free: 452 kB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008468/0.6125, allocations: 495.6 kB / 0.6162 GB, free: 15.96 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/0.615, allocations: 1.985 MB / 0.6181 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006999/0.6157, allocations: 457.6 kB / 0.6186 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/0.616, allocations: 174.5 kB / 0.6187 GB, free: 13.16 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/0.6168, allocations: 0.9494 MB / 0.6197 GB, free: 12.01 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.6169, allocations: 42.55 kB / 0.6197 GB, free: 11.96 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.855e-06/0.6169, allocations: 8 kB / 0.6197 GB, free: 11.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.00106/0.6179, allocations: 0.489 MB / 0.6202 GB, free: 11.46 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.618, allocations: 106.8 kB / 0.6203 GB, free: 11.33 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000394/0.6184, allocations: 401.5 kB / 0.6207 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.6185, allocations: 33.7 kB / 0.6207 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.6186, allocations: 220.1 kB / 0.6209 GB, free: 10.67 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.6187, allocations: 102.5 kB / 0.621 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.6188, allocations: 81.97 kB / 0.6211 GB, free: 10.48 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.619, allocations: 354.8 kB / 0.6214 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003069/0.6193, allocations: 144.7 kB / 0.6216 GB, free: 9.984 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.6197, allocations: 266 kB / 0.6218 GB, free: 9.68 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007087/0.6204, allocations: 480 kB / 0.6223 GB, free: 9.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.6204, allocations: 4 kB / 0.6223 GB, free: 9.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009397/0.6213, allocations: 0.5586 MB / 0.6228 GB, free: 8.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.006e-05/0.6214, allocations: 63.39 kB / 0.6229 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6214, allocations: 4 kB / 0.6229 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.6214, allocations: 4 kB / 0.6229 GB, free: 8.492 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000385/0.6218, allocations: 83.89 kB / 0.623 GB, free: 8.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6218, allocations: 11.88 kB / 0.623 GB, free: 8.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003527/0.6222, allocations: 59.64 kB / 0.623 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.718e-05/0.6223, allocations: 23.98 kB / 0.6231 GB, free: 8.316 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.0002076/0.6225, allocations: 197.5 kB / 0.6233 GB, free: 8.113 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001211/0.6226, allocations: 39.53 kB / 0.6233 GB, free: 8.074 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009977/0.6236, allocations: 495.2 kB / 0.6238 GB, free: 7.582 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.6236, allocations: 8 kB / 0.6238 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6236, allocations: 4 kB / 0.6238 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.6236, allocations: 0 / 0.6238 GB, free: 7.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002743/0.6264, allocations: 2.432 MB / 0.6262 GB, free: 4.793 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.6264, allocations: 7.938 kB / 0.6262 GB, free: 4.785 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002854/0.6267, allocations: 55.91 kB / 0.6262 GB, free: 4.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6267, allocations: 4 kB / 0.6262 GB, free: 4.727 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.612e-05/0.6268, allocations: 15.92 kB / 0.6262 GB, free: 4.711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6268, allocations: 6.188 kB / 0.6262 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.6268, allocations: 4 kB / 0.6262 GB, free: 4.703 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.6275, allocations: 0.6357 MB / 0.6269 GB, free: 4.031 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.727e-05/0.6276, allocations: 124.5 kB / 0.627 GB, free: 3.891 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/0.6277, allocations: 15.84 kB / 0.627 GB, free: 3.875 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004461/0.6282, allocations: 27.97 kB / 0.627 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.193e-05/0.6283, allocations: 23.97 kB / 0.627 GB, free: 3.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.369e-05/0.6283, allocations: 23.98 kB / 0.6271 GB, free: 3.801 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003652/0.6287, allocations: 359.1 kB / 0.6274 GB, free: 3.453 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.6287, allocations: 0 / 0.6274 GB, free: 3.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001105/0.6298, allocations: 391.5 kB / 0.6278 GB, free: 3.07 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.001342/0.6311, allocations: 0.5783 MB / 0.6283 GB, free: 2.496 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008092/0.632, allocations: 466.9 kB / 0.6288 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.632, allocations: 0 / 0.6288 GB, free: 2.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003147/0.6323, allocations: 171.7 kB / 0.629 GB, free: 1.848 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001399/0.6337, allocations: 258.5 kB / 0.6292 GB, free: 1.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.6352, allocations: 0.9341 MB / 0.6301 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1991/0.8343, allocations: 0.8298 MB / 0.6309 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0006191/0.835, allocations: 119.2 kB / 0.631 GB, free: 161.4 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.8351, allocations: 48.75 kB / 0.6311 GB, free: 161.4 MB / 494.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8351, allocations: 0 / 0.6311 GB, free: 161.4 MB / 494.1 MB Notification: Performance of Templates: time 0.02171/0.8568, allocations: 15.53 MB / 0.6463 GB, free: 160.2 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)