Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") translateModel(Buildings.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.642/1.642, allocations: 287.5 MB / 302.6 MB, free: 8.254 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.00105/0.00105, allocations: 184.5 kB / 371.2 MB, free: 10.8 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.572/1.572, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.000732/0.0007319, allocations: 99.41 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004664/0.0004666, allocations: 12.84 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2527, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.8154/1.068, allocations: 195.5 MB / 1.17 GB, free: 11.5 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.02787/1.096, allocations: 19.81 MB / 1.189 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002803/1.099, allocations: 44.31 kB / 1.189 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.002508/1.101, allocations: 0.5082 MB / 1.189 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/1.113, allocations: 2.95 MB / 1.192 GB, free: 8.773 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.003426/1.117, allocations: 0.778 MB / 1.193 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007667/1.124, allocations: 4.531 MB / 1.198 GB, free: 5.562 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002986/1.127, allocations: 1.254 MB / 1.199 GB, free: 4.836 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005091/1.133, allocations: 1.402 MB / 1.2 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/1.136, allocations: 1.458 MB / 1.202 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006422/1.137, allocations: 71 kB / 1.202 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/1.141, allocations: 0.8922 MB / 1.202 GB, free: 2.906 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/1.143, allocations: 0.6444 MB / 1.203 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001287/1.144, allocations: 357.5 kB / 1.203 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004142/1.148, allocations: 2.022 MB / 1.205 GB, free: 1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.501e-05/1.148, allocations: 4 kB / 1.205 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.625e-06/1.148, allocations: 0 / 1.205 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001566/1.148, allocations: 4 kB / 1.205 GB, free: 0.9922 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.004875/1.153, allocations: 1.69 MB / 1.207 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/1.153, allocations: 8.688 kB / 1.207 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/1.156, allocations: 374.8 kB / 1.207 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003133/1.159, allocations: 1.086 MB / 1.209 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/1.159, allocations: 107.9 kB / 1.209 GB, free: 14.71 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004892/1.159, allocations: 139.8 kB / 1.209 GB, free: 14.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/1.163, allocations: 1.569 MB / 1.21 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.164, allocations: 3.938 kB / 1.21 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/1.164, allocations: 51.34 kB / 1.21 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.038e-05/1.164, allocations: 56.36 kB / 1.21 GB, free: 13.62 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/1.166, allocations: 1.274 MB / 1.212 GB, free: 13 MB / 0.7448 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.01064/1.177, allocations: 6.512 MB / 1.218 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/1.178, allocations: 0.7763 MB / 1.219 GB, free: 5.414 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/1.179, allocations: 433.5 kB / 1.219 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000842/1.18, allocations: 425.5 kB / 1.22 GB, free: 4.504 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.266e-05/1.18, allocations: 47.14 kB / 1.22 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 4.719e-06/1.18, allocations: 0 / 1.22 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.003428/1.183, allocations: 1.537 MB / 1.221 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.824e-05/1.183, allocations: 60.06 kB / 1.221 GB, free: 2.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.186, allocations: 1.251 MB / 1.222 GB, free: 1.504 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.000147/1.186, allocations: 45.7 kB / 1.222 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006837/1.187, allocations: 0.6953 MB / 1.223 GB, free: 0.75 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/1.187, allocations: 264.2 kB / 1.223 GB, free: 500 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-05/1.187, allocations: 20 kB / 1.223 GB, free: 480 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001764/1.187, allocations: 345.9 kB / 1.224 GB, free: 128 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/1.188, allocations: 353.8 kB / 1.224 GB, free: 15.78 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009908/1.189, allocations: 0.7115 MB / 1.225 GB, free: 14.91 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001568/1.191, allocations: 1.048 MB / 1.226 GB, free: 13.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.497e-05/1.191, allocations: 4 kB / 1.226 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.002757/1.193, allocations: 1.242 MB / 1.227 GB, free: 12.47 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/1.193, allocations: 8 kB / 1.227 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.289e-05/1.193, allocations: 8 kB / 1.227 GB, free: 12.46 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004222/1.194, allocations: 143 kB / 1.227 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/1.195, allocations: 211.7 kB / 1.227 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/1.2, allocations: 4.831 MB / 1.232 GB, free: 6.867 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002033/1.202, allocations: 178.6 kB / 1.232 GB, free: 6.691 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.262e-05/1.202, allocations: 51.92 kB / 1.232 GB, free: 6.641 MB / 0.7605 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.001033/1.203, allocations: 426.6 kB / 1.233 GB, free: 6.215 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/1.204, allocations: 146.2 kB / 1.233 GB, free: 6.07 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001989/1.206, allocations: 1.052 MB / 1.234 GB, free: 4.996 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/1.206, allocations: 4 kB / 1.234 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/1.206, allocations: 0 / 1.234 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/1.207, allocations: 0.9309 MB / 1.235 GB, free: 4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/1.211, allocations: 2.395 MB / 1.237 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/1.211, allocations: 320 / 1.237 GB, free: 1.504 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006791/1.212, allocations: 135.8 kB / 1.237 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002674/1.212, allocations: 122.6 kB / 1.237 GB, free: 1.242 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.122e-05/1.212, allocations: 19.98 kB / 1.237 GB, free: 1.223 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0042/1.217, allocations: 4.808 MB / 1.242 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.217, allocations: 4.031 kB / 1.242 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002492/1.219, allocations: 1.543 MB / 1.244 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009826/1.22, allocations: 315.2 kB / 1.244 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/1.221, allocations: 23.98 kB / 1.244 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/1.222, allocations: 62.03 kB / 1.244 GB, free: 9.996 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/1.222, allocations: 64.38 kB / 1.244 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.991e-05/1.222, allocations: 27.98 kB / 1.244 GB, free: 9.906 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001843/1.224, allocations: 0.8624 MB / 1.245 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.91e-07/1.224, allocations: 0 / 1.245 GB, free: 9.043 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002264/1.226, allocations: 447.3 kB / 1.245 GB, free: 8.605 MB / 0.7761 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.0007141/1.227, allocations: 242.8 kB / 1.246 GB, free: 8.371 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002387/1.229, allocations: 1.199 MB / 1.247 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/1.229, allocations: 0 / 1.247 GB, free: 7.133 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001032/1.23, allocations: 0.7418 MB / 1.247 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/1.236, allocations: 0.8193 MB / 1.248 GB, free: 5.543 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/1.241, allocations: 3.194 MB / 1.251 GB, free: 2.293 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00144/1.243, allocations: 1.343 MB / 1.253 GB, free: 0.9219 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001955/1.245, allocations: 352.6 kB / 1.253 GB, free: 0.5703 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.245, allocations: 111.4 kB / 1.253 GB, free: 472 kB / 0.7761 GB Notification: Performance of SimCode: time 1.102e-06/1.245, allocations: 4 kB / 1.253 GB, free: 468 kB / 0.7761 GB Notification: Performance of Templates: time 0.05706/1.302, allocations: 28.77 MB / 1.281 GB, free: 4.012 MB / 0.8073 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.PPM.pipe 2>&1)