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.001093/0.001093, allocations: 105.9 kB / 16.4 MB, free: 6.008 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.001054/0.001054, allocations: 195.7 kB / 17.34 MB, free: 5.578 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7461/0.7461, allocations: 122.9 MB / 414.1 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 67.42 kB / 0.5685 GB, free: 28.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1809/0.1821, allocations: 77.94 MB / 0.6446 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.0024/0.1846, allocations: 1.261 MB / 0.6458 GB, free: 7.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.5842/0.7688, allocations: 147.6 MB / 0.79 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.09e-05/0.7689, allocations: 0 / 0.79 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.769, allocations: 1.375 kB / 0.79 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 5.768e-05/0.7691, allocations: 3.938 kB / 0.79 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.7696, allocations: 122.8 kB / 0.7901 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 6.954e-05/0.7697, allocations: 23.55 kB / 0.7901 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.866e-05/0.7697, allocations: 4.438 kB / 0.7901 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.145e-05/0.7698, allocations: 4.547 kB / 0.7901 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.7698, allocations: 15.17 kB / 0.7901 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.154e-05/0.7698, allocations: 0 / 0.7901 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004315/0.7703, allocations: 171.7 kB / 0.7903 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 9.969e-06/0.7703, allocations: 2.203 kB / 0.7903 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.7703, allocations: 8.906 kB / 0.7903 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002412/0.7706, allocations: 113.5 kB / 0.7904 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7706, allocations: 4 kB / 0.7904 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7706, allocations: 1.094 kB / 0.7904 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.7706, allocations: 0 / 0.7904 GB, free: 13.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004024/0.771, allocations: 354.4 kB / 0.7908 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.7711, allocations: 10.72 kB / 0.7908 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005822/0.7717, allocations: 32.75 kB / 0.7908 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001502/0.7718, allocations: 176.3 kB / 0.791 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.7719, allocations: 5.375 kB / 0.791 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.121e-05/0.7719, allocations: 0 / 0.791 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.7721, allocations: 49.19 kB / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7721, allocations: 0 / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.7721, allocations: 0 / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-06/0.7721, allocations: 1.203 kB / 0.791 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.7722, allocations: 25.69 kB / 0.7911 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.7727, allocations: 250.5 kB / 0.7913 GB, free: 12.39 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 6.805e-05/0.7728, allocations: 24.52 kB / 0.7913 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.7728, allocations: 16.86 kB / 0.7913 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/0.7728, allocations: 1.344 kB / 0.7913 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.7729, allocations: 38.06 kB / 0.7914 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.362e-06/0.7729, allocations: 0 / 0.7914 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0001827/0.773, allocations: 39.02 kB / 0.7914 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.7731, allocations: 53.89 kB / 0.7915 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.7733, allocations: 111.7 kB / 0.7916 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.7733, allocations: 26.8 kB / 0.7916 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.126e-05/0.7734, allocations: 91.78 kB / 0.7917 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.23e-05/0.7734, allocations: 13.14 kB / 0.7917 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.7735, allocations: 20.52 kB / 0.7917 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.7736, allocations: 319.3 kB / 0.792 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.182e-05/0.7737, allocations: 7.547 kB / 0.792 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.7738, allocations: 15.34 kB / 0.792 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.7739, allocations: 23.2 kB / 0.7921 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.7739, allocations: 0 / 0.7921 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002053/0.7741, allocations: 60.38 kB / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.7741, allocations: 6.109 kB / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7741, allocations: 5.188 kB / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.759e-05/0.7742, allocations: 2.203 kB / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.7743, allocations: 8.812 kB / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.7743, allocations: 0 / 0.7921 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001388/0.7744, allocations: 11.8 kB / 0.7922 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.7745, allocations: 7 kB / 0.7922 GB, free: 11.59 MB / 0.5919 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001101/0.7746, allocations: 108.3 kB / 0.7923 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.7746, allocations: 4.219 kB / 0.7923 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.136e-05/0.7746, allocations: 8.781 kB / 0.7923 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.139e-06/0.7747, allocations: 1.156 kB / 0.7923 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.7747, allocations: 1.203 kB / 0.7923 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.7747, allocations: 0 / 0.7923 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.7749, allocations: 161.1 kB / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7749, allocations: 1.125 kB / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.49e-05/0.7749, allocations: 2.219 kB / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7749, allocations: 1.062 kB / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.176e-06/0.7749, allocations: 0 / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.7749, allocations: 1.531 kB / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.7749, allocations: 0 / 0.7924 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001543/0.7751, allocations: 143.5 kB / 0.7926 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.192e-05/0.7752, allocations: 83.34 kB / 0.7927 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.7752, allocations: 3.094 kB / 0.7927 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.7753, allocations: 1.656 kB / 0.7927 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.7753, allocations: 2.156 kB / 0.7927 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.7754, allocations: 5.281 kB / 0.7927 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001152/0.7755, allocations: 95.05 kB / 0.7928 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7755, allocations: 0 / 0.7928 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002808/0.7758, allocations: 19.69 kB / 0.7928 GB, free: 10.95 MB / 0.5919 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.0002464/0.776, allocations: 107.7 kB / 0.7929 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001768/0.7762, allocations: 23.08 kB / 0.7929 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.7762, allocations: 1.094 kB / 0.7929 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.806e-05/0.7762, allocations: 8.125 kB / 0.7929 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.7766, allocations: 6.344 kB / 0.7929 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003364/0.777, allocations: 131.5 kB / 0.793 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.7773, allocations: 0.6741 MB / 0.7937 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 6.064e-05/0.7773, allocations: 7.125 kB / 0.7937 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.773e-05/0.7774, allocations: 11.56 kB / 0.7937 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of SimCode: time 2.3e-07/0.7774, allocations: 0 / 0.7937 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of Templates: time 0.003276/0.7807, allocations: 0.743 MB / 0.7944 GB, free: 9.965 MB / 0.5919 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)