Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.004693/0.004693, allocations: 96.34 kB / 15.73 MB, free: 6.055 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.001069/0.001069, allocations: 202.7 kB / 16.68 MB, free: 5.977 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002089/0.002089, allocations: 279 kB / 290.8 MB, free: 1.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9558/0.9558, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 87.86 kB / 0.6814 GB, free: 15.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1659, allocations: 86.98 MB / 0.7664 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002237/0.1682, allocations: 1.284 MB / 0.7676 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.5062/0.6744, allocations: 147.6 MB / 0.9118 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.651e-05/0.6745, allocations: 0 / 0.9118 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 1.778e-05/0.6745, allocations: 0 / 0.9118 GB, free: 13.96 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.726e-05/0.6746, allocations: 7.922 kB / 0.9118 GB, free: 13.95 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005638/0.6752, allocations: 121 kB / 0.9119 GB, free: 13.83 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 7.537e-05/0.6753, allocations: 23.86 kB / 0.912 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 4.753e-05/0.6753, allocations: 0 / 0.912 GB, free: 13.81 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 3.741e-05/0.6754, allocations: 4 kB / 0.912 GB, free: 13.8 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.301e-05/0.6754, allocations: 11.92 kB / 0.912 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.6754, allocations: 0 / 0.912 GB, free: 13.79 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004826/0.6759, allocations: 175.7 kB / 0.9121 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 1.437e-05/0.6759, allocations: 3.984 kB / 0.9122 GB, free: 13.62 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.864e-05/0.676, allocations: 7.938 kB / 0.9122 GB, free: 13.61 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002602/0.6762, allocations: 109.7 kB / 0.9123 GB, free: 13.51 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.6763, allocations: 4 kB / 0.9123 GB, free: 13.51 MB / 0.67 GB Notification: Performance of FrontEnd: time 6.302e-06/0.6763, allocations: 3.984 kB / 0.9123 GB, free: 13.5 MB / 0.67 GB Notification: Performance of Transformations before backend: time 9.778e-06/0.6763, allocations: 3.938 kB / 0.9123 GB, free: 13.5 MB / 0.67 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.000373/0.6767, allocations: 347.2 kB / 0.9126 GB, free: 13.11 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.6767, allocations: 15.97 kB / 0.9126 GB, free: 13.1 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000554/0.6773, allocations: 36.89 kB / 0.9127 GB, free: 13.06 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.6774, allocations: 168.5 kB / 0.9128 GB, free: 12.86 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.6775, allocations: 7.938 kB / 0.9128 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.679e-05/0.6775, allocations: 3.938 kB / 0.9128 GB, free: 12.85 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000193/0.6777, allocations: 46.34 kB / 0.9129 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.6777, allocations: 0 / 0.9129 GB, free: 12.8 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.636e-05/0.6777, allocations: 4 kB / 0.9129 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.6777, allocations: 0 / 0.9129 GB, free: 12.79 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001252/0.6779, allocations: 23.97 kB / 0.9129 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004224/0.6783, allocations: 248.8 kB / 0.9131 GB, free: 12.48 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 6.451e-05/0.6784, allocations: 26.58 kB / 0.9132 GB, free: 12.44 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.49e-05/0.6784, allocations: 8.922 kB / 0.9132 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.6784, allocations: 0 / 0.9132 GB, free: 12.43 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.6785, allocations: 44.42 kB / 0.9132 GB, free: 12.38 MB / 0.67 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.6785, allocations: 0 / 0.9132 GB, free: 12.38 MB / 0.67 GB Notification: Performance of matching and sorting (n=2): time 0.0001725/0.6787, allocations: 37.64 kB / 0.9132 GB, free: 12.34 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.6787, allocations: 59.41 kB / 0.9133 GB, free: 12.27 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6789, allocations: 109.8 kB / 0.9134 GB, free: 12.15 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/0.6789, allocations: 25.7 kB / 0.9134 GB, free: 12.12 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 4.844e-05/0.6789, allocations: 92.14 kB / 0.9135 GB, free: 12.02 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.513e-06/0.679, allocations: 8 kB / 0.9135 GB, free: 12.02 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-05/0.679, allocations: 25.66 kB / 0.9136 GB, free: 11.98 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.6791, allocations: 314.8 kB / 0.9139 GB, free: 11.67 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.41e-05/0.6792, allocations: 7.984 kB / 0.9139 GB, free: 11.66 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.736e-05/0.6793, allocations: 15.98 kB / 0.9139 GB, free: 11.64 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.413e-05/0.6793, allocations: 20.8 kB / 0.9139 GB, free: 11.62 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.6794, allocations: 4 kB / 0.9139 GB, free: 11.62 MB / 0.67 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001925/0.6796, allocations: 61.59 kB / 0.914 GB, free: 11.55 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6796, allocations: 4 kB / 0.914 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.6796, allocations: 0 / 0.914 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.6796, allocations: 4 kB / 0.914 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.6797, allocations: 7.984 kB / 0.914 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.6798, allocations: 0 / 0.914 GB, free: 11.54 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.6799, allocations: 19.98 kB / 0.914 GB, free: 11.52 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.6799, allocations: 3.938 kB / 0.914 GB, free: 11.51 MB / 0.67 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 8.713e-05/0.68, allocations: 106.5 kB / 0.9141 GB, free: 11.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.032e-05/0.68, allocations: 4 kB / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.359e-05/0.6801, allocations: 3.125 kB / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.6801, allocations: 0 / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.6801, allocations: 0 / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.6801, allocations: 0 / 0.9141 GB, free: 11.39 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.6803, allocations: 162.9 kB / 0.9143 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.6803, allocations: 0 / 0.9143 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.699e-05/0.6803, allocations: 7.984 kB / 0.9143 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.6803, allocations: 0 / 0.9143 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.6804, allocations: 3.938 kB / 0.9143 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.6804, allocations: 0 / 0.9143 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.6804, allocations: 0 / 0.9143 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001294/0.6805, allocations: 143.4 kB / 0.9144 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 5.545e-05/0.6806, allocations: 85.12 kB / 0.9145 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.875e-05/0.6806, allocations: 6.312 kB / 0.9145 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.426e-05/0.6807, allocations: 4 kB / 0.9145 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.6807, allocations: 0 / 0.9145 GB, free: 10.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.6807, allocations: 0 / 0.9145 GB, free: 10.91 MB / 0.67 GB Notification: Performance of sorting global known variables: time 9.824e-05/0.6808, allocations: 95.2 kB / 0.9146 GB, free: 10.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6808, allocations: 0 / 0.9146 GB, free: 10.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0002431/0.6811, allocations: 15.94 kB / 0.9146 GB, free: 10.8 MB / 0.67 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.0001864/0.6813, allocations: 115.2 kB / 0.9147 GB, free: 10.68 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0001499/0.6814, allocations: 19.92 kB / 0.9147 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6814, allocations: 0 / 0.9147 GB, free: 10.66 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 1.652e-05/0.6815, allocations: 15.92 kB / 0.9148 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.6818, allocations: 4 kB / 0.9148 GB, free: 10.64 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003184/0.6821, allocations: 125.8 kB / 0.9149 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.6824, allocations: 0.6729 MB / 0.9155 GB, free: 9.793 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 6.399e-05/0.6825, allocations: 12.55 kB / 0.9155 GB, free: 9.781 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.057e-05/0.6825, allocations: 11.44 kB / 0.9156 GB, free: 9.77 MB / 0.67 GB Notification: Performance of SimCode: time 3.11e-07/0.6826, allocations: 0 / 0.9156 GB, free: 9.77 MB / 0.67 GB Notification: Performance of Templates: time 0.003223/0.6858, allocations: 0.742 MB / 0.9163 GB, free: 9.039 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)