Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.873/1.873, allocations: 288.4 MB / 303.4 MB, free: 8.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 185.3 kB / 372 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.4 MB / 0.6307 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007845/0.000785, allocations: 90.36 kB / 0.7441 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004908/0.0004909, allocations: 12.03 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2891, allocations: 115.3 MB / 0.9796 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00156/0.2907, allocations: 0.9978 MB / 0.9806 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6399/0.9306, allocations: 134.1 MB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.9308, allocations: 1.031 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.602e-05/0.9308, allocations: 0.7031 kB / 1.111 GB, free: 2.613 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 6.705e-05/0.9309, allocations: 8.656 kB / 1.111 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.9314, allocations: 95.92 kB / 1.112 GB, free: 2.59 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.419e-05/0.9315, allocations: 23.27 kB / 1.112 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 6.957e-05/0.9315, allocations: 1.562 kB / 1.112 GB, free: 2.582 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.314e-05/0.9316, allocations: 10.83 kB / 1.112 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 5.459e-05/0.9317, allocations: 7.734 kB / 1.112 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.9317, allocations: 1.062 kB / 1.112 GB, free: 2.578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.9321, allocations: 172.5 kB / 1.112 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.664e-06/0.9322, allocations: 0.7812 kB / 1.112 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.9323, allocations: 29.45 kB / 1.112 GB, free: 18.53 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.9325, allocations: 84.53 kB / 1.112 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9325, allocations: 3.047 kB / 1.112 GB, free: 18.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9325, allocations: 0 / 1.112 GB, free: 18.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.9325, allocations: 0 / 1.112 GB, free: 18.52 MB / 0.698 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.0003338/0.9328, allocations: 344.6 kB / 1.112 GB, free: 18.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.9329, allocations: 8.312 kB / 1.112 GB, free: 18.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005802/0.9335, allocations: 39.75 kB / 1.112 GB, free: 18.15 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9336, allocations: 172.2 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.9336, allocations: 1.188 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.9337, allocations: 1.031 kB / 1.112 GB, free: 17.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.9339, allocations: 54.88 kB / 1.112 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.9339, allocations: 0.875 kB / 1.112 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.9339, allocations: 0 / 1.112 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.9339, allocations: 1.188 kB / 1.113 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.934, allocations: 19.56 kB / 1.113 GB, free: 17.91 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.9344, allocations: 252.5 kB / 1.113 GB, free: 17.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.022e-05/0.9345, allocations: 25.59 kB / 1.113 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.9346, allocations: 11.2 kB / 1.113 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.9346, allocations: 1.594 kB / 1.113 GB, free: 17.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.9346, allocations: 33.8 kB / 1.113 GB, free: 17.57 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.9346, allocations: 1.594 kB / 1.113 GB, free: 17.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001627/0.9348, allocations: 41.98 kB / 1.113 GB, free: 17.53 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.624e-05/0.9348, allocations: 59.3 kB / 1.113 GB, free: 17.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.935, allocations: 110.9 kB / 1.113 GB, free: 17.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.935, allocations: 27.52 kB / 1.113 GB, free: 17.33 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.9351, allocations: 88.5 kB / 1.113 GB, free: 17.24 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.9351, allocations: 10.05 kB / 1.113 GB, free: 17.24 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/0.9351, allocations: 0 / 1.113 GB, free: 17.24 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.9352, allocations: 316.3 kB / 1.113 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.718e-05/0.9353, allocations: 12.27 kB / 1.113 GB, free: 16.92 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.56e-05/0.9354, allocations: 13.94 kB / 1.113 GB, free: 16.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.432e-05/0.9354, allocations: 8.781 kB / 1.113 GB, free: 16.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.9355, allocations: 0 / 1.113 GB, free: 16.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002286/0.9357, allocations: 66.19 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.9357, allocations: 5.031 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9357, allocations: 0 / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.9358, allocations: 5.219 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.9359, allocations: 13.52 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.9359, allocations: 0 / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.936, allocations: 12.67 kB / 1.114 GB, free: 16.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.054e-05/0.9361, allocations: 1.547 kB / 1.114 GB, free: 16.88 MB / 0.698 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 8.564e-05/0.9362, allocations: 113.3 kB / 1.114 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.9362, allocations: 6.953 kB / 1.114 GB, free: 16.76 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.373e-05/0.9362, allocations: 5.141 kB / 1.114 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.9362, allocations: 0.8906 kB / 1.114 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.9362, allocations: 1.531 kB / 1.114 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.9362, allocations: 0 / 1.114 GB, free: 16.75 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.9364, allocations: 156.1 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.9364, allocations: 5.516 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.361e-05/0.9364, allocations: 2.297 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9364, allocations: 1.188 kB / 1.114 GB, free: 16.56 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-06/0.9365, allocations: 4 kB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.9365, allocations: 2.109 kB / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9365, allocations: 0 / 1.114 GB, free: 16.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.9366, allocations: 138.6 kB / 1.114 GB, free: 16.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.614e-05/0.9366, allocations: 88.02 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.801e-05/0.9367, allocations: 2.156 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.9368, allocations: 2.453 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.421e-05/0.9368, allocations: 5.656 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.9368, allocations: 3.047 kB / 1.114 GB, free: 16.32 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001323/0.937, allocations: 91.14 kB / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.11e-07/0.937, allocations: 0 / 1.114 GB, free: 16.24 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002672/0.9372, allocations: 15.91 kB / 1.114 GB, free: 16.24 MB / 0.698 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.0001826/0.9374, allocations: 107 kB / 1.114 GB, free: 16.15 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.9376, allocations: 23.08 kB / 1.114 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.9376, allocations: 0 / 1.114 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.708e-05/0.9376, allocations: 11.17 kB / 1.114 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003399/0.938, allocations: 11.45 kB / 1.114 GB, free: 16.14 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002837/0.9383, allocations: 134.5 kB / 1.114 GB, free: 16.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.9386, allocations: 0.6793 MB / 1.115 GB, free: 15.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.59e-05/0.9387, allocations: 8.391 kB / 1.115 GB, free: 15.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/0.9387, allocations: 10.05 kB / 1.115 GB, free: 15.32 MB / 0.698 GB Notification: Performance of SimCode: time 2.71e-07/0.9388, allocations: 0 / 1.115 GB, free: 15.32 MB / 0.698 GB Notification: Performance of Templates: time 0.003/0.9418, allocations: 0.7014 MB / 1.116 GB, free: 15.24 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)