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.0009469/0.0009469, allocations: 90.67 kB / 15.36 MB, free: 0.7383 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.005584/0.005584, allocations: 174.7 kB / 16.27 MB, free: 6.613 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.273/1.273, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.2998/0.2998, allocations: 38.03 MB / 308.8 MB, free: 10.38 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.0005841/0.0005841, allocations: 16 kB / 377.1 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1163/0.1169, allocations: 57.52 MB / 434.6 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.3941/0.5111, allocations: 182.6 MB / 0.6027 GB, free: 1.238 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.5131, allocations: 0.9281 MB / 0.6036 GB, free: 316 kB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004401/0.5135, allocations: 11.94 kB / 0.6036 GB, free: 304 kB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007375/0.5143, allocations: 175 kB / 0.6038 GB, free: 128 kB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.5151, allocations: 266.6 kB / 0.604 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005368/0.5205, allocations: 1.841 MB / 0.6058 GB, free: 14.03 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.001538/0.522, allocations: 1.295 MB / 0.6071 GB, free: 12.73 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005772/0.5226, allocations: 263.9 kB / 0.6074 GB, free: 12.47 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003882/0.5265, allocations: 1.577 MB / 0.6089 GB, free: 10.89 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005608/0.5271, allocations: 322.8 kB / 0.6092 GB, free: 10.58 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.5272, allocations: 20 kB / 0.6092 GB, free: 10.56 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005109/0.5323, allocations: 2.99 MB / 0.6122 GB, free: 7.566 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002967/0.5326, allocations: 167.5 kB / 0.6123 GB, free: 7.402 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.5331, allocations: 272.5 kB / 0.6126 GB, free: 7.129 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004289/0.5374, allocations: 2.135 MB / 0.6147 GB, free: 4.988 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5374, allocations: 0 / 0.6147 GB, free: 4.988 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.5374, allocations: 0 / 0.6147 GB, free: 4.988 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.5374, allocations: 3.938 kB / 0.6147 GB, free: 4.984 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.001764/0.5392, allocations: 0.9637 MB / 0.6156 GB, free: 3.961 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5393, allocations: 12.03 kB / 0.6156 GB, free: 3.949 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002443/0.5395, allocations: 59.42 kB / 0.6157 GB, free: 3.891 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004706/0.54, allocations: 365.9 kB / 0.616 GB, free: 3.496 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.561e-05/0.54, allocations: 33 kB / 0.616 GB, free: 3.465 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.278e-05/0.5401, allocations: 36 kB / 0.6161 GB, free: 3.43 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008145/0.5409, allocations: 0.5267 MB / 0.6166 GB, free: 2.879 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.541, allocations: 4 kB / 0.6166 GB, free: 2.875 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.825e-05/0.541, allocations: 16 kB / 0.6166 GB, free: 2.859 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.541, allocations: 12 kB / 0.6166 GB, free: 2.848 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007995/0.5418, allocations: 0.4918 MB / 0.6171 GB, free: 2.355 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.5443, allocations: 1.981 MB / 0.619 GB, free: 240 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006943/0.545, allocations: 468.7 kB / 0.6195 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003102/0.5453, allocations: 186.5 kB / 0.6197 GB, free: 15.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007278/0.5461, allocations: 0.9494 MB / 0.6206 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.5461, allocations: 46.56 kB / 0.6206 GB, free: 14.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=30): time 2.034e-06/0.5461, allocations: 0 / 0.6206 GB, free: 14.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=30): time 0.001027/0.5472, allocations: 0.5079 MB / 0.6211 GB, free: 13.82 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.5472, allocations: 106.8 kB / 0.6212 GB, free: 13.69 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.5476, allocations: 409.4 kB / 0.6216 GB, free: 13.28 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.178e-05/0.5477, allocations: 33.7 kB / 0.6217 GB, free: 13.24 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.5478, allocations: 208.2 kB / 0.6219 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.502e-05/0.5479, allocations: 110.5 kB / 0.622 GB, free: 12.93 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/0.548, allocations: 37.7 kB / 0.622 GB, free: 12.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.5481, allocations: 350.8 kB / 0.6223 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/0.5484, allocations: 160.6 kB / 0.6225 GB, free: 12.38 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003443/0.5488, allocations: 266 kB / 0.6227 GB, free: 12.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006757/0.5494, allocations: 497.5 kB / 0.6232 GB, free: 11.53 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5495, allocations: 0 / 0.6232 GB, free: 11.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009208/0.5504, allocations: 0.5597 MB / 0.6238 GB, free: 10.95 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.56e-05/0.5505, allocations: 67.41 kB / 0.6238 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5505, allocations: 0 / 0.6238 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5505, allocations: 8.375 kB / 0.6238 GB, free: 10.86 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003492/0.5508, allocations: 87.88 kB / 0.6239 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.5509, allocations: 7.938 kB / 0.6239 GB, free: 10.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003354/0.5512, allocations: 59.52 kB / 0.624 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-05/0.5513, allocations: 20 kB / 0.624 GB, free: 10.69 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.0001993/0.5515, allocations: 193.6 kB / 0.6242 GB, free: 10.49 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001092/0.5516, allocations: 43.44 kB / 0.6242 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009792/0.5526, allocations: 0.4903 MB / 0.6247 GB, free: 9.945 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.5526, allocations: 4 kB / 0.6247 GB, free: 9.941 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.5526, allocations: 4 kB / 0.6247 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.5526, allocations: 3.984 kB / 0.6247 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002616/0.5552, allocations: 2.444 MB / 0.6271 GB, free: 7.145 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.7e-06/0.5553, allocations: 4 kB / 0.6271 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.5555, allocations: 63.91 kB / 0.6272 GB, free: 7.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.975e-06/0.5555, allocations: 12.12 kB / 0.6272 GB, free: 7.066 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.5556, allocations: 15.88 kB / 0.6272 GB, free: 7.051 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.5556, allocations: 4 kB / 0.6272 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5556, allocations: 0 / 0.6272 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007398/0.5563, allocations: 0.6398 MB / 0.6278 GB, free: 6.371 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.5565, allocations: 156.4 kB / 0.628 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.933e-05/0.5565, allocations: 11.94 kB / 0.628 GB, free: 6.188 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.557, allocations: 31.91 kB / 0.628 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/0.557, allocations: 23.97 kB / 0.628 GB, free: 6.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.965e-05/0.5571, allocations: 19.98 kB / 0.6281 GB, free: 6.113 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003672/0.5575, allocations: 367.1 kB / 0.6284 GB, free: 5.758 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5575, allocations: 0 / 0.6284 GB, free: 5.758 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001072/0.5585, allocations: 375.7 kB / 0.6288 GB, free: 5.391 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.001328/0.5599, allocations: 0.5845 MB / 0.6293 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0007747/0.5607, allocations: 479.1 kB / 0.6298 GB, free: 4.32 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5607, allocations: 4 kB / 0.6298 GB, free: 4.316 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002935/0.561, allocations: 171.7 kB / 0.63 GB, free: 4.148 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001569/0.5626, allocations: 259.9 kB / 0.6302 GB, free: 3.898 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.5638, allocations: 0.9637 MB / 0.6311 GB, free: 2.891 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004193/0.5643, allocations: 0.8392 MB / 0.632 GB, free: 2.027 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0004508/0.5647, allocations: 119.9 kB / 0.6321 GB, free: 1.91 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.5649, allocations: 47.42 kB / 0.6321 GB, free: 1.863 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.5649, allocations: 0 / 0.6321 GB, free: 1.863 MB / 494.1 MB Notification: Performance of Templates: time 0.204/0.7689, allocations: 15.45 MB / 0.6472 GB, free: 157.2 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: