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.001766/0.001766, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002628/0.002628, allocations: 195.1 kB / 16.53 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.998/1.998, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.3558/0.3558, allocations: 39.94 MB / 309.7 MB, free: 9.312 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.001494/0.001494, allocations: 64.47 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1283, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.4584/0.5867, allocations: 186.3 MB / 0.6062 GB, free: 8.895 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002447/0.5892, allocations: 0.8969 MB / 0.6071 GB, free: 7.996 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.5895, allocations: 15.94 kB / 0.6071 GB, free: 7.98 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.5903, allocations: 206.7 kB / 0.6073 GB, free: 7.777 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006124/0.5909, allocations: 274.3 kB / 0.6076 GB, free: 7.508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006628/0.5976, allocations: 2.138 MB / 0.6097 GB, free: 5.371 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001434/0.599, allocations: 0.9789 MB / 0.6106 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005242/0.5995, allocations: 344.2 kB / 0.6109 GB, free: 4.066 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004051/0.6036, allocations: 1.686 MB / 0.6126 GB, free: 2.379 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005847/0.6042, allocations: 326.8 kB / 0.6129 GB, free: 2.059 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.6043, allocations: 48 kB / 0.613 GB, free: 2.012 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005734/0.6101, allocations: 2.843 MB / 0.6157 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003583/0.6104, allocations: 195.5 kB / 0.6159 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004038/0.6109, allocations: 258.9 kB / 0.6162 GB, free: 14.72 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005218/0.6161, allocations: 2.112 MB / 0.6182 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.6161, allocations: 0 / 0.6182 GB, free: 12.6 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.735e-06/0.6161, allocations: 0 / 0.6182 GB, free: 12.6 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.618e-06/0.6162, allocations: 0 / 0.6182 GB, free: 12.6 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.002421/0.6186, allocations: 1.07 MB / 0.6193 GB, free: 11.48 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.6186, allocations: 15.89 kB / 0.6193 GB, free: 11.46 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.619, allocations: 55.42 kB / 0.6193 GB, free: 11.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005391/0.6195, allocations: 370 kB / 0.6197 GB, free: 11 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/0.6196, allocations: 32.94 kB / 0.6197 GB, free: 10.97 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.6197, allocations: 36 kB / 0.6198 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.6206, allocations: 0.515 MB / 0.6203 GB, free: 10.4 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.6206, allocations: 7.938 kB / 0.6203 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.385e-05/0.6207, allocations: 16 kB / 0.6203 GB, free: 10.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.6207, allocations: 12 kB / 0.6203 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.6216, allocations: 495.5 kB / 0.6208 GB, free: 9.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.6243, allocations: 1.972 MB / 0.6227 GB, free: 7.77 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007534/0.6251, allocations: 460.6 kB / 0.6231 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003197/0.6254, allocations: 186.5 kB / 0.6233 GB, free: 7.082 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008987/0.6263, allocations: 0.9455 MB / 0.6242 GB, free: 5.934 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.6264, allocations: 42.56 kB / 0.6243 GB, free: 5.883 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.6264, allocations: 0 / 0.6243 GB, free: 5.883 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001198/0.6276, allocations: 0.4993 MB / 0.6248 GB, free: 5.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/0.6277, allocations: 106.8 kB / 0.6249 GB, free: 5.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005172/0.6282, allocations: 401.6 kB / 0.6252 GB, free: 4.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.6283, allocations: 33.7 kB / 0.6253 GB, free: 4.812 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.6285, allocations: 212.2 kB / 0.6255 GB, free: 4.602 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.896e-05/0.6286, allocations: 106.5 kB / 0.6256 GB, free: 4.496 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.6287, allocations: 81.97 kB / 0.6257 GB, free: 4.41 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.6289, allocations: 350.8 kB / 0.626 GB, free: 4.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003122/0.6292, allocations: 148.7 kB / 0.6261 GB, free: 3.914 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000393/0.6296, allocations: 266 kB / 0.6264 GB, free: 3.609 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007596/0.6304, allocations: 483.1 kB / 0.6268 GB, free: 3.082 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.6304, allocations: 8 kB / 0.6269 GB, free: 3.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001011/0.6314, allocations: 0.5469 MB / 0.6274 GB, free: 2.508 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.678e-05/0.6315, allocations: 59.78 kB / 0.6274 GB, free: 2.438 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.6315, allocations: 8 kB / 0.6275 GB, free: 2.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.6315, allocations: 4 kB / 0.6275 GB, free: 2.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003949/0.6319, allocations: 83.89 kB / 0.6275 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/0.632, allocations: 11.92 kB / 0.6276 GB, free: 2.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.6323, allocations: 47.47 kB / 0.6276 GB, free: 2.285 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.365e-05/0.6324, allocations: 23.98 kB / 0.6276 GB, free: 2.262 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.0002676/0.6327, allocations: 189.6 kB / 0.6278 GB, free: 2.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.6328, allocations: 43.44 kB / 0.6278 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6339, allocations: 492.8 kB / 0.6283 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6339, allocations: 4 kB / 0.6283 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.6339, allocations: 0 / 0.6283 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6339, allocations: 0 / 0.6283 GB, free: 1.527 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.223/0.8569, allocations: 2.435 MB / 0.6307 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.8569, allocations: 0.6562 kB / 0.6307 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.8572, allocations: 67.81 kB / 0.6308 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8573, allocations: 3.125 kB / 0.6308 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.41e-05/0.8573, allocations: 9.969 kB / 0.6308 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.8573, allocations: 7.766 kB / 0.6308 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.8573, allocations: 2.625 kB / 0.6308 GB, free: 160.4 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000692/0.858, allocations: 0.6366 MB / 0.6314 GB, free: 160.1 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.8581, allocations: 127.4 kB / 0.6315 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.798e-05/0.8582, allocations: 18.09 kB / 0.6315 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004254/0.8586, allocations: 18.58 kB / 0.6316 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.535e-05/0.8587, allocations: 36.73 kB / 0.6316 GB, free: 160 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.335e-05/0.8587, allocations: 17.83 kB / 0.6316 GB, free: 160 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003665/0.8591, allocations: 365 kB / 0.632 GB, free: 159.9 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8591, allocations: 2.625 kB / 0.632 GB, free: 159.9 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001104/0.8602, allocations: 379.2 kB / 0.6323 GB, free: 159.9 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.001138/0.8614, allocations: 0.5686 MB / 0.6329 GB, free: 159.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007188/0.8621, allocations: 479.2 kB / 0.6333 GB, free: 159.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.8621, allocations: 3.594 kB / 0.6333 GB, free: 159.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.8624, allocations: 168.9 kB / 0.6335 GB, free: 159.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001348/0.8638, allocations: 279.6 kB / 0.6338 GB, free: 159.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009991/0.8648, allocations: 0.8016 MB / 0.6345 GB, free: 159.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.865, allocations: 0.8367 MB / 0.6354 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.000402/0.8654, allocations: 123.2 kB / 0.6355 GB, free: 158.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001001/0.8655, allocations: 49.5 kB / 0.6355 GB, free: 158.6 MB / 494.1 MB Notification: Performance of SimCode: time 8.82e-07/0.8655, allocations: 0 / 0.6355 GB, free: 158.6 MB / 494.1 MB Notification: Performance of Templates: time 0.02281/0.8884, allocations: 15.97 MB / 0.6511 GB, free: 157.2 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)