Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.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.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008974/0.0008974, allocations: 97.05 kB / 15.69 MB, free: 488 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.0009685/0.0009685, allocations: 177 kB / 16.57 MB, free: 6.387 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.303/1.303, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6628/0.6628, allocations: 113.8 MB / 405.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004322/0.0004323, allocations: 12 kB / 493 MB, free: 8.566 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1461/0.1466, allocations: 77.16 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001355/0.148, allocations: 0.9844 MB / 0.5578 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3713/0.5193, allocations: 124.8 MB / 0.6797 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.399e-05/0.5194, allocations: 0 / 0.6797 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.5194, allocations: 0 / 0.6797 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.022e-05/0.5195, allocations: 11.98 kB / 0.6797 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.52, allocations: 107.6 kB / 0.6798 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.821e-05/0.5201, allocations: 11.98 kB / 0.6798 GB, free: 12.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.958e-05/0.5201, allocations: 3.984 kB / 0.6798 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.787e-05/0.5202, allocations: 4 kB / 0.6798 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.891e-05/0.5202, allocations: 11.92 kB / 0.6798 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.5202, allocations: 0 / 0.6798 GB, free: 12.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.5207, allocations: 191.7 kB / 0.68 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.5207, allocations: 0 / 0.68 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.5208, allocations: 25.7 kB / 0.68 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001976/0.521, allocations: 83.58 kB / 0.6801 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.521, allocations: 0 / 0.6801 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.104e-06/0.521, allocations: 0 / 0.6801 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.521, allocations: 0 / 0.6801 GB, free: 11.71 MB / 0.4981 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.0003254/0.5213, allocations: 345.8 kB / 0.6805 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.5214, allocations: 16.02 kB / 0.6805 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005559/0.522, allocations: 36.58 kB / 0.6805 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00013/0.5221, allocations: 170.9 kB / 0.6807 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.5221, allocations: 0.5625 kB / 0.6807 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.5222, allocations: 7.953 kB / 0.6807 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.5223, allocations: 49.66 kB / 0.6807 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.5223, allocations: 0 / 0.6807 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.5224, allocations: 4 kB / 0.6807 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.5224, allocations: 0 / 0.6807 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.5225, allocations: 19.92 kB / 0.6807 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003663/0.5229, allocations: 252.9 kB / 0.681 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.96e-05/0.5229, allocations: 22.52 kB / 0.681 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.584e-06/0.523, allocations: 8.062 kB / 0.681 GB, free: 10.65 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.523, allocations: 30.56 kB / 0.681 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.233e-06/0.523, allocations: 0 / 0.681 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001491/0.5231, allocations: 37.7 kB / 0.6811 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5232, allocations: 59.33 kB / 0.6811 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.5233, allocations: 109.8 kB / 0.6812 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5234, allocations: 33.83 kB / 0.6813 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.197e-05/0.5234, allocations: 80.14 kB / 0.6814 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.5234, allocations: 7.844 kB / 0.6814 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.47e-06/0.5234, allocations: 4 kB / 0.6814 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.5236, allocations: 310.8 kB / 0.6817 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.448e-05/0.5236, allocations: 11.98 kB / 0.6817 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.639e-05/0.5237, allocations: 11.98 kB / 0.6817 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.173e-05/0.5238, allocations: 11.98 kB / 0.6817 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.5238, allocations: 3.953 kB / 0.6817 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001828/0.524, allocations: 65.52 kB / 0.6818 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.524, allocations: 4 kB / 0.6818 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.524, allocations: 0 / 0.6818 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.524, allocations: 0 / 0.6818 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.5241, allocations: 15.92 kB / 0.6818 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.5242, allocations: 4.781 kB / 0.6818 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.5243, allocations: 7.984 kB / 0.6818 GB, free: 9.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.5243, allocations: 4 kB / 0.6818 GB, free: 9.793 MB / 0.4981 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.153e-05/0.5244, allocations: 109.8 kB / 0.6819 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.52e-05/0.5244, allocations: 3.953 kB / 0.6819 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.5245, allocations: 11.11 kB / 0.6819 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.5245, allocations: 336 / 0.6819 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.5245, allocations: 0 / 0.6819 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.5245, allocations: 4 kB / 0.6819 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.5246, allocations: 153.7 kB / 0.6821 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.5247, allocations: 3.984 kB / 0.6821 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.5247, allocations: 7.953 kB / 0.6821 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5247, allocations: 0 / 0.6821 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.5247, allocations: 0 / 0.6821 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.5247, allocations: 0 / 0.6821 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.5247, allocations: 0 / 0.6821 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.5248, allocations: 143.5 kB / 0.6822 GB, free: 9.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-05/0.5249, allocations: 85.02 kB / 0.6823 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.5249, allocations: 7.938 kB / 0.6823 GB, free: 9.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.525, allocations: 11.25 kB / 0.6823 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.5251, allocations: 0 / 0.6823 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.5251, allocations: 0 / 0.6823 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.566e-05/0.5252, allocations: 91.27 kB / 0.6824 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.5252, allocations: 0 / 0.6824 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002504/0.5254, allocations: 20.03 kB / 0.6824 GB, free: 9.062 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001627/0.5256, allocations: 107.9 kB / 0.6825 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.5257, allocations: 15.98 kB / 0.6825 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.5257, allocations: 4 kB / 0.6825 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.402e-05/0.5258, allocations: 7.938 kB / 0.6826 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002331/0.526, allocations: 12.05 kB / 0.6826 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000261/0.5263, allocations: 135 kB / 0.6827 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.5265, allocations: 0.677 MB / 0.6834 GB, free: 8.047 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.686e-05/0.5266, allocations: 11.98 kB / 0.6834 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.5266, allocations: 7.438 kB / 0.6834 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.5266, allocations: 0 / 0.6834 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of Templates: time 0.002818/0.5295, allocations: 0.6962 MB / 0.6841 GB, free: 7.344 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)