Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.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.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001265/0.001265, allocations: 105.6 kB / 16.41 MB, free: 6.496 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.001264/0.001264, allocations: 189.6 kB / 17.34 MB, free: 5.766 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.259/1.259, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 295.3 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8908/0.8908, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 95.86 kB / 0.6821 GB, free: 7.012 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4398, allocations: 86.97 MB / 0.767 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure): time 0.002764/0.4426, allocations: 1.406 MB / 0.7684 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001022/0.4437, allocations: 0.5906 MB / 0.769 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.4438, allocations: 4 kB / 0.769 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.4438, allocations: 4 kB / 0.769 GB, free: 1.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.001e-05/0.4439, allocations: 7.922 kB / 0.769 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004566/0.4444, allocations: 95.56 kB / 0.7691 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.467e-05/0.4444, allocations: 31.86 kB / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 9.149e-05/0.4445, allocations: 0 / 0.7691 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.646e-05/0.4446, allocations: 15.92 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.305e-05/0.4447, allocations: 11.98 kB / 0.7691 GB, free: 1.805 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.392e-05/0.4447, allocations: 8 kB / 0.7692 GB, free: 1.797 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000291/0.445, allocations: 139.8 kB / 0.7693 GB, free: 1.66 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.445, allocations: 11.92 kB / 0.7693 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.691e-05/0.445, allocations: 11.94 kB / 0.7693 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002245/0.4453, allocations: 95.47 kB / 0.7694 GB, free: 1.547 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.4453, allocations: 4 kB / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.603e-06/0.4453, allocations: 0 / 0.7694 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.999e-06/0.4453, allocations: 0 / 0.7694 GB, free: 1.543 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.0004834/0.4458, allocations: 365.9 kB / 0.7698 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.4458, allocations: 16.03 kB / 0.7698 GB, free: 1.121 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000459/0.4463, allocations: 32.84 kB / 0.7698 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.4464, allocations: 160.4 kB / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.4464, allocations: 384 / 0.77 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.511e-05/0.4464, allocations: 4.375 kB / 0.77 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002309/0.4467, allocations: 70.19 kB / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4467, allocations: 192 / 0.77 GB, free: 0.8164 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.4467, allocations: 3.938 kB / 0.77 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.4467, allocations: 4 kB / 0.77 GB, free: 0.8086 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00024/0.447, allocations: 51.94 kB / 0.7701 GB, free: 0.7578 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004547/0.4474, allocations: 276.8 kB / 0.7703 GB, free: 448 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.4477, allocations: 58.47 kB / 0.7704 GB, free: 380 kB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4478, allocations: 32.89 kB / 0.7704 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.4478, allocations: 4 kB / 0.7704 GB, free: 340 kB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.4479, allocations: 30.56 kB / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4479, allocations: 0 / 0.7705 GB, free: 300 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0004771/0.4483, allocations: 125.6 kB / 0.7706 GB, free: 168 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.4484, allocations: 51.41 kB / 0.7706 GB, free: 104 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.732e-05/0.4485, allocations: 97.94 kB / 0.7707 GB, free: 15.99 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.4485, allocations: 25.7 kB / 0.7708 GB, free: 15.96 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.4486, allocations: 84.12 kB / 0.7708 GB, free: 15.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.4486, allocations: 7.906 kB / 0.7708 GB, free: 15.87 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.4486, allocations: 17.72 kB / 0.7709 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.4488, allocations: 318.8 kB / 0.7712 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4489, allocations: 24.02 kB / 0.7712 GB, free: 15.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.449, allocations: 27.97 kB / 0.7712 GB, free: 15.47 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002286/0.4492, allocations: 56.86 kB / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4492, allocations: 0 / 0.7713 GB, free: 15.41 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002878/0.4495, allocations: 93.52 kB / 0.7714 GB, free: 15.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.4496, allocations: 4 kB / 0.7714 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4496, allocations: 7.969 kB / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.4496, allocations: 0 / 0.7714 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.4497, allocations: 20.02 kB / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.4497, allocations: 0 / 0.7714 GB, free: 15.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.456e-05/0.4498, allocations: 15.92 kB / 0.7714 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.4499, allocations: 7.875 kB / 0.7714 GB, free: 15.26 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 9.154e-05/0.45, allocations: 112.2 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.45, allocations: 4 kB / 0.7715 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.45, allocations: 15.11 kB / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.45, allocations: 0 / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.4501, allocations: 0 / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4501, allocations: 192 / 0.7715 GB, free: 15.13 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.4502, allocations: 169.5 kB / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.4503, allocations: 0 / 0.7717 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/0.4504, allocations: 15.97 kB / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.4504, allocations: 0 / 0.7717 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.4504, allocations: 3.984 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4504, allocations: 4 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.4504, allocations: 3.938 kB / 0.7717 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.4507, allocations: 183.4 kB / 0.7719 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.411e-05/0.4508, allocations: 77.11 kB / 0.772 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.758e-05/0.4508, allocations: 8.016 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.4509, allocations: 4 kB / 0.772 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.451, allocations: 11.98 kB / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.451, allocations: 0 / 0.772 GB, free: 14.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.715e-05/0.451, allocations: 83.28 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.451, allocations: 0 / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.4513, allocations: 12 kB / 0.7721 GB, free: 14.48 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.0001788/0.4515, allocations: 115.2 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.4518, allocations: 55.88 kB / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4518, allocations: 0 / 0.7722 GB, free: 14.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000129/0.4519, allocations: 35.95 kB / 0.7723 GB, free: 14.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.4522, allocations: 13 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004558/0.4527, allocations: 152.3 kB / 0.7724 GB, free: 14.07 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002527/0.4529, allocations: 0.6768 MB / 0.7731 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.587e-05/0.453, allocations: 15.42 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of SimCode: time 2.81e-07/0.453, allocations: 0 / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of Templates: time 0.002305/0.4553, allocations: 0.9079 MB / 0.774 GB, free: 12.46 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.SaturationPressure.pipe 2>&1)