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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.403/1.403, allocations: 252 MB / 268 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 171.3 kB / 327.6 MB, free: 2.105 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.762/1.762, allocations: 205.4 MB / 0.5786 GB, free: 20.34 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000791/0.0007911, allocations: 87.92 kB / 0.6832 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003487/0.0003487, allocations: 8 kB / 0.7976 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2287, allocations: 106.3 MB / 0.9015 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.7646/0.9933, allocations: 209.9 MB / 1.106 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02571/1.019, allocations: 21.33 MB / 1.127 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002746/1.022, allocations: 43.47 kB / 1.127 GB, free: 0.8633 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002582/1.024, allocations: 0.6177 MB / 1.128 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01261/1.037, allocations: 3.996 MB / 1.132 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/1.04, allocations: 0.9943 MB / 1.133 GB, free: 0.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007619/1.048, allocations: 5.466 MB / 1.138 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002482/1.051, allocations: 1.294 MB / 1.139 GB, free: 408 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/1.055, allocations: 1.443 MB / 1.141 GB, free: 404 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005164/1.06, allocations: 1.552 MB / 1.142 GB, free: 392 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006228/1.06, allocations: 70.53 kB / 1.142 GB, free: 392 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006395/1.067, allocations: 2.013 MB / 1.144 GB, free: 372 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001269/1.068, allocations: 0.6581 MB / 1.145 GB, free: 352 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/1.07, allocations: 0.8638 MB / 1.146 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003218/1.073, allocations: 2.168 MB / 1.148 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/1.073, allocations: 0 / 1.148 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.415e-06/1.073, allocations: 4 kB / 1.148 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.165e-05/1.073, allocations: 0 / 1.148 GB, free: 15.23 MB / 0.7136 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.003249/1.077, allocations: 1.69 MB / 1.15 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/1.077, allocations: 13.44 kB / 1.15 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002087/1.079, allocations: 377.4 kB / 1.15 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/1.081, allocations: 1.097 MB / 1.151 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/1.081, allocations: 102.2 kB / 1.151 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/1.081, allocations: 133.3 kB / 1.151 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/1.084, allocations: 1.597 MB / 1.153 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.606e-05/1.084, allocations: 5.5 kB / 1.153 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/1.084, allocations: 58.02 kB / 1.153 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-05/1.084, allocations: 53.34 kB / 1.153 GB, free: 12.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001865/1.086, allocations: 1.295 MB / 1.154 GB, free: 12.63 MB / 0.7136 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.008161/1.094, allocations: 6.507 MB / 1.161 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/1.095, allocations: 0.7802 MB / 1.161 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005597/1.096, allocations: 430.2 kB / 1.162 GB, free: 7.727 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007393/1.097, allocations: 423.2 kB / 1.162 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.854e-05/1.097, allocations: 42.34 kB / 1.162 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=73): time 5.07e-06/1.097, allocations: 3.984 kB / 1.162 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of matching and sorting (n=73): time 0.002941/1.1, allocations: 1.543 MB / 1.164 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.011e-05/1.1, allocations: 58.06 kB / 1.164 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/1.101, allocations: 1.26 MB / 1.165 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.997e-05/1.101, allocations: 46.36 kB / 1.165 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005823/1.102, allocations: 0.7002 MB / 1.166 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/1.102, allocations: 258.4 kB / 1.166 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/1.102, allocations: 25.47 kB / 1.166 GB, free: 4.695 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.102, allocations: 345.5 kB / 1.166 GB, free: 4.363 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004909/1.103, allocations: 347.1 kB / 1.167 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007706/1.104, allocations: 0.697 MB / 1.167 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001282/1.105, allocations: 1.041 MB / 1.168 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/1.105, allocations: 0 / 1.168 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002087/1.107, allocations: 1.249 MB / 1.17 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/1.107, allocations: 8.031 kB / 1.17 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/1.107, allocations: 8.906 kB / 1.17 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003516/1.107, allocations: 134.8 kB / 1.17 GB, free: 2.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000792/1.108, allocations: 198.2 kB / 1.17 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004527/1.113, allocations: 4.837 MB / 1.175 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/1.115, allocations: 189.5 kB / 1.175 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-05/1.115, allocations: 45.06 kB / 1.175 GB, free: 13.43 MB / 0.7292 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.0008463/1.116, allocations: 421.9 kB / 1.175 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002571/1.116, allocations: 139.6 kB / 1.175 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/1.118, allocations: 1.06 MB / 1.176 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-06/1.118, allocations: 6.625 kB / 1.176 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/1.118, allocations: 0 / 1.176 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001182/1.119, allocations: 0.9314 MB / 1.177 GB, free: 11.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003634/1.122, allocations: 2.388 MB / 1.18 GB, free: 9.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/1.122, allocations: 12.02 kB / 1.18 GB, free: 9.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006745/1.123, allocations: 133.1 kB / 1.18 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002488/1.123, allocations: 120.9 kB / 1.18 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.715e-05/1.123, allocations: 27.98 kB / 1.18 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003977/1.127, allocations: 4.815 MB / 1.185 GB, free: 4.441 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.127, allocations: 8.125 kB / 1.185 GB, free: 4.434 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/1.13, allocations: 1.517 MB / 1.186 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009167/1.131, allocations: 323.2 kB / 1.186 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003881/1.131, allocations: 19.98 kB / 1.186 GB, free: 2.512 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001203/1.132, allocations: 79.17 kB / 1.187 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.132, allocations: 61.48 kB / 1.187 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/1.133, allocations: 27.98 kB / 1.187 GB, free: 2.355 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001591/1.134, allocations: 0.87 MB / 1.187 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.8e-07/1.134, allocations: 0 / 1.187 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001856/1.136, allocations: 459.2 kB / 1.188 GB, free: 1.035 MB / 0.7292 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.0005574/1.137, allocations: 234.7 kB / 1.188 GB, free: 0.8242 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00185/1.138, allocations: 1.196 MB / 1.189 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.802e-06/1.138, allocations: 8.188 kB / 1.189 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008597/1.139, allocations: 0.7275 MB / 1.19 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.144, allocations: 0.8488 MB / 1.191 GB, free: 14.04 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005232/1.149, allocations: 3.394 MB / 1.194 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/1.15, allocations: 1.347 MB / 1.195 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003899/1.151, allocations: 119.4 kB / 1.196 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of SimCode: time 9.61e-07/1.151, allocations: 2.531 kB / 1.196 GB, free: 9.098 MB / 0.7448 GB Notification: Performance of Templates: time 0.05897/1.21, allocations: 42.45 MB / 1.237 GB, free: 14.82 MB / 0.7917 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)