Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001254/0.001254, allocations: 100.4 kB / 16.39 MB, free: 6.383 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.001222/0.001222, allocations: 193.1 kB / 17.33 MB, free: 5.844 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002456/0.002456, allocations: 287.7 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.043/1.043, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002837/0.002837, allocations: 104.1 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4429, allocations: 86.97 MB / 0.767 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid): time 0.00266/0.4456, allocations: 1.406 MB / 0.7684 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004716/0.4461, allocations: 207.4 kB / 0.7686 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.308e-05/0.4461, allocations: 0 / 0.7686 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.933e-05/0.4461, allocations: 0 / 0.7686 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.2e-05/0.4462, allocations: 3.938 kB / 0.7686 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000226/0.4464, allocations: 27.89 kB / 0.7686 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.277e-05/0.4465, allocations: 27.92 kB / 0.7686 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.4466, allocations: 0 / 0.7686 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.4466, allocations: 8 kB / 0.7687 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.4466, allocations: 19.86 kB / 0.7687 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.4467, allocations: 7.984 kB / 0.7687 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.173e-05/0.4467, allocations: 23.98 kB / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.011e-05/0.4468, allocations: 0 / 0.7687 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.873e-05/0.4468, allocations: 15.92 kB / 0.7687 GB, free: 2.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.4469, allocations: 35.69 kB / 0.7688 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.4469, allocations: 0 / 0.7688 GB, free: 1.988 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.4469, allocations: 4 kB / 0.7688 GB, free: 1.984 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.4469, allocations: 0 / 0.7688 GB, free: 1.984 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004741/0.4474, allocations: 345.2 kB / 0.7691 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.301e-05/0.4474, allocations: 8.031 kB / 0.7691 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001083/0.4475, allocations: 4.938 kB / 0.7691 GB, free: 1.59 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4477, allocations: 172.3 kB / 0.7693 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.408e-06/0.4477, allocations: 4.375 kB / 0.7693 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.4477, allocations: 384 / 0.7693 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.4479, allocations: 54.23 kB / 0.7693 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.4479, allocations: 192 / 0.7693 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4479, allocations: 3.938 kB / 0.7693 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4479, allocations: 3.938 kB / 0.7693 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001685/0.4481, allocations: 39.89 kB / 0.7694 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.4485, allocations: 245 kB / 0.7696 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001351/0.4486, allocations: 42.5 kB / 0.7696 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.906e-05/0.4487, allocations: 20.91 kB / 0.7697 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.4487, allocations: 3.984 kB / 0.7697 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.4487, allocations: 42.5 kB / 0.7697 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.4487, allocations: 3.938 kB / 0.7697 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003576/0.4491, allocations: 77.64 kB / 0.7698 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.4491, allocations: 55.41 kB / 0.7698 GB, free: 0.7031 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.986e-05/0.4492, allocations: 97.86 kB / 0.7699 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.624e-05/0.4492, allocations: 25.7 kB / 0.77 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.758e-05/0.4493, allocations: 80.14 kB / 0.77 GB, free: 496 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.4493, allocations: 11.94 kB / 0.77 GB, free: 484 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.295e-05/0.4493, allocations: 17.84 kB / 0.7701 GB, free: 460 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4495, allocations: 310.8 kB / 0.7704 GB, free: 140 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.4496, allocations: 19.98 kB / 0.7704 GB, free: 120 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.208e-05/0.4496, allocations: 11.98 kB / 0.7704 GB, free: 108 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.4498, allocations: 44.75 kB / 0.7704 GB, free: 60 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.4498, allocations: 4.062 kB / 0.7704 GB, free: 56 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002159/0.45, allocations: 73.55 kB / 0.7705 GB, free: 15.98 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.45, allocations: 10.5 kB / 0.7705 GB, free: 15.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.45, allocations: 3.984 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.45, allocations: 0 / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.538e-05/0.4501, allocations: 7.984 kB / 0.7705 GB, free: 15.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.4501, allocations: 4 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.4502, allocations: 4.031 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.94e-06/0.4502, allocations: 4 kB / 0.7705 GB, free: 15.95 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000101/0.4503, allocations: 112.2 kB / 0.7706 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.4503, allocations: 3.984 kB / 0.7706 GB, free: 15.82 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.4506, allocations: 80.66 kB / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.4506, allocations: 4 kB / 0.7707 GB, free: 15.74 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.4506, allocations: 4 kB / 0.7707 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.4506, allocations: 0 / 0.7707 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.4508, allocations: 165.6 kB / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4508, allocations: 0 / 0.7709 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.4508, allocations: 11.98 kB / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.4508, allocations: 0 / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.4508, allocations: 0 / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.4508, allocations: 0 / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.4508, allocations: 0 / 0.7709 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.4511, allocations: 175.4 kB / 0.7711 GB, free: 15.32 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.48e-05/0.4512, allocations: 85 kB / 0.7711 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4512, allocations: 3.938 kB / 0.7712 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.4513, allocations: 7.984 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.797e-05/0.4513, allocations: 4 kB / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.4513, allocations: 0 / 0.7712 GB, free: 15.21 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.4514, allocations: 87.55 kB / 0.7712 GB, free: 15.12 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.4514, allocations: 4 kB / 0.7713 GB, free: 15.12 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002163/0.4516, allocations: 4 kB / 0.7713 GB, free: 15.11 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000114/0.4517, allocations: 95.39 kB / 0.7713 GB, free: 15.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002376/0.4519, allocations: 43.94 kB / 0.7714 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4519, allocations: 0 / 0.7714 GB, free: 14.96 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.241e-05/0.452, allocations: 23.92 kB / 0.7714 GB, free: 14.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.4523, allocations: 20.88 kB / 0.7714 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003166/0.4526, allocations: 120.5 kB / 0.7715 GB, free: 14.78 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.4529, allocations: 0.6768 MB / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.521e-05/0.453, allocations: 0 / 0.7722 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.453, allocations: 11.44 kB / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of SimCode: time 3.61e-07/0.453, allocations: 4 kB / 0.7722 GB, free: 14.06 MB / 0.545 GB Notification: Performance of Templates: time 0.002841/0.4558, allocations: 0.4944 MB / 0.7727 GB, free: 13.57 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressureLiquid.pipe 2>&1)