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.0008061/0.0008061, allocations: 99.28 kB / 16.02 MB, free: 80 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.001003/0.001003, allocations: 179.7 kB / 16.92 MB, free: 6.922 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7599/0.7599, allocations: 115.5 MB / 407.6 MB, free: 2.719 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003869, allocations: 8 kB / 495.9 MB, free: 6.379 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1433/0.1438, allocations: 77.52 MB / 0.5599 GB, free: 9.074 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.5244/0.6682, allocations: 215.7 MB / 0.7705 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02885/0.6971, allocations: 22.19 MB / 0.7922 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002691/0.6998, allocations: 47.69 kB / 0.7923 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00254/0.7024, allocations: 0.68 MB / 0.7929 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.01221/0.7146, allocations: 4.136 MB / 0.797 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004364/0.719, allocations: 1.107 MB / 0.798 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.008262/0.7273, allocations: 5.676 MB / 0.8036 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.7297, allocations: 1.331 MB / 0.8049 GB, free: 11.78 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004152/0.7339, allocations: 1.583 MB / 0.8064 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004096/0.738, allocations: 1.616 MB / 0.808 GB, free: 8.582 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003599/0.7383, allocations: 76 kB / 0.8081 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005293/0.7436, allocations: 2.416 MB / 0.8104 GB, free: 6.086 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001055/0.7447, allocations: 0.6777 MB / 0.8111 GB, free: 5.406 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001441/0.7462, allocations: 0.9151 MB / 0.812 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004973/0.7512, allocations: 3.127 MB / 0.8151 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.7512, allocations: 0 / 0.8151 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.704e-06/0.7512, allocations: 0 / 0.8151 GB, free: 1.344 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.796e-05/0.7513, allocations: 0 / 0.8151 GB, free: 1.344 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00342/0.7547, allocations: 1.815 MB / 0.8168 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/0.7547, allocations: 8.031 kB / 0.8168 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002408/0.7572, allocations: 421.3 kB / 0.8172 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.7593, allocations: 1.137 MB / 0.8183 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.645e-05/0.7594, allocations: 102.7 kB / 0.8184 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002184/0.7597, allocations: 147.9 kB / 0.8186 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.7625, allocations: 1.631 MB / 0.8202 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.7626, allocations: 11.88 kB / 0.8202 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000141/0.7627, allocations: 56 kB / 0.8202 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.7628, allocations: 50.55 kB / 0.8203 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003171/0.766, allocations: 1.329 MB / 0.8216 GB, free: 10.45 MB / 0.6387 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.01338/0.7794, allocations: 7.154 MB / 0.8286 GB, free: 2.738 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002083/0.7815, allocations: 0.9242 MB / 0.8295 GB, free: 1.809 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000981/0.7825, allocations: 475.6 kB / 0.8299 GB, free: 1.344 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009126/0.7835, allocations: 429.3 kB / 0.8303 GB, free: 0.8516 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/0.7835, allocations: 43.56 kB / 0.8304 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=83): time 4.078e-06/0.7836, allocations: 3.938 kB / 0.8304 GB, free: 0.793 MB / 0.6387 GB Notification: Performance of matching and sorting (n=83): time 0.3224/1.106, allocations: 1.647 MB / 0.832 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.106, allocations: 61.52 kB / 0.8321 GB, free: 233.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/1.109, allocations: 1.194 MB / 0.8332 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000176/1.109, allocations: 42.61 kB / 0.8333 GB, free: 233.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000738/1.11, allocations: 0.7168 MB / 0.834 GB, free: 233.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000425/1.11, allocations: 298.5 kB / 0.8342 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/1.11, allocations: 89.58 kB / 0.8343 GB, free: 233.1 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001109/1.11, allocations: 347.6 kB / 0.8347 GB, free: 232.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008053/1.111, allocations: 363.1 kB / 0.835 GB, free: 232.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.112, allocations: 0.7268 MB / 0.8357 GB, free: 232.3 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/1.114, allocations: 1.066 MB / 0.8368 GB, free: 231.6 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.411e-05/1.114, allocations: 2.625 kB / 0.8368 GB, free: 231.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.002587/1.117, allocations: 1.289 MB / 0.838 GB, free: 231.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001961/1.117, allocations: 342.6 kB / 0.8383 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.082e-05/1.117, allocations: 9.094 kB / 0.8384 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003508/1.117, allocations: 131 kB / 0.8385 GB, free: 230.7 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/1.119, allocations: 217 kB / 0.8387 GB, free: 230.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004032/1.123, allocations: 5.433 MB / 0.844 GB, free: 225.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/1.124, allocations: 200.1 kB / 0.8442 GB, free: 225.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/1.125, allocations: 49.41 kB / 0.8442 GB, free: 225.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/1.125, allocations: 4.688 kB / 0.8442 GB, free: 225.5 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/1.127, allocations: 1.135 MB / 0.8453 GB, free: 225.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.593e-05/1.127, allocations: 8.5 kB / 0.8454 GB, free: 225.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003055/1.127, allocations: 127.8 kB / 0.8455 GB, free: 225 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008778/1.128, allocations: 210 kB / 0.8457 GB, free: 225 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003978/1.132, allocations: 4.833 MB / 0.8504 GB, free: 220.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001953/1.134, allocations: 181.6 kB / 0.8506 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/1.134, allocations: 46.97 kB / 0.8506 GB, free: 220.5 MB / 0.6387 GB 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): 112 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.001169/1.135, allocations: 0.5046 MB / 0.8511 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004847/1.136, allocations: 148.3 kB / 0.8512 GB, free: 220.1 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/1.138, allocations: 1.071 MB / 0.8523 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/1.138, allocations: 8.719 kB / 0.8523 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.138, allocations: 0 / 0.8523 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001672/1.14, allocations: 1.032 MB / 0.8533 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005291/1.145, allocations: 2.587 MB / 0.8558 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/1.145, allocations: 6.375 kB / 0.8558 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008334/1.146, allocations: 159.8 kB / 0.856 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002746/1.146, allocations: 126.9 kB / 0.8561 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.88e-05/1.146, allocations: 30.23 kB / 0.8561 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003698/1.15, allocations: 5.415 MB / 0.8614 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.15, allocations: 2.156 kB / 0.8614 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002821/1.153, allocations: 1.663 MB / 0.8631 GB, free: 212 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008349/1.154, allocations: 328.5 kB / 0.8634 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002961/1.154, allocations: 15.91 kB / 0.8634 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.155, allocations: 93.06 kB / 0.8635 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001493/1.155, allocations: 62.84 kB / 0.8635 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.695e-05/1.155, allocations: 35.25 kB / 0.8636 GB, free: 211.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001351/1.157, allocations: 0.8185 MB / 0.8644 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/1.157, allocations: 0 / 0.8644 GB, free: 211.4 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003321/1.16, allocations: 0.8282 MB / 0.8652 GB, free: 211.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 7 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.m,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 (74): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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.0006333/1.161, allocations: 238.9 kB / 0.8654 GB, free: 211.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003676/1.165, allocations: 2.204 MB / 0.8676 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 8.295e-06/1.165, allocations: 1.938 kB / 0.8676 GB, free: 210 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.166, allocations: 0.7965 MB / 0.8683 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/1.17, allocations: 0.7953 MB / 0.8691 GB, free: 209.4 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005035/1.175, allocations: 3.597 MB / 0.8726 GB, free: 207.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/1.176, allocations: 1.388 MB / 0.874 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00172/1.178, allocations: 456.9 kB / 0.8744 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000298/1.178, allocations: 111 kB / 0.8745 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of SimCode: time 9.52e-07/1.178, allocations: 0 / 0.8745 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of Templates: time 0.04401/1.222, allocations: 30.24 MB / 0.9041 GB, free: 180.3 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)