Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001438/0.001438, allocations: 114.3 kB / 16.37 MB, free: 6.004 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.001436/0.001436, allocations: 188.5 kB / 17.3 MB, free: 5.617 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.47/1.47, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.869/1.869, allocations: 292.3 MB / 0.5496 GB, free: 17.61 MB / 462.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.00175/0.00175, allocations: 64.69 kB / 0.6729 GB, free: 5.883 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2339/0.2357, allocations: 114.6 MB / 0.7848 GB, free: 3.207 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.6901/0.9259, allocations: 214.6 MB / 0.9944 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.02521/0.9511, allocations: 21.3 MB / 1.015 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002134/0.9533, allocations: 51.69 kB / 1.015 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002146/0.9555, allocations: 0.7375 MB / 1.016 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01088/0.9664, allocations: 4.232 MB / 1.02 GB, free: 8.984 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002881/0.9693, allocations: 1.053 MB / 1.021 GB, free: 7.938 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005406/0.9747, allocations: 3.884 MB / 1.025 GB, free: 4.043 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002275/0.977, allocations: 1.568 MB / 1.026 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003374/0.9804, allocations: 1.615 MB / 1.028 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003452/0.9839, allocations: 1.543 MB / 1.03 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0003813/0.9843, allocations: 160 kB / 1.03 GB, free: 15.12 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.9884, allocations: 1.769 MB / 1.031 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0009255/0.9893, allocations: 0.752 MB / 1.032 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.001404/0.9908, allocations: 0.9449 MB / 1.033 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.004525/0.9953, allocations: 2.899 MB / 1.036 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.9953, allocations: 0 / 1.036 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9953, allocations: 0 / 1.036 GB, free: 8.746 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.9954, allocations: 0 / 1.036 GB, free: 8.746 MB / 0.8262 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.003407/0.9988, allocations: 2.025 MB / 1.038 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.411e-05/0.9988, allocations: 12.03 kB / 1.038 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001993/1.001, allocations: 373.6 kB / 1.038 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002013/1.003, allocations: 1.14 MB / 1.039 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.171e-05/1.003, allocations: 102.5 kB / 1.039 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/1.003, allocations: 135.9 kB / 1.04 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/1.006, allocations: 1.583 MB / 1.041 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/1.006, allocations: 4 kB / 1.041 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.006, allocations: 52 kB / 1.041 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.296e-05/1.006, allocations: 54.38 kB / 1.041 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001981/1.008, allocations: 1.286 MB / 1.042 GB, free: 1.812 MB / 0.8262 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.008145/1.016, allocations: 6.491 MB / 1.049 GB, free: 10.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001198/1.017, allocations: 0.7844 MB / 1.05 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005771/1.018, allocations: 438.5 kB / 1.05 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007253/1.019, allocations: 413.5 kB / 1.05 GB, free: 9.188 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/1.019, allocations: 41.34 kB / 1.05 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/1.019, allocations: 0 / 1.05 GB, free: 9.141 MB / 0.8419 GB Notification: Performance of matching and sorting (n=73): time 0.002872/1.021, allocations: 1.544 MB / 1.052 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.021, allocations: 60.06 kB / 1.052 GB, free: 7.453 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001626/1.023, allocations: 1.262 MB / 1.053 GB, free: 6.176 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.991e-05/1.023, allocations: 45.7 kB / 1.053 GB, free: 6.125 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005624/1.024, allocations: 0.6953 MB / 1.054 GB, free: 5.422 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002534/1.024, allocations: 264.2 kB / 1.054 GB, free: 5.16 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002874/1.024, allocations: 190.5 kB / 1.054 GB, free: 4.965 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001504/1.025, allocations: 349.9 kB / 1.055 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005303/1.025, allocations: 349.7 kB / 1.055 GB, free: 4.277 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008328/1.026, allocations: 0.7154 MB / 1.056 GB, free: 3.406 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/1.027, allocations: 1.053 MB / 1.057 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/1.027, allocations: 3.938 kB / 1.057 GB, free: 2.227 MB / 0.8419 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002028/1.029, allocations: 1.245 MB / 1.058 GB, free: 0.9688 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.958e-05/1.029, allocations: 15.98 kB / 1.058 GB, free: 0.9531 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/1.029, allocations: 8.812 kB / 1.058 GB, free: 0.9453 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/1.03, allocations: 138.4 kB / 1.058 GB, free: 0.8008 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007357/1.03, allocations: 195.7 kB / 1.058 GB, free: 0.6094 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004888/1.035, allocations: 5.384 MB / 1.064 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/1.037, allocations: 142.5 kB / 1.064 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.832e-05/1.037, allocations: 44 kB / 1.064 GB, free: 10.63 MB / 0.8575 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.0007603/1.038, allocations: 425.3 kB / 1.064 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.038, allocations: 142.4 kB / 1.064 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001646/1.04, allocations: 1.058 MB / 1.065 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.04, allocations: 8 kB / 1.065 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.696e-06/1.04, allocations: 0 / 1.065 GB, free: 8.965 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001333/1.041, allocations: 0.9348 MB / 1.066 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/1.044, allocations: 2.391 MB / 1.069 GB, free: 5.484 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/1.044, allocations: 7.984 kB / 1.069 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/1.045, allocations: 135.8 kB / 1.069 GB, free: 5.344 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002472/1.045, allocations: 122.5 kB / 1.069 GB, free: 5.215 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.365e-05/1.045, allocations: 24.3 kB / 1.069 GB, free: 5.191 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/1.05, allocations: 5.359 MB / 1.074 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.523e-06/1.05, allocations: 4 kB / 1.074 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/1.052, allocations: 1.551 MB / 1.076 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/1.053, allocations: 311.2 kB / 1.076 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.053, allocations: 15.98 kB / 1.076 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/1.054, allocations: 24.62 kB / 1.076 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/1.054, allocations: 64.36 kB / 1.076 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/1.054, allocations: 31.98 kB / 1.076 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001222/1.055, allocations: 0.8663 MB / 1.077 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.6e-07/1.055, allocations: 0 / 1.077 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001576/1.057, allocations: 455.2 kB / 1.077 GB, free: 12.04 MB / 0.8731 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.0005802/1.058, allocations: 224.9 kB / 1.078 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.059, allocations: 1.227 MB / 1.079 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/1.059, allocations: 0.625 kB / 1.079 GB, free: 10.57 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0008599/1.06, allocations: 0.745 MB / 1.079 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/1.064, allocations: 0.8835 MB / 1.08 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004347/1.069, allocations: 2.767 MB / 1.083 GB, free: 6.152 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009784/1.07, allocations: 1.347 MB / 1.084 GB, free: 4.773 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003628/1.07, allocations: 115.4 kB / 1.084 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.706e-06/1.07, allocations: 0 / 1.084 GB, free: 4.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.05616/1.126, allocations: 42.7 MB / 1.126 GB, free: 10.25 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)