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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.621/1.621, allocations: 289.9 MB / 297.4 MB, free: 6.34 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.001151/0.001151, allocations: 168.8 kB / 366.7 MB, free: 1.691 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.773/1.773, allocations: 205.3 MB / 0.626 GB, free: 7.215 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008796/0.0008795, allocations: 90.08 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.557e-05/2.58e-05, allocations: 4 kB / 0.8597 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7047/0.7048, allocations: 116.3 MB / 0.9733 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.363/5.068, allocations: 2.093 GB / 3.067 GB, free: 36.43 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/5.068, allocations: 92.56 kB / 3.067 GB, free: 36.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.043/10.11, allocations: 1.264 GB / 4.331 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.637e-06/10.11, allocations: 1.875 kB / 4.331 GB, free: 153.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002308/10.11, allocations: 41.16 kB / 4.331 GB, free: 153.3 MB / 0.9636 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.007324/10.12, allocations: 1.825 MB / 4.333 GB, free: 152.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.585e-05/10.12, allocations: 11.86 kB / 4.333 GB, free: 152.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/10.12, allocations: 376.3 kB / 4.333 GB, free: 152.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/10.13, allocations: 1.127 MB / 4.334 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.813e-05/10.13, allocations: 41.94 kB / 4.334 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005751/10.13, allocations: 79.66 kB / 4.334 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002872/10.13, allocations: 1.109 MB / 4.335 GB, free: 152.2 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002298/10.13, allocations: 1.305 MB / 4.337 GB, free: 152 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/10.13, allocations: 5.797 kB / 4.337 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/10.13, allocations: 3.719 kB / 4.337 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.928e-05/10.13, allocations: 47.92 kB / 4.337 GB, free: 151.9 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.007956/10.14, allocations: 6.259 MB / 4.343 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009449/10.14, allocations: 0.712 MB / 4.344 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004725/10.14, allocations: 399.3 kB / 4.344 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006186/10.14, allocations: 413.4 kB / 4.344 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/10.14, allocations: 44 kB / 4.344 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=73): time 3.537e-06/10.14, allocations: 0 / 4.344 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=73): time 0.002569/10.14, allocations: 1.009 MB / 4.345 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/10.14, allocations: 58.88 kB / 4.345 GB, free: 148 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001071/10.15, allocations: 0.7305 MB / 4.346 GB, free: 147.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/10.15, allocations: 27.95 kB / 4.346 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005102/10.15, allocations: 0.7068 MB / 4.347 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002684/10.15, allocations: 256 kB / 4.347 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/10.15, allocations: 0 / 4.347 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001077/10.15, allocations: 343.7 kB / 4.347 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00043/10.15, allocations: 319.1 kB / 4.348 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007079/10.15, allocations: 0.6937 MB / 4.348 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/10.15, allocations: 0.5379 MB / 4.349 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/10.15, allocations: 7.766 kB / 4.349 GB, free: 146.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002187/10.15, allocations: 1.236 MB / 4.35 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/10.15, allocations: 11.94 kB / 4.35 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/10.15, allocations: 11.59 kB / 4.35 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004096/10.15, allocations: 145.8 kB / 4.35 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007297/10.15, allocations: 198.8 kB / 4.35 GB, free: 146.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002914/10.16, allocations: 4.615 MB / 4.355 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/10.16, allocations: 121 kB / 4.355 GB, free: 142.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/10.16, allocations: 49.36 kB / 4.355 GB, free: 142.6 MB / 0.9636 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 () * 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.0002305/10.16, allocations: 128.8 kB / 4.355 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001699/10.16, allocations: 119 kB / 4.355 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001906/10.16, allocations: 1.066 MB / 4.356 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/10.16, allocations: 7.25 kB / 4.356 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/10.16, allocations: 3.312 kB / 4.356 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001247/10.16, allocations: 0.9816 MB / 4.357 GB, free: 142 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004175/10.16, allocations: 2.269 MB / 4.36 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/10.16, allocations: 6.594 kB / 4.36 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/10.17, allocations: 131.8 kB / 4.36 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003074/10.17, allocations: 134.3 kB / 4.36 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.686e-05/10.17, allocations: 12.81 kB / 4.36 GB, free: 141.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/10.17, allocations: 4.6 MB / 4.364 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/10.17, allocations: 5.938 kB / 4.364 GB, free: 137.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002606/10.17, allocations: 1.644 MB / 4.366 GB, free: 137.2 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009491/10.17, allocations: 283.9 kB / 4.366 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003971/10.17, allocations: 10.12 kB / 4.366 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/10.17, allocations: 52.02 kB / 4.366 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/10.17, allocations: 58.25 kB / 4.366 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/10.17, allocations: 31.16 kB / 4.366 GB, free: 137.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.00115/10.18, allocations: 0.5533 MB / 4.367 GB, free: 137 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.71e-07/10.18, allocations: 0 / 4.367 GB, free: 137 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003318/10.18, allocations: 0.6133 MB / 4.368 GB, free: 136.9 MB / 0.9636 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 () * 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.005308/10.18, allocations: 2.67 MB / 4.37 GB, free: 136 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001978/10.19, allocations: 1.112 MB / 4.371 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/10.19, allocations: 3.75 kB / 4.371 GB, free: 135.7 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008169/10.19, allocations: 0.6827 MB / 4.372 GB, free: 135.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003395/10.19, allocations: 0.5978 MB / 4.372 GB, free: 135.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/10.2, allocations: 2.021 MB / 4.374 GB, free: 134.7 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/10.2, allocations: 1.372 MB / 4.376 GB, free: 134 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0016/10.2, allocations: 307.3 kB / 4.376 GB, free: 134 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003887/10.2, allocations: 91.08 kB / 4.376 GB, free: 134 MB / 0.9636 GB Notification: Performance of SimCode: time 9.91e-07/10.2, allocations: 0 / 4.376 GB, free: 134 MB / 0.9636 GB Notification: Performance of Templates: time 0.06023/10.26, allocations: 34.99 MB / 4.41 GB, free: 131.8 MB / 0.9636 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)