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: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.PPM,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007431/0.0007431, allocations: 88.17 kB / 15.7 MB, free: 460 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.0007837/0.0007837, allocations: 171.8 kB / 16.58 MB, free: 6.48 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.161/1.161, allocations: 223.2 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6085/0.6085, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002554/0.0002554, allocations: 9.844 kB / 493.2 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1172, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.3929/0.5102, allocations: 195.5 MB / 0.7478 GB, free: 7.332 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02082/0.531, allocations: 19.83 MB / 0.7672 GB, free: 3.453 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.5323, allocations: 43.69 kB / 0.7672 GB, free: 3.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001409/0.5337, allocations: 0.5085 MB / 0.7677 GB, free: 2.898 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006419/0.5401, allocations: 2.966 MB / 0.7706 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001965/0.5421, allocations: 0.7864 MB / 0.7714 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004699/0.5468, allocations: 4.549 MB / 0.7758 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001457/0.5483, allocations: 1.168 MB / 0.777 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002089/0.5504, allocations: 1.401 MB / 0.7783 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001821/0.5522, allocations: 1.475 MB / 0.7798 GB, free: 6.496 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.5524, allocations: 68 kB / 0.7798 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002107/0.5545, allocations: 0.9158 MB / 0.7807 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0005512/0.5551, allocations: 0.6427 MB / 0.7813 GB, free: 4.867 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003486/0.5554, allocations: 360.8 kB / 0.7817 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001717/0.5571, allocations: 2.042 MB / 0.7837 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.5571, allocations: 0 / 0.7837 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.563e-06/0.5572, allocations: 7.938 kB / 0.7837 GB, free: 2.453 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.555e-05/0.5572, allocations: 0 / 0.7837 GB, free: 2.453 MB / 0.5919 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.002253/0.5594, allocations: 1.723 MB / 0.7854 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.5595, allocations: 12.03 kB / 0.7854 GB, free: 0.6641 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002098/0.5597, allocations: 198.1 kB / 0.7856 GB, free: 472 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001789/0.5615, allocations: 397.5 kB / 0.786 GB, free: 72 kB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001525/0.563, allocations: 1.066 MB / 0.787 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.423e-05/0.5631, allocations: 102.6 kB / 0.7871 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001609/0.5633, allocations: 132 kB / 0.7872 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002091/0.5654, allocations: 1.571 MB / 0.7888 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.581e-05/0.5654, allocations: 3.938 kB / 0.7888 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001011/0.5655, allocations: 56 kB / 0.7888 GB, free: 13.01 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.997e-05/0.5656, allocations: 54.39 kB / 0.7889 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.5674, allocations: 1.29 MB / 0.7901 GB, free: 11.66 MB / 0.6075 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.006197/0.5736, allocations: 6.477 MB / 0.7964 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/0.5748, allocations: 0.942 MB / 0.7974 GB, free: 3.812 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000592/0.5754, allocations: 474.6 kB / 0.7978 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.576, allocations: 429 kB / 0.7982 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.5761, allocations: 43.22 kB / 0.7983 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 1.903e-06/0.5761, allocations: 0 / 0.7983 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=84): time 0.004386/0.5805, allocations: 2.929 MB / 0.8011 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.5805, allocations: 60.41 kB / 0.8012 GB, free: 15.69 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.5818, allocations: 1.197 MB / 0.8024 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.946e-05/0.5819, allocations: 41.7 kB / 0.8024 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004796/0.5824, allocations: 0.6799 MB / 0.8031 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/0.5826, allocations: 303.6 kB / 0.8033 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.5827, allocations: 20 kB / 0.8034 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5828, allocations: 349.9 kB / 0.8037 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00052/0.5833, allocations: 373.8 kB / 0.8041 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007553/0.5841, allocations: 0.7152 MB / 0.8048 GB, free: 11.85 MB / 0.6231 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.009095/0.5932, allocations: 2.373 MB / 0.8071 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.5932, allocations: 0 / 0.8071 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001854/0.5951, allocations: 1.291 MB / 0.8083 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.347e-05/0.5951, allocations: 10.34 kB / 0.8083 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.5951, allocations: 8 kB / 0.8084 GB, free: 8.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000258/0.5954, allocations: 142.4 kB / 0.8085 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006848/0.5961, allocations: 207.7 kB / 0.8087 GB, free: 7.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.5998, allocations: 4.817 MB / 0.8134 GB, free: 2.574 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001023/0.6008, allocations: 111.8 kB / 0.8135 GB, free: 2.465 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/0.6009, allocations: 47.98 kB / 0.8135 GB, free: 2.418 MB / 0.6231 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.0005918/0.6015, allocations: 437.2 kB / 0.814 GB, free: 1.98 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.6017, allocations: 142.3 kB / 0.8141 GB, free: 1.84 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001589/0.6033, allocations: 1.092 MB / 0.8152 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6033, allocations: 8 kB / 0.8152 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.6033, allocations: 4 kB / 0.8152 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.2277/0.831, allocations: 1.043 MB / 0.8162 GB, free: 218.6 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006263/0.8373, allocations: 3.125 MB / 0.8192 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.135e-05/0.8374, allocations: 5.594 kB / 0.8192 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006733/0.838, allocations: 154.5 kB / 0.8194 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002385/0.8383, allocations: 132.5 kB / 0.8195 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.674e-05/0.8383, allocations: 25.08 kB / 0.8195 GB, free: 217.8 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002859/0.8412, allocations: 4.816 MB / 0.8242 GB, free: 213.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.8412, allocations: 7.531 kB / 0.8243 GB, free: 213.7 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002228/0.8435, allocations: 1.737 MB / 0.826 GB, free: 212.8 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005625/0.844, allocations: 319 kB / 0.8263 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001618/0.8442, allocations: 25.09 kB / 0.8263 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007618/0.845, allocations: 72.41 kB / 0.8263 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.8451, allocations: 78.58 kB / 0.8264 GB, free: 212.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.339e-05/0.8452, allocations: 39.62 kB / 0.8265 GB, free: 212.6 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001129/0.8463, allocations: 0.832 MB / 0.8273 GB, free: 212.3 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8463, allocations: 0 / 0.8273 GB, free: 212.3 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001367/0.8477, allocations: 406.6 kB / 0.8277 GB, free: 212.3 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.002578/0.8503, allocations: 2.417 MB / 0.83 GB, free: 210.8 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001708/0.852, allocations: 1.264 MB / 0.8313 GB, free: 210.2 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.852, allocations: 1.188 kB / 0.8313 GB, free: 210.2 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008139/0.8528, allocations: 0.7838 MB / 0.832 GB, free: 209.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/0.8562, allocations: 0.8629 MB / 0.8329 GB, free: 209.6 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8682, allocations: 9.129 MB / 0.8418 GB, free: 204.7 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009717/0.8692, allocations: 1.356 MB / 0.8431 GB, free: 203.9 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001508/0.8708, allocations: 346.1 kB / 0.8434 GB, free: 203.9 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007058/0.8715, allocations: 0.5505 MB / 0.844 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of SimCode: time 1.062e-06/0.8715, allocations: 0 / 0.844 GB, free: 203.5 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05391/0.9254, allocations: 42.72 MB / 0.8857 GB, free: 169.1 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.9256, allocations: 245.8 kB / 0.8859 GB, free: 168.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.309, allocations: 0 / 0.8859 GB, free: 168.8 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_PPM.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1) Environment - environmentSimulation: