Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0007807/0.0007808, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004631/0.004631, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.256/1.256, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.636/1.636, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004882, allocations: 19.12 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2026/0.2031, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001425/0.2046, allocations: 1.013 MB / 0.7889 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5656/0.7702, allocations: 143.8 MB / 0.9293 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.382e-05/0.7703, allocations: 0 / 0.9293 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.053e-05/0.7703, allocations: 2.906 kB / 0.9293 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.883e-05/0.7703, allocations: 11.95 kB / 0.9293 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003927/0.7707, allocations: 95.12 kB / 0.9294 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.307e-05/0.7708, allocations: 21.56 kB / 0.9294 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.7709, allocations: 0.6562 kB / 0.9294 GB, free: 1.816 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.973e-05/0.7709, allocations: 13.11 kB / 0.9294 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.477e-05/0.771, allocations: 6.766 kB / 0.9294 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.771, allocations: 0 / 0.9294 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004311/0.7714, allocations: 182.3 kB / 0.9296 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.143e-05/0.7714, allocations: 0.6562 kB / 0.9296 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.189e-05/0.7715, allocations: 34.16 kB / 0.9296 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.7717, allocations: 117.7 kB / 0.9298 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.7717, allocations: 3.031 kB / 0.9298 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7717, allocations: 0 / 0.9298 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.549e-06/0.7718, allocations: 0 / 0.9298 GB, free: 1.754 MB / 0.7169 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.0004246/0.7722, allocations: 343.9 kB / 0.9301 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.7722, allocations: 7.469 kB / 0.9301 GB, free: 17.39 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005669/0.7728, allocations: 47.64 kB / 0.9301 GB, free: 17.38 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001074/0.7729, allocations: 162.5 kB / 0.9303 GB, free: 17.19 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.353e-05/0.7729, allocations: 7.125 kB / 0.9303 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.773, allocations: 0 / 0.9303 GB, free: 17.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001637/0.7731, allocations: 45.83 kB / 0.9303 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.7731, allocations: 3.656 kB / 0.9304 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.7732, allocations: 4 kB / 0.9304 GB, free: 17.15 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.7732, allocations: 3.984 kB / 0.9304 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.7733, allocations: 22.55 kB / 0.9304 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003493/0.7736, allocations: 249.8 kB / 0.9306 GB, free: 16.88 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.502e-05/0.7737, allocations: 23.42 kB / 0.9306 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.046e-05/0.7737, allocations: 15.39 kB / 0.9307 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.7737, allocations: 0 / 0.9307 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.7738, allocations: 31.94 kB / 0.9307 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.7738, allocations: 0 / 0.9307 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001384/0.7739, allocations: 46.53 kB / 0.9307 GB, free: 16.77 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/0.774, allocations: 51.41 kB / 0.9308 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.7741, allocations: 114.3 kB / 0.9309 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.7741, allocations: 25.7 kB / 0.9309 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.305e-05/0.7742, allocations: 94.97 kB / 0.931 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 7.443e-06/0.7742, allocations: 3.906 kB / 0.931 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.332e-05/0.7742, allocations: 15.3 kB / 0.931 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.7743, allocations: 314.8 kB / 0.9313 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.7744, allocations: 15.5 kB / 0.9313 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.28e-05/0.7745, allocations: 14.34 kB / 0.9314 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.848e-05/0.7746, allocations: 24.14 kB / 0.9314 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.7746, allocations: 0 / 0.9314 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001698/0.7747, allocations: 58.34 kB / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.7748, allocations: 5.062 kB / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.7748, allocations: 0 / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.7748, allocations: 0 / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.7749, allocations: 17.03 kB / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.7749, allocations: 0 / 0.9314 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.7751, allocations: 7.203 kB / 0.9315 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.7751, allocations: 6.438 kB / 0.9315 GB, free: 16.09 MB / 0.7325 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 6.686e-05/0.7751, allocations: 109.5 kB / 0.9316 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.7752, allocations: 4.75 kB / 0.9316 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.916e-05/0.7752, allocations: 3.125 kB / 0.9316 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-06/0.7752, allocations: 4 kB / 0.9316 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.7752, allocations: 0 / 0.9316 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.7752, allocations: 2.562 kB / 0.9316 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.7754, allocations: 161.7 kB / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7754, allocations: 0 / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.208e-05/0.7754, allocations: 6.531 kB / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.7754, allocations: 0 / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.7754, allocations: 2.844 kB / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7754, allocations: 2.734 kB / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.7754, allocations: 0 / 0.9317 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.596e-05/0.7755, allocations: 142 kB / 0.9319 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.406e-05/0.7756, allocations: 87.48 kB / 0.932 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.407e-05/0.7756, allocations: 0 / 0.932 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.7757, allocations: 2.766 kB / 0.932 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.7757, allocations: 0 / 0.932 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.7758, allocations: 5.047 kB / 0.932 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.198e-05/0.7759, allocations: 101.7 kB / 0.9321 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7759, allocations: 0 / 0.9321 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002347/0.7761, allocations: 12.41 kB / 0.9321 GB, free: 15.45 MB / 0.7325 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.0001845/0.7763, allocations: 110.3 kB / 0.9322 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001282/0.7764, allocations: 25.78 kB / 0.9322 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7764, allocations: 0 / 0.9322 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.7765, allocations: 7.875 kB / 0.9322 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.7768, allocations: 13.39 kB / 0.9322 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002652/0.777, allocations: 139.1 kB / 0.9324 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.7773, allocations: 0.6784 MB / 0.933 GB, free: 14.53 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.472e-05/0.7774, allocations: 9.953 kB / 0.933 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.7774, allocations: 10.72 kB / 0.933 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of SimCode: time 2.41e-07/0.7774, allocations: 0 / 0.933 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of Templates: time 0.002696/0.7801, allocations: 0.7084 MB / 0.9337 GB, free: 14.45 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: