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.000816/0.0008161, allocations: 94.91 kB / 15.37 MB, free: 0.7266 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.001059/0.001059, allocations: 177.2 kB / 16.27 MB, free: 6.664 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.972/1.972, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.4171/0.4171, allocations: 40 MB / 310.7 MB, free: 9.852 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.0006375/0.0006378, allocations: 20 kB / 379.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.145, allocations: 57.96 MB / 437.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4564/0.6015, allocations: 182.6 MB / 0.6055 GB, free: 12.79 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.6038, allocations: 0.9359 MB / 0.6064 GB, free: 11.85 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004713/0.6043, allocations: 7.938 kB / 0.6064 GB, free: 11.84 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007876/0.6051, allocations: 179 kB / 0.6066 GB, free: 11.67 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008815/0.606, allocations: 266.6 kB / 0.6068 GB, free: 11.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005966/0.612, allocations: 1.839 MB / 0.6086 GB, free: 9.57 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001634/0.6136, allocations: 1.299 MB / 0.6099 GB, free: 8.27 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006005/0.6143, allocations: 271.9 kB / 0.6101 GB, free: 8.004 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.6186, allocations: 1.573 MB / 0.6117 GB, free: 6.434 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007137/0.6193, allocations: 318.7 kB / 0.612 GB, free: 6.121 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001409/0.6195, allocations: 24 kB / 0.612 GB, free: 6.098 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006818/0.6263, allocations: 2.987 MB / 0.6149 GB, free: 3.105 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003767/0.6267, allocations: 167.5 kB / 0.6151 GB, free: 2.941 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005447/0.6273, allocations: 260.6 kB / 0.6153 GB, free: 2.68 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.6331, allocations: 2.139 MB / 0.6174 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.6332, allocations: 0 / 0.6174 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.6332, allocations: 0 / 0.6174 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.782e-05/0.6332, allocations: 3.938 kB / 0.6174 GB, free: 0.5312 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.002491/0.6357, allocations: 0.9737 MB / 0.6184 GB, free: 15.5 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6358, allocations: 8.031 kB / 0.6184 GB, free: 15.49 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.6362, allocations: 55.44 kB / 0.6184 GB, free: 15.44 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007077/0.6369, allocations: 377.9 kB / 0.6188 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6369, allocations: 29 kB / 0.6188 GB, free: 15 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.637, allocations: 36 kB / 0.6189 GB, free: 14.97 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6381, allocations: 0.5229 MB / 0.6194 GB, free: 14.42 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.6381, allocations: 3.938 kB / 0.6194 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/0.6382, allocations: 20 kB / 0.6194 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.6382, allocations: 8 kB / 0.6194 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009291/0.6391, allocations: 0.4957 MB / 0.6199 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.6422, allocations: 1.981 MB / 0.6218 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008246/0.6431, allocations: 468.6 kB / 0.6223 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003434/0.6434, allocations: 182.5 kB / 0.6224 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000949/0.6444, allocations: 0.9494 MB / 0.6234 GB, free: 9.926 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.6445, allocations: 42.55 kB / 0.6234 GB, free: 9.875 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.876e-06/0.6445, allocations: 0 / 0.6234 GB, free: 9.875 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001148/0.6456, allocations: 0.5086 MB / 0.6239 GB, free: 9.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.6457, allocations: 106.8 kB / 0.624 GB, free: 9.23 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.6461, allocations: 401.5 kB / 0.6244 GB, free: 8.832 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 6.299e-05/0.6462, allocations: 33.7 kB / 0.6244 GB, free: 8.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.6464, allocations: 216.2 kB / 0.6246 GB, free: 8.578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.171e-05/0.6465, allocations: 102.5 kB / 0.6247 GB, free: 8.477 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.606e-05/0.6465, allocations: 37.7 kB / 0.6248 GB, free: 8.434 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.6467, allocations: 358.8 kB / 0.6251 GB, free: 8.074 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003402/0.647, allocations: 148.7 kB / 0.6252 GB, free: 7.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.6474, allocations: 270 kB / 0.6255 GB, free: 7.621 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.6482, allocations: 495.2 kB / 0.626 GB, free: 7.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.6482, allocations: 4 kB / 0.626 GB, free: 7.078 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001051/0.6493, allocations: 0.56 MB / 0.6265 GB, free: 6.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.453e-05/0.6494, allocations: 71.39 kB / 0.6266 GB, free: 6.418 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.6494, allocations: 8 kB / 0.6266 GB, free: 6.41 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/0.6494, allocations: 8 kB / 0.6266 GB, free: 6.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003858/0.6498, allocations: 79.89 kB / 0.6267 GB, free: 6.324 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6498, allocations: 7.938 kB / 0.6267 GB, free: 6.316 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.6502, allocations: 67.42 kB / 0.6268 GB, free: 6.25 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.778e-05/0.6503, allocations: 27.92 kB / 0.6268 GB, free: 6.223 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.0002689/0.6506, allocations: 181.6 kB / 0.627 GB, free: 6.035 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/0.6507, allocations: 43.53 kB / 0.627 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.6518, allocations: 0.4944 MB / 0.6275 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.6519, allocations: 4 kB / 0.6275 GB, free: 5.484 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6519, allocations: 3.938 kB / 0.6275 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6519, allocations: 240 / 0.6275 GB, free: 5.48 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003193/0.6551, allocations: 2.446 MB / 0.6299 GB, free: 2.688 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.6551, allocations: 4.031 kB / 0.6299 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.6554, allocations: 67.91 kB / 0.63 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.6554, allocations: 0 / 0.63 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.6555, allocations: 19.92 kB / 0.63 GB, free: 2.598 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6555, allocations: 3.938 kB / 0.63 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6555, allocations: 4 kB / 0.63 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008215/0.6563, allocations: 0.645 MB / 0.6306 GB, free: 1.91 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.6565, allocations: 152.4 kB / 0.6308 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.213e-05/0.6566, allocations: 11.94 kB / 0.6308 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004643/0.657, allocations: 19.98 kB / 0.6308 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.797e-05/0.6571, allocations: 27.97 kB / 0.6308 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.828e-05/0.6572, allocations: 27.98 kB / 0.6308 GB, free: 1.656 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0004123/0.6576, allocations: 359.1 kB / 0.6312 GB, free: 1.309 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.6576, allocations: 4 kB / 0.6312 GB, free: 1.305 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001266/0.6589, allocations: 375.8 kB / 0.6315 GB, free: 0.9375 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.001704/0.6606, allocations: 0.5739 MB / 0.6321 GB, free: 376 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2426/0.9032, allocations: 480 kB / 0.6326 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/0.9033, allocations: 1.375 kB / 0.6326 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.9038, allocations: 174.2 kB / 0.6327 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001976/0.9058, allocations: 264.8 kB / 0.633 GB, free: 157.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001472/0.9073, allocations: 0.96 MB / 0.6339 GB, free: 156.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.9077, allocations: 0.8315 MB / 0.6347 GB, free: 156 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.9082, allocations: 125.8 kB / 0.6348 GB, free: 156 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001361/0.9084, allocations: 44.89 kB / 0.6349 GB, free: 156 MB / 494.1 MB Notification: Performance of SimCode: time 1.222e-06/0.9084, allocations: 0 / 0.6349 GB, free: 156 MB / 494.1 MB Notification: Performance of Templates: time 0.02541/0.9338, allocations: 15.47 MB / 0.65 GB, free: 154.7 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: