Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.794/1.794, allocations: 288.3 MB / 303.2 MB, free: 8.125 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001154/0.001154, allocations: 192.1 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009249/0.0009251, allocations: 96.33 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006206/0.0006207, allocations: 13.38 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2512, allocations: 115.3 MB / 0.9794 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6175/0.8687, allocations: 177 MB / 1.152 GB, free: 7.938 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0233/0.8921, allocations: 18.55 MB / 1.17 GB, free: 9.207 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001927/0.894, allocations: 37.22 kB / 1.17 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002758/0.8968, allocations: 0.764 MB / 1.171 GB, free: 8.543 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009792/0.9066, allocations: 2.894 MB / 1.174 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.004253/0.9109, allocations: 1.209 MB / 1.175 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.00512/0.916, allocations: 2.235 MB / 1.177 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002191/0.9182, allocations: 1.18 MB / 1.178 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004237/0.9225, allocations: 1.669 MB / 1.18 GB, free: 2.16 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.9249, allocations: 1.115 MB / 1.181 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0002323/0.9252, allocations: 74.38 kB / 1.181 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002452/0.9276, allocations: 0.7854 MB / 1.182 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.9282, allocations: 0.5916 MB / 1.183 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.9288, allocations: 362.2 kB / 1.183 GB, free: 0.6758 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.9311, allocations: 1.92 MB / 1.185 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9311, allocations: 0 / 1.185 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.965e-06/0.9311, allocations: 2.75 kB / 1.185 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.307e-05/0.9311, allocations: 3.938 kB / 1.185 GB, free: 15.39 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 325 * Number of variables: 325 Notification: Performance of Generate backend data structure: time 0.002985/0.9341, allocations: 1.679 MB / 1.186 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.9342, allocations: 10.22 kB / 1.187 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001974/0.9362, allocations: 379 kB / 1.187 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.9382, allocations: 1.048 MB / 1.188 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.35e-05/0.9383, allocations: 111.7 kB / 1.188 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000179/0.9384, allocations: 134.4 kB / 1.188 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002232/0.9407, allocations: 1.56 MB / 1.19 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.9407, allocations: 7.875 kB / 1.19 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001088/0.9408, allocations: 57.14 kB / 1.19 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-05/0.9409, allocations: 46.45 kB / 1.19 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.9427, allocations: 1.276 MB / 1.191 GB, free: 11.45 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007469/0.9502, allocations: 6.488 MB / 1.197 GB, free: 5.973 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001031/0.9512, allocations: 0.7894 MB / 1.198 GB, free: 5.574 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003904/0.9516, allocations: 151 kB / 1.198 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.9517, allocations: 54.08 kB / 1.198 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=73): time 2.294e-06/0.9517, allocations: 0 / 1.198 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of matching and sorting (n=73): time 0.002627/0.9543, allocations: 1.527 MB / 1.2 GB, free: 4.484 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.9544, allocations: 59.44 kB / 1.2 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001408/0.9558, allocations: 1.257 MB / 1.201 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.609e-05/0.9559, allocations: 46.61 kB / 1.201 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.9564, allocations: 0.6984 MB / 1.202 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.9566, allocations: 269.5 kB / 1.202 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.215e-05/0.9567, allocations: 20.91 kB / 1.202 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.9568, allocations: 346.5 kB / 1.202 GB, free: 2.484 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/0.9573, allocations: 341.2 kB / 1.203 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007324/0.958, allocations: 0.7137 MB / 1.203 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/0.9587, allocations: 468.8 kB / 1.204 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.9587, allocations: 6.734 kB / 1.204 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001831/0.9605, allocations: 1.244 MB / 1.205 GB, free: 408 kB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.9606, allocations: 16.75 kB / 1.205 GB, free: 392 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.9606, allocations: 8 kB / 1.205 GB, free: 384 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.9609, allocations: 142.5 kB / 1.205 GB, free: 232 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/0.9616, allocations: 191.7 kB / 1.205 GB, free: 40 kB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.966, allocations: 4.871 MB / 1.21 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001718/0.9677, allocations: 186.5 kB / 1.21 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9679, allocations: 47.95 kB / 1.21 GB, free: 10.54 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * 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 initialization (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0006647/0.9685, allocations: 425.3 kB / 1.211 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001997/0.9687, allocations: 142.2 kB / 1.211 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001567/0.9703, allocations: 1.052 MB / 1.212 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.9703, allocations: 8 kB / 1.212 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.9703, allocations: 0 / 1.212 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001108/0.9714, allocations: 0.9387 MB / 1.213 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003814/0.9753, allocations: 2.384 MB / 1.215 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.9753, allocations: 4 kB / 1.215 GB, free: 5.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000732/0.9761, allocations: 135.8 kB / 1.215 GB, free: 5.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.9763, allocations: 122.5 kB / 1.215 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.9764, allocations: 16 kB / 1.216 GB, free: 5.109 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003816/0.9802, allocations: 4.863 MB / 1.22 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.9802, allocations: 7.969 kB / 1.22 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/0.9827, allocations: 1.677 MB / 1.222 GB, free: 14.03 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008867/0.9836, allocations: 315.2 kB / 1.222 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002479/0.9839, allocations: 19.98 kB / 1.222 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008868/0.9848, allocations: 71.78 kB / 1.222 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.9849, allocations: 56.42 kB / 1.222 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.332e-05/0.985, allocations: 28 kB / 1.222 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001169/0.9861, allocations: 0.8585 MB / 1.223 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9861, allocations: 0 / 1.223 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001575/0.9877, allocations: 451.3 kB / 1.224 GB, free: 12.23 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1],senPPMTwoPort.C,senPPMNoRev.C,senPPMRev.C) * 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 (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006059/0.9883, allocations: 243.5 kB / 1.224 GB, free: 12 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001864/0.9902, allocations: 1.192 MB / 1.225 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.9902, allocations: 8.188 kB / 1.225 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.9913, allocations: 0.7255 MB / 1.226 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/0.9954, allocations: 0.8271 MB / 1.227 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005149/1.001, allocations: 3.198 MB / 1.23 GB, free: 5.922 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.002, allocations: 1.371 MB / 1.231 GB, free: 4.523 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001568/1.003, allocations: 348.7 kB / 1.231 GB, free: 4.176 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003555/1.004, allocations: 107.4 kB / 1.231 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of SimCode: time 7.01e-07/1.004, allocations: 0 / 1.231 GB, free: 4.07 MB / 0.7605 GB Notification: Performance of Templates: time 0.04764/1.051, allocations: 28.71 MB / 1.259 GB, free: 7.703 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)