Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007232/0.007232, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001353/0.001353, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.467/1.467, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 75.89 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6995/0.7009, allocations: 104.7 MB / 0.8281 GB, free: 2.613 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.2429/0.9439, allocations: 214.9 MB / 1.038 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02659/0.9705, allocations: 21.47 MB / 1.059 GB, free: 5.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002331/0.9729, allocations: 51.69 kB / 1.059 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002697/0.9756, allocations: 0.7297 MB / 1.06 GB, free: 4.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01195/0.9876, allocations: 4.255 MB / 1.064 GB, free: 272 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.003925/0.9916, allocations: 1.102 MB / 1.065 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006854/0.9984, allocations: 4.001 MB / 1.069 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002943/1.001, allocations: 1.589 MB / 1.07 GB, free: 9.531 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004544/1.006, allocations: 1.65 MB / 1.072 GB, free: 7.875 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/1.01, allocations: 1.556 MB / 1.074 GB, free: 6.316 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006947/1.01, allocations: 164 kB / 1.074 GB, free: 6.156 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00428/1.015, allocations: 1.765 MB / 1.075 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001339/1.016, allocations: 0.7559 MB / 1.076 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002651/1.019, allocations: 0.9606 MB / 1.077 GB, free: 2.664 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006471/1.025, allocations: 2.927 MB / 1.08 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/1.025, allocations: 0 / 1.08 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.014e-06/1.025, allocations: 4 kB / 1.08 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001231/1.025, allocations: 4 kB / 1.08 GB, free: 15.72 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005416/1.031, allocations: 2.038 MB / 1.082 GB, free: 13.63 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/1.031, allocations: 11.97 kB / 1.082 GB, free: 13.62 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002515/1.033, allocations: 373.6 kB / 1.082 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/1.036, allocations: 1.143 MB / 1.083 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.514e-05/1.036, allocations: 102.6 kB / 1.084 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003166/1.037, allocations: 132 kB / 1.084 GB, free: 11.83 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.04, allocations: 1.614 MB / 1.085 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/1.04, allocations: 0 / 1.085 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/1.04, allocations: 55.98 kB / 1.085 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.368e-05/1.04, allocations: 46.48 kB / 1.085 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002433/1.042, allocations: 1.294 MB / 1.087 GB, free: 8.742 MB / 0.8887 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.01071/1.053, allocations: 6.499 MB / 1.093 GB, free: 1.812 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/1.055, allocations: 0.7831 MB / 1.094 GB, free: 1.02 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000616/1.055, allocations: 427.9 kB / 1.094 GB, free: 0.5977 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007564/1.056, allocations: 413.5 kB / 1.094 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/1.056, allocations: 43.22 kB / 1.095 GB, free: 72 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=73): time 2.504e-06/1.056, allocations: 0 / 1.095 GB, free: 72 kB / 0.8887 GB Notification: Performance of matching and sorting (n=73): time 0.5682/1.624, allocations: 1.524 MB / 1.096 GB, free: 265.8 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.496e-05/1.624, allocations: 59.97 kB / 1.096 GB, free: 265.7 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002479/1.627, allocations: 1.26 MB / 1.097 GB, free: 265.3 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/1.627, allocations: 43.42 kB / 1.097 GB, free: 265.2 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005656/1.628, allocations: 0.6973 MB / 1.098 GB, free: 264.8 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002931/1.628, allocations: 266.1 kB / 1.098 GB, free: 264.6 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003615/1.628, allocations: 192.9 kB / 1.098 GB, free: 264.5 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 9.096e-05/1.628, allocations: 349.7 kB / 1.099 GB, free: 264.2 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005875/1.629, allocations: 339.4 kB / 1.099 GB, free: 264.1 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008639/1.63, allocations: 0.7012 MB / 1.1 GB, free: 263.6 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001298/1.631, allocations: 1.042 MB / 1.101 GB, free: 262.9 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.316e-06/1.631, allocations: 7.25 kB / 1.101 GB, free: 262.9 MB / 0.8887 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001935/1.633, allocations: 1.241 MB / 1.102 GB, free: 262.4 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.633, allocations: 14.41 kB / 1.102 GB, free: 262.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.633, allocations: 9.906 kB / 1.102 GB, free: 262.4 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/1.633, allocations: 142.1 kB / 1.102 GB, free: 262.4 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007264/1.634, allocations: 191.4 kB / 1.102 GB, free: 262.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003316/1.637, allocations: 5.381 MB / 1.108 GB, free: 257.4 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/1.639, allocations: 136.6 kB / 1.108 GB, free: 257.3 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.264e-05/1.639, allocations: 49.3 kB / 1.108 GB, free: 257.3 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0007087/1.64, allocations: 428.3 kB / 1.108 GB, free: 257.1 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/1.64, allocations: 144.5 kB / 1.108 GB, free: 257 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/1.641, allocations: 1.05 MB / 1.109 GB, free: 256.5 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/1.641, allocations: 11.53 kB / 1.109 GB, free: 256.5 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/1.641, allocations: 3.656 kB / 1.109 GB, free: 256.5 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/1.642, allocations: 0.9285 MB / 1.11 GB, free: 256 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002802/1.645, allocations: 2.386 MB / 1.113 GB, free: 254.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/1.645, allocations: 4 kB / 1.113 GB, free: 254.2 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005991/1.646, allocations: 131.8 kB / 1.113 GB, free: 254.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002185/1.646, allocations: 130.4 kB / 1.113 GB, free: 254 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/1.646, allocations: 16 kB / 1.113 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002836/1.649, allocations: 5.365 MB / 1.118 GB, free: 248.2 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/1.649, allocations: 7.938 kB / 1.118 GB, free: 248.2 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/1.651, allocations: 1.526 MB / 1.12 GB, free: 246.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005475/1.651, allocations: 315.8 kB / 1.12 GB, free: 246.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/1.651, allocations: 23.91 kB / 1.12 GB, free: 246.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007526/1.652, allocations: 26.42 kB / 1.12 GB, free: 246.2 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001015/1.652, allocations: 60.36 kB / 1.12 GB, free: 246.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/1.652, allocations: 29.95 kB / 1.12 GB, free: 246.1 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009405/1.653, allocations: 0.87 MB / 1.121 GB, free: 245.3 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.8e-07/1.653, allocations: 0 / 1.121 GB, free: 245.3 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001402/1.655, allocations: 460.7 kB / 1.121 GB, free: 244.8 MB / 0.8887 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004888/1.655, allocations: 237.8 kB / 1.122 GB, free: 244.6 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001432/1.656, allocations: 1.209 MB / 1.123 GB, free: 243.4 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.656, allocations: 0 / 1.123 GB, free: 243.4 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006236/1.657, allocations: 0.732 MB / 1.123 GB, free: 242.6 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003291/1.66, allocations: 0.8808 MB / 1.124 GB, free: 241.8 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003375/1.664, allocations: 2.689 MB / 1.127 GB, free: 239.2 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/1.664, allocations: 1.347 MB / 1.128 GB, free: 237.8 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001022/1.665, allocations: 351.2 kB / 1.129 GB, free: 237.4 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/1.666, allocations: 103.4 kB / 1.129 GB, free: 237.3 MB / 0.8887 GB Notification: Performance of SimCode: time 6.92e-07/1.666, allocations: 0 / 1.129 GB, free: 237.3 MB / 0.8887 GB Notification: Performance of Templates: time 0.04414/1.71, allocations: 31.36 MB / 1.159 GB, free: 206.5 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)