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 2.892/2.892, allocations: 287.5 MB / 302.4 MB, free: 8.246 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.00135/0.001351, allocations: 181.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.326/2.326, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0008867/0.0008865, allocations: 89.3 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 13.41 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.PPM): time 0.9897/1.232, allocations: 195.5 MB / 1.169 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04082/1.272, allocations: 19.8 MB / 1.189 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/1.275, allocations: 42.56 kB / 1.189 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.00295/1.278, allocations: 0.508 MB / 1.189 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01285/1.291, allocations: 2.957 MB / 1.192 GB, free: 8.883 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.004006/1.295, allocations: 0.7733 MB / 1.193 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008105/1.303, allocations: 4.51 MB / 1.197 GB, free: 5.684 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002811/1.306, allocations: 1.163 MB / 1.198 GB, free: 5 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004573/1.31, allocations: 1.393 MB / 1.2 GB, free: 4.289 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004373/1.315, allocations: 1.468 MB / 1.201 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005765/1.316, allocations: 71.31 kB / 1.201 GB, free: 3.496 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/1.32, allocations: 0.8916 MB / 1.202 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.001454/1.322, allocations: 0.6421 MB / 1.203 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009124/1.323, allocations: 362.3 kB / 1.203 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004735/1.327, allocations: 2.013 MB / 1.205 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.135e-06/1.328, allocations: 0 / 1.205 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.998e-06/1.328, allocations: 0 / 1.205 GB, free: 1.172 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.435e-05/1.328, allocations: 0 / 1.205 GB, free: 1.172 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.004903/1.333, allocations: 1.717 MB / 1.207 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/1.333, allocations: 8.688 kB / 1.207 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00341/1.336, allocations: 379.2 kB / 1.207 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/1.34, allocations: 1.049 MB / 1.208 GB, free: 14.96 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001286/1.34, allocations: 101.7 kB / 1.208 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003201/1.34, allocations: 141.8 kB / 1.208 GB, free: 14.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004201/1.344, allocations: 1.578 MB / 1.21 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.385e-05/1.345, allocations: 0 / 1.21 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001946/1.345, allocations: 53.75 kB / 1.21 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.69e-05/1.345, allocations: 50.86 kB / 1.21 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003511/1.348, allocations: 1.278 MB / 1.211 GB, free: 13.2 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.01361/1.362, allocations: 6.497 MB / 1.218 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002142/1.364, allocations: 0.7819 MB / 1.218 GB, free: 5.711 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/1.366, allocations: 432.8 kB / 1.219 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/1.368, allocations: 421.5 kB / 1.219 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.504e-05/1.368, allocations: 47.22 kB / 1.219 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=73): time 5.46e-06/1.368, allocations: 3.938 kB / 1.219 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=73): time 0.008728/1.376, allocations: 1.537 MB / 1.221 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.695e-05/1.377, allocations: 56.06 kB / 1.221 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003923/1.381, allocations: 1.255 MB / 1.222 GB, free: 1.797 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002719/1.381, allocations: 41.7 kB / 1.222 GB, free: 1.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009426/1.382, allocations: 0.703 MB / 1.223 GB, free: 1.039 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/1.382, allocations: 264.2 kB / 1.223 GB, free: 0.7773 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.23e-05/1.383, allocations: 20 kB / 1.223 GB, free: 0.7578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002004/1.383, allocations: 349.9 kB / 1.223 GB, free: 420 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009981/1.384, allocations: 341.8 kB / 1.224 GB, free: 76 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/1.385, allocations: 0.7238 MB / 1.224 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001284/1.387, allocations: 461.5 kB / 1.225 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/1.387, allocations: 4 kB / 1.225 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003775/1.39, allocations: 1.25 MB / 1.226 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.633e-05/1.391, allocations: 8 kB / 1.226 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.611e-05/1.391, allocations: 15.98 kB / 1.226 GB, free: 13.44 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005158/1.391, allocations: 134.4 kB / 1.226 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/1.393, allocations: 196.2 kB / 1.226 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/1.399, allocations: 4.835 MB / 1.231 GB, free: 7.875 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/1.402, allocations: 178.5 kB / 1.231 GB, free: 7.699 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002108/1.402, allocations: 51.98 kB / 1.231 GB, free: 7.648 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.001213/1.404, allocations: 418.7 kB / 1.232 GB, free: 7.23 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/1.404, allocations: 146.2 kB / 1.232 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002907/1.407, allocations: 1.048 MB / 1.233 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.167e-05/1.407, allocations: 11.95 kB / 1.233 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/1.407, allocations: 4 kB / 1.233 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002162/1.409, allocations: 0.9309 MB / 1.234 GB, free: 5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006506/1.416, allocations: 2.387 MB / 1.236 GB, free: 2.512 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.78e-05/1.416, allocations: 4 kB / 1.236 GB, free: 2.508 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/1.417, allocations: 132.1 kB / 1.236 GB, free: 2.379 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004354/1.418, allocations: 130.4 kB / 1.236 GB, free: 2.242 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.367e-05/1.418, allocations: 19.98 kB / 1.236 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00665/1.424, allocations: 4.816 MB / 1.241 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/1.425, allocations: 0 / 1.241 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00422/1.429, allocations: 1.532 MB / 1.243 GB, free: 11.42 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.43, allocations: 315.2 kB / 1.243 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004728/1.431, allocations: 23.98 kB / 1.243 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.433, allocations: 70.14 kB / 1.243 GB, free: 11 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00022/1.433, allocations: 68.38 kB / 1.243 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.34e-05/1.433, allocations: 24 kB / 1.243 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002133/1.435, allocations: 0.8624 MB / 1.244 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6.81e-07/1.435, allocations: 3.938 kB / 1.244 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002642/1.438, allocations: 455.3 kB / 1.244 GB, free: 9.598 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.000772/1.439, allocations: 230.4 kB / 1.245 GB, free: 9.383 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002999/1.442, allocations: 1.187 MB / 1.246 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/1.442, allocations: 0 / 1.246 GB, free: 8.156 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/1.443, allocations: 0.7391 MB / 1.246 GB, free: 7.383 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007161/1.45, allocations: 0.8338 MB / 1.247 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007351/1.458, allocations: 3.205 MB / 1.25 GB, free: 3.289 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001451/1.459, allocations: 1.343 MB / 1.252 GB, free: 1.918 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002328/1.462, allocations: 348.6 kB / 1.252 GB, free: 1.57 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004729/1.462, allocations: 103.4 kB / 1.252 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of SimCode: time 1.332e-06/1.462, allocations: 0 / 1.252 GB, free: 1.469 MB / 0.7761 GB Notification: Performance of Templates: time 0.08054/1.543, allocations: 28.73 MB / 1.28 GB, free: 5.062 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)