Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM") translateModel(IBPSA.Fluid.Sensors.Examples.PPM,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00126/0.00126, allocations: 96.03 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001631/0.001631, allocations: 175.8 kB / 16.56 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.402/1.402, allocations: 223.2 MB / 240.5 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6656/0.6656, allocations: 113.8 MB / 405.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000313/0.000313, allocations: 8 kB / 493 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 77.15 MB / 0.5568 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.4341/0.5768, allocations: 177 MB / 0.7297 GB, free: 8.941 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02483/0.6017, allocations: 18.59 MB / 0.7478 GB, free: 6.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.6033, allocations: 43.69 kB / 0.7479 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002336/0.6056, allocations: 0.7582 MB / 0.7486 GB, free: 5.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.6139, allocations: 2.923 MB / 0.7515 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0035/0.6175, allocations: 1.22 MB / 0.7527 GB, free: 1.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003893/0.6214, allocations: 2.265 MB / 0.7549 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.6232, allocations: 1.192 MB / 0.756 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003624/0.6268, allocations: 1.675 MB / 0.7577 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002129/0.629, allocations: 1.121 MB / 0.7588 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002152/0.6292, allocations: 68 kB / 0.7588 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.6315, allocations: 0.8424 MB / 0.7596 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006602/0.6321, allocations: 0.5923 MB / 0.7602 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004988/0.6327, allocations: 364.8 kB / 0.7606 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002366/0.635, allocations: 1.95 MB / 0.7625 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6351, allocations: 3.938 kB / 0.7625 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6351, allocations: 0 / 0.7625 GB, free: 7.273 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.954e-05/0.6351, allocations: 0 / 0.7625 GB, free: 7.273 MB / 0.5762 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.002912/0.638, allocations: 1.703 MB / 0.7641 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.6381, allocations: 8.031 kB / 0.7642 GB, free: 5.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002182/0.6403, allocations: 405.5 kB / 0.7645 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002072/0.6423, allocations: 1.055 MB / 0.7656 GB, free: 3.996 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.385e-05/0.6424, allocations: 102.6 kB / 0.7657 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/0.6426, allocations: 139.9 kB / 0.7658 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002415/0.6451, allocations: 1.559 MB / 0.7673 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.799e-05/0.6451, allocations: 3.938 kB / 0.7673 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.6452, allocations: 60 kB / 0.7674 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/0.6453, allocations: 50.45 kB / 0.7674 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002011/0.6473, allocations: 1.286 MB / 0.7687 GB, free: 0.7188 MB / 0.5762 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.007933/0.6552, allocations: 6.485 MB / 0.775 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.6567, allocations: 0.9388 MB / 0.7759 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004301/0.6571, allocations: 153.7 kB / 0.7761 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.6572, allocations: 43.22 kB / 0.7761 GB, free: 8.648 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 2.495e-06/0.6572, allocations: 4 kB / 0.7761 GB, free: 8.645 MB / 0.5919 GB Notification: Performance of matching and sorting (n=84): time 0.005488/0.6627, allocations: 2.938 MB / 0.779 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.817e-05/0.6628, allocations: 60.41 kB / 0.7791 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.6644, allocations: 1.186 MB / 0.7802 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.84e-05/0.6645, allocations: 41.7 kB / 0.7803 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000494/0.665, allocations: 0.6799 MB / 0.7809 GB, free: 3.582 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.6652, allocations: 311.6 kB / 0.7812 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.429e-05/0.6653, allocations: 20 kB / 0.7812 GB, free: 3.254 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6654, allocations: 349.9 kB / 0.7816 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005622/0.666, allocations: 365.8 kB / 0.7819 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008521/0.6669, allocations: 0.7074 MB / 0.7826 GB, free: 1.703 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (sin.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.6782, allocations: 2.38 MB / 0.7849 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.6782, allocations: 4 kB / 0.7849 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002214/0.6804, allocations: 1.286 MB / 0.7862 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.73e-05/0.6805, allocations: 8 kB / 0.7862 GB, free: 14 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.6805, allocations: 8.719 kB / 0.7862 GB, free: 13.99 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002949/0.6808, allocations: 138.5 kB / 0.7863 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008196/0.6816, allocations: 207.6 kB / 0.7865 GB, free: 13.64 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004214/0.6859, allocations: 4.867 MB / 0.7913 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.6874, allocations: 111.7 kB / 0.7914 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001042/0.6875, allocations: 47.98 kB / 0.7914 GB, free: 8.223 MB / 0.6075 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (116): * Single equations (assignments): 113 * 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.0006993/0.6882, allocations: 421.4 kB / 0.7918 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002213/0.6885, allocations: 150.2 kB / 0.792 GB, free: 7.652 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.6902, allocations: 1.092 MB / 0.7931 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.6902, allocations: 11.95 kB / 0.7931 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.434e-06/0.6902, allocations: 3.938 kB / 0.7931 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001305/0.6916, allocations: 1.054 MB / 0.7941 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005494/0.6971, allocations: 3.117 MB / 0.7971 GB, free: 2.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.6971, allocations: 8 kB / 0.7971 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/0.6978, allocations: 155.8 kB / 0.7973 GB, free: 1.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002564/0.6981, allocations: 127.2 kB / 0.7974 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.6982, allocations: 28 kB / 0.7974 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003997/0.7022, allocations: 4.864 MB / 0.8022 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.7022, allocations: 4 kB / 0.8022 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002592/0.7048, allocations: 2.081 MB / 0.8042 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007106/0.7055, allocations: 315.3 kB / 0.8045 GB, free: 9.727 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.7058, allocations: 31.98 kB / 0.8046 GB, free: 9.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.7067, allocations: 76.61 kB / 0.8046 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.7069, allocations: 80.3 kB / 0.8047 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.407e-05/0.707, allocations: 32 kB / 0.8047 GB, free: 9.508 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001238/0.7082, allocations: 0.8343 MB / 0.8056 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7082, allocations: 0 / 0.8056 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0015/0.7097, allocations: 404 kB / 0.8059 GB, free: 8.277 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 6 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,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 (75): * Single equations (assignments): 72 * 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.0005418/0.7103, allocations: 247.9 kB / 0.8062 GB, free: 8.047 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001821/0.7121, allocations: 1.269 MB / 0.8074 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7121, allocations: 0.625 kB / 0.8074 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000883/0.713, allocations: 0.7839 MB / 0.8082 GB, free: 5.922 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003765/0.7168, allocations: 0.8495 MB / 0.809 GB, free: 5.09 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004661/0.7215, allocations: 3.358 MB / 0.8123 GB, free: 1.629 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/0.7225, allocations: 1.386 MB / 0.8136 GB, free: 220 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0014/0.7239, allocations: 352.8 kB / 0.814 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002967/0.7242, allocations: 111.4 kB / 0.8141 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of SimCode: time 2.665e-06/0.7242, allocations: 0 / 0.8141 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Templates: time 0.304/1.028, allocations: 29.34 MB / 0.8427 GB, free: 226.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)