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.001635/0.001635, allocations: 108 kB / 15.61 MB, free: 152 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.002008/0.002007, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.365/1.365, allocations: 205.1 MB / 222.4 MB, free: 4.59 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.673/1.673, allocations: 292.3 MB / 0.5488 GB, free: 12.87 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.001506/0.001507, allocations: 70.8 kB / 0.6715 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2031/0.2047, allocations: 114.6 MB / 0.7834 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002301/0.207, allocations: 1.28 MB / 0.7846 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5896/0.7967, allocations: 147.6 MB / 0.9288 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.297e-05/0.7968, allocations: 4 kB / 0.9288 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.621e-05/0.7968, allocations: 0.7031 kB / 0.9288 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.7969, allocations: 11.66 kB / 0.9288 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004706/0.7974, allocations: 120.3 kB / 0.9289 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.805e-05/0.7974, allocations: 19.09 kB / 0.9289 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.956e-05/0.7975, allocations: 0.5156 kB / 0.9289 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.722e-05/0.7975, allocations: 11.02 kB / 0.929 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.12e-05/0.7976, allocations: 9.547 kB / 0.929 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.7976, allocations: 4 kB / 0.929 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.7981, allocations: 177.3 kB / 0.9291 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.18e-05/0.7981, allocations: 1.953 kB / 0.9291 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.759e-05/0.7981, allocations: 7.656 kB / 0.9291 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002423/0.7984, allocations: 112.9 kB / 0.9293 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.7984, allocations: 1.906 kB / 0.9293 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.296e-06/0.7984, allocations: 0 / 0.9293 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.7984, allocations: 3.938 kB / 0.9293 GB, free: 2.887 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.0005272/0.7989, allocations: 347.8 kB / 0.9296 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.799, allocations: 12.16 kB / 0.9296 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005981/0.7996, allocations: 39.88 kB / 0.9296 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.7997, allocations: 164.2 kB / 0.9298 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.7998, allocations: 6.719 kB / 0.9298 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.7998, allocations: 0 / 0.9298 GB, free: 18.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.8, allocations: 52.41 kB / 0.9299 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.8, allocations: 0 / 0.9299 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.8, allocations: 0.7969 kB / 0.9299 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.8, allocations: 0 / 0.9299 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.8001, allocations: 20.73 kB / 0.9299 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000352/0.8005, allocations: 256.4 kB / 0.9301 GB, free: 18.01 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.282e-05/0.8006, allocations: 24.45 kB / 0.9301 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.91e-05/0.8006, allocations: 12.03 kB / 0.9302 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.8006, allocations: 0 / 0.9302 GB, free: 17.98 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.8006, allocations: 33.75 kB / 0.9302 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.8006, allocations: 0 / 0.9302 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001501/0.8008, allocations: 44.7 kB / 0.9302 GB, free: 17.9 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.57e-05/0.8008, allocations: 55.53 kB / 0.9303 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.801, allocations: 112.8 kB / 0.9304 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.801, allocations: 26.91 kB / 0.9304 GB, free: 17.7 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.8011, allocations: 90.16 kB / 0.9305 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.296e-06/0.8011, allocations: 7.359 kB / 0.9305 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.443e-05/0.8011, allocations: 18.42 kB / 0.9305 GB, free: 17.59 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.8013, allocations: 322.7 kB / 0.9308 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.879e-05/0.8013, allocations: 11.75 kB / 0.9308 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.003e-05/0.8014, allocations: 9.469 kB / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.73e-05/0.8015, allocations: 21.08 kB / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.8015, allocations: 2.125 kB / 0.9309 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.8017, allocations: 62.11 kB / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.8017, allocations: 10.31 kB / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8017, allocations: 2.094 kB / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.8017, allocations: 0 / 0.9309 GB, free: 17.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001055/0.8019, allocations: 12.02 kB / 0.931 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.8019, allocations: 3.625 kB / 0.931 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/0.802, allocations: 5.797 kB / 0.931 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.802, allocations: 6.578 kB / 0.931 GB, free: 17.22 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 7.097e-05/0.8021, allocations: 111.7 kB / 0.9311 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.8022, allocations: 2.359 kB / 0.9311 GB, free: 17.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.063e-05/0.8022, allocations: 10.81 kB / 0.9311 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8022, allocations: 0.7969 kB / 0.9311 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8022, allocations: 0 / 0.9311 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8022, allocations: 1.094 kB / 0.9311 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.8024, allocations: 152.3 kB / 0.9312 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.8024, allocations: 0 / 0.9312 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.8024, allocations: 3.125 kB / 0.9312 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.8024, allocations: 0 / 0.9312 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.8024, allocations: 6.688 kB / 0.9312 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.8024, allocations: 4.891 kB / 0.9313 GB, free: 16.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8024, allocations: 3.938 kB / 0.9313 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001041/0.8025, allocations: 141 kB / 0.9314 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.854e-05/0.8026, allocations: 77.86 kB / 0.9315 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.8026, allocations: 3.234 kB / 0.9315 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.8027, allocations: 3.391 kB / 0.9315 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.699e-05/0.8028, allocations: 1.031 kB / 0.9315 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.8028, allocations: 6.281 kB / 0.9315 GB, free: 16.66 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.372e-05/0.8029, allocations: 95 kB / 0.9316 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8029, allocations: 0 / 0.9316 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002397/0.8031, allocations: 13.16 kB / 0.9316 GB, free: 16.58 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.0001935/0.8033, allocations: 114.1 kB / 0.9317 GB, free: 16.49 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001665/0.8035, allocations: 29.28 kB / 0.9317 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8035, allocations: 1.203 kB / 0.9317 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.271e-05/0.8035, allocations: 2.828 kB / 0.9317 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.8039, allocations: 11.14 kB / 0.9317 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.8042, allocations: 120.2 kB / 0.9318 GB, free: 16.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.8045, allocations: 0.6774 MB / 0.9325 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.684e-05/0.8046, allocations: 11.91 kB / 0.9325 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.599e-05/0.8047, allocations: 10.05 kB / 0.9325 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of SimCode: time 1.232e-06/0.8047, allocations: 0 / 0.9325 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.003065/0.8077, allocations: 0.7394 MB / 0.9333 GB, free: 15.59 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (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)