Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.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.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.001369/0.001369, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.295/1.295, 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.002071/0.002071, allocations: 285.3 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 0.9068/0.9068, allocations: 169.3 MB / 0.499 GB, free: 4.406 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001849/0.001849, allocations: 95.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4741, allocations: 86.98 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure): time 0.002404/0.4766, allocations: 1.288 MB / 0.7683 GB, free: 2.629 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0009293/0.4775, allocations: 0.5673 MB / 0.7689 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.425e-05/0.4776, allocations: 3.938 kB / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.4776, allocations: 0 / 0.7689 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.695e-05/0.4777, allocations: 3.938 kB / 0.7689 GB, free: 2.051 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.4782, allocations: 103.5 kB / 0.769 GB, free: 1.949 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.799e-05/0.4782, allocations: 19.88 kB / 0.769 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.4783, allocations: 3.984 kB / 0.769 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.579e-05/0.4783, allocations: 7.984 kB / 0.769 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.575e-05/0.4784, allocations: 7.938 kB / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.223e-05/0.4784, allocations: 0 / 0.769 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.4787, allocations: 143.8 kB / 0.7691 GB, free: 1.77 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.4787, allocations: 3.984 kB / 0.7691 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.4788, allocations: 11.94 kB / 0.7692 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002024/0.479, allocations: 83.42 kB / 0.7692 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.479, allocations: 4 kB / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.743e-06/0.479, allocations: 0 / 0.7692 GB, free: 1.672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.479, allocations: 0 / 0.7692 GB, free: 1.672 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003953/0.4794, allocations: 346.2 kB / 0.7696 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4794, allocations: 15.97 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004209/0.4799, allocations: 28.81 kB / 0.7696 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.48, allocations: 168.3 kB / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.48, allocations: 384 / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.48, allocations: 384 / 0.7698 GB, free: 1.039 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.4802, allocations: 50.22 kB / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.4802, allocations: 192 / 0.7698 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.4802, allocations: 7.938 kB / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4802, allocations: 0 / 0.7698 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001263/0.4804, allocations: 27.97 kB / 0.7699 GB, free: 0.9492 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001725/0.4805, allocations: 153.7 kB / 0.77 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.4807, allocations: 46.48 kB / 0.7701 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.95e-05/0.4808, allocations: 12.92 kB / 0.7701 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.4808, allocations: 4 kB / 0.7701 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.4808, allocations: 34.55 kB / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.4808, allocations: 0 / 0.7701 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003113/0.4812, allocations: 69.61 kB / 0.7702 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.4812, allocations: 59.39 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.268e-05/0.4813, allocations: 101.9 kB / 0.7703 GB, free: 388 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.4813, allocations: 25.7 kB / 0.7703 GB, free: 356 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.858e-05/0.4813, allocations: 80.14 kB / 0.7704 GB, free: 272 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.4814, allocations: 7.906 kB / 0.7704 GB, free: 264 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.916e-05/0.4814, allocations: 21.7 kB / 0.7705 GB, free: 236 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4815, allocations: 310.8 kB / 0.7707 GB, free: 15.92 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-05/0.4816, allocations: 15.92 kB / 0.7708 GB, free: 15.9 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.661e-05/0.4817, allocations: 15.98 kB / 0.7708 GB, free: 15.89 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001227/0.4818, allocations: 28.84 kB / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4818, allocations: 0 / 0.7708 GB, free: 15.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001646/0.482, allocations: 57.67 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.482, allocations: 4.094 kB / 0.7709 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.482, allocations: 7.938 kB / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.482, allocations: 192 / 0.7709 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4821, allocations: 15.92 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.4821, allocations: 4 kB / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.968e-05/0.4822, allocations: 0 / 0.7709 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.796e-06/0.4822, allocations: 7.922 kB / 0.7709 GB, free: 15.75 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 7.505e-05/0.4823, allocations: 113.8 kB / 0.771 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.495e-05/0.4823, allocations: 7.891 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.872e-05/0.4824, allocations: 11.06 kB / 0.771 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.4824, allocations: 4 kB / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4824, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.4824, allocations: 0 / 0.771 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001086/0.4825, allocations: 153.7 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.4825, allocations: 3.984 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.372e-05/0.4826, allocations: 4 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.4826, allocations: 0 / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4826, allocations: 11.92 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4826, allocations: 4 kB / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4826, allocations: 0 / 0.7712 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001865/0.4828, allocations: 81.05 kB / 0.7713 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.333e-05/0.4829, allocations: 85.09 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.4829, allocations: 3.938 kB / 0.7714 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.483, allocations: 4.031 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.403e-05/0.483, allocations: 4 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.483, allocations: 3.984 kB / 0.7714 GB, free: 15.18 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.566e-05/0.4831, allocations: 83.28 kB / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4831, allocations: 0 / 0.7715 GB, free: 15.09 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002114/0.4833, allocations: 15.94 kB / 0.7715 GB, free: 15.08 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 (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 Backend phase and start with SimCode phase: time 0.0001689/0.4834, allocations: 115.2 kB / 0.7716 GB, free: 14.95 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.4836, allocations: 31.97 kB / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.4836, allocations: 0 / 0.7716 GB, free: 14.92 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.59e-05/0.4837, allocations: 19.92 kB / 0.7716 GB, free: 14.9 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002081/0.4839, allocations: 10.44 kB / 0.7716 GB, free: 14.89 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003432/0.4843, allocations: 140.5 kB / 0.7718 GB, free: 14.72 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.4845, allocations: 0.6729 MB / 0.7724 GB, free: 14.02 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.837e-05/0.4845, allocations: 11.44 kB / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of SimCode: time 2e-07/0.4846, allocations: 0 / 0.7724 GB, free: 14.01 MB / 0.545 GB Notification: Performance of Templates: time 0.002062/0.4866, allocations: 0.7894 MB / 0.7732 GB, free: 13.23 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.SaturationPressure.pipe 2>&1)