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.0011/0.0011, allocations: 113.3 kB / 17.04 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 196 kB / 17.98 MB, free: 5.141 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.268/1.268, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6804/0.6804, allocations: 115.1 MB / 406.9 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.83 kB / 494.8 MB, free: 15.88 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3596, allocations: 76.14 MB / 0.5576 GB, free: 36.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.PPM): time 0.5336/0.8932, allocations: 220.8 MB / 0.7732 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02399/0.9173, allocations: 22.32 MB / 0.795 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.9196, allocations: 58.59 kB / 0.795 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00214/0.9217, allocations: 0.8178 MB / 0.7958 GB, free: 1.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01001/0.9318, allocations: 4.398 MB / 0.8001 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002991/0.9348, allocations: 1.238 MB / 0.8013 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004474/0.9393, allocations: 4.127 MB / 0.8054 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002004/0.9413, allocations: 1.626 MB / 0.807 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003114/0.9444, allocations: 1.831 MB / 0.8087 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002829/0.9472, allocations: 1.612 MB / 0.8103 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002776/0.9475, allocations: 168.2 kB / 0.8105 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003975/0.9515, allocations: 2.168 MB / 0.8126 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007099/0.9522, allocations: 0.7678 MB / 0.8133 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.9534, allocations: 1.002 MB / 0.8143 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/0.9571, allocations: 3.156 MB / 0.8174 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.9571, allocations: 0 / 0.8174 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.472e-06/0.9572, allocations: 0.8438 kB / 0.8174 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.9572, allocations: 3.938 kB / 0.8174 GB, free: 16.29 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.003068/0.9603, allocations: 2.162 MB / 0.8195 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.153e-05/0.9603, allocations: 7.938 kB / 0.8195 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002079/0.9624, allocations: 419.2 kB / 0.8199 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002062/0.9645, allocations: 1.207 MB / 0.8211 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.588e-05/0.9645, allocations: 106.6 kB / 0.8212 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001818/0.9647, allocations: 139.9 kB / 0.8213 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/0.967, allocations: 1.631 MB / 0.8229 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.425e-05/0.9671, allocations: 3.781 kB / 0.8229 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.9672, allocations: 61 kB / 0.823 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.883e-05/0.9672, allocations: 56.75 kB / 0.8231 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001854/0.9691, allocations: 1.33 MB / 0.8244 GB, free: 13.82 MB / 0.5919 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.007412/0.9765, allocations: 7.159 MB / 0.8313 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/0.9777, allocations: 0.9202 MB / 0.8322 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005423/0.9783, allocations: 480.3 kB / 0.8327 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006539/0.979, allocations: 416.1 kB / 0.8331 GB, free: 8.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.979, allocations: 41.5 kB / 0.8331 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=83): time 2.585e-06/0.979, allocations: 0 / 0.8331 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of matching and sorting (n=83): time 0.00268/0.9817, allocations: 1.643 MB / 0.8347 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.9817, allocations: 66.81 kB / 0.8348 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001323/0.9831, allocations: 1.189 MB / 0.836 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.746e-05/0.9832, allocations: 43.14 kB / 0.836 GB, free: 6.711 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/0.9837, allocations: 0.7216 MB / 0.8367 GB, free: 6.078 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002439/0.9839, allocations: 299 kB / 0.837 GB, free: 5.828 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.9842, allocations: 196.5 kB / 0.8372 GB, free: 5.719 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.9843, allocations: 343.4 kB / 0.8375 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005175/0.9848, allocations: 373.4 kB / 0.8379 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008092/0.9857, allocations: 0.7248 MB / 0.8386 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.9869, allocations: 1.074 MB / 0.8396 GB, free: 3.859 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/0.9869, allocations: 10.41 kB / 0.8396 GB, free: 3.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001823/0.9888, allocations: 1.284 MB / 0.8409 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.9888, allocations: 12.97 kB / 0.8409 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/0.9888, allocations: 6.344 kB / 0.8409 GB, free: 3.25 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003158/0.9891, allocations: 132.4 kB / 0.841 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009322/0.9901, allocations: 220.5 kB / 0.8412 GB, free: 3.148 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.9945, allocations: 5.978 MB / 0.8471 GB, free: 12.76 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.9958, allocations: 130.9 kB / 0.8472 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.9959, allocations: 47.98 kB / 0.8473 GB, free: 12.58 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001109/0.997, allocations: 0.7048 MB / 0.8479 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008086/0.9978, allocations: 0.7272 MB / 0.8487 GB, free: 11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001337/0.9992, allocations: 1.074 MB / 0.8497 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.45e-06/0.9992, allocations: 3.938 kB / 0.8497 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=125) (initialization_lambda0): time 0.001899/1.001, allocations: 1.277 MB / 0.851 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/1.001, allocations: 12.03 kB / 0.851 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/1.001, allocations: 11.98 kB / 0.851 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002347/1.001, allocations: 129 kB / 0.8511 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007535/1.002, allocations: 204.7 kB / 0.8513 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003916/1.006, allocations: 5.389 MB / 0.8566 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/1.007, allocations: 99.19 kB / 0.8566 GB, free: 2.383 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.446e-05/1.007, allocations: 52.05 kB / 0.8567 GB, free: 2.332 MB / 0.6075 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.0002971/1.008, allocations: 250.3 kB / 0.8569 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002253/1.008, allocations: 142.2 kB / 0.8571 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00176/1.01, allocations: 1.072 MB / 0.8581 GB, free: 0.8672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/1.01, allocations: 12 kB / 0.8581 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/1.01, allocations: 0 / 0.8581 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001279/1.011, allocations: 1.029 MB / 0.8591 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/1.015, allocations: 2.587 MB / 0.8617 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.361e-06/1.015, allocations: 4 kB / 0.8617 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008017/1.016, allocations: 165.6 kB / 0.8618 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002416/1.016, allocations: 122.5 kB / 0.8619 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/1.016, allocations: 24 kB / 0.862 GB, free: 12.81 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004155/1.02, allocations: 5.95 MB / 0.8678 GB, free: 6.457 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.389e-06/1.02, allocations: 4.031 kB / 0.8678 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002222/1.023, allocations: 1.665 MB / 0.8694 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006396/1.023, allocations: 319.2 kB / 0.8697 GB, free: 4.406 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/1.023, allocations: 20 kB / 0.8697 GB, free: 4.387 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007328/1.024, allocations: 29.88 kB / 0.8698 GB, free: 4.359 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.024, allocations: 67.7 kB / 0.8698 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.988e-05/1.024, allocations: 27.98 kB / 0.8698 GB, free: 4.27 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001054/1.025, allocations: 0.8182 MB / 0.8706 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.9e-07/1.025, allocations: 0 / 0.8706 GB, free: 3.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002269/1.028, allocations: 0.834 MB / 0.8715 GB, free: 2.613 MB / 0.6231 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.0005103/1.028, allocations: 247.5 kB / 0.8717 GB, free: 2.395 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003063/1.031, allocations: 2.218 MB / 0.8739 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/1.031, allocations: 0.6875 kB / 0.8739 GB, free: 172 kB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009351/1.032, allocations: 0.8074 MB / 0.8747 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0031/1.035, allocations: 0.8152 MB / 0.8754 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004008/1.039, allocations: 2.928 MB / 0.8783 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009005/1.04, allocations: 1.388 MB / 0.8797 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0013/1.042, allocations: 456.1 kB / 0.8801 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002713/1.042, allocations: 111.4 kB / 0.8802 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/1.042, allocations: 0 / 0.8802 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of Templates: time 0.04749/1.089, allocations: 31.64 MB / 0.9111 GB, free: 10.48 MB / 0.67 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.PPM.pipe 2>&1)