Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.629/2.629, allocations: 251.3 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001301/0.001301, allocations: 187.3 kB / 325.8 MB, free: 2.773 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.454/2.454, allocations: 205.4 MB / 0.5767 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 86.38 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004803/0.0004805, allocations: 13.38 kB / 0.7953 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.244, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001636/0.2457, allocations: 1.013 MB / 0.9 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1983/0.444, allocations: 134.1 MB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.055e-05/0.4441, allocations: 0 / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 1.913e-05/0.4442, allocations: 3.984 kB / 1.031 GB, free: 9.895 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.016e-05/0.4443, allocations: 3.938 kB / 1.031 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.4448, allocations: 99.55 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.4449, allocations: 19.94 kB / 1.031 GB, free: 9.773 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.576e-05/0.4449, allocations: 7.938 kB / 1.031 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 3.704e-05/0.445, allocations: 4 kB / 1.031 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.445, allocations: 11.97 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.4451, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005386/0.4456, allocations: 175.6 kB / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.146e-06/0.4456, allocations: 0 / 1.031 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.033e-05/0.4457, allocations: 29.7 kB / 1.031 GB, free: 9.543 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002261/0.4459, allocations: 76.14 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4459, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4459, allocations: 0 / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.983e-06/0.446, allocations: 7.938 kB / 1.031 GB, free: 9.461 MB / 0.6823 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.0003665/0.4463, allocations: 351.4 kB / 1.032 GB, free: 9.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.4464, allocations: 8.031 kB / 1.032 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008053/0.4472, allocations: 32.89 kB / 1.032 GB, free: 9.031 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4474, allocations: 172.3 kB / 1.032 GB, free: 8.824 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.4474, allocations: 3.938 kB / 1.032 GB, free: 8.82 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.869e-05/0.4474, allocations: 4 kB / 1.032 GB, free: 8.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002165/0.4476, allocations: 45.67 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.4477, allocations: 3.984 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4477, allocations: 0 / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.4477, allocations: 4 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001954/0.4479, allocations: 11.98 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004702/0.4484, allocations: 260.8 kB / 1.032 GB, free: 8.441 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.669e-05/0.4485, allocations: 26.5 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.33e-05/0.4485, allocations: 12.92 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.4485, allocations: 0 / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.4486, allocations: 30.56 kB / 1.032 GB, free: 8.352 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.472e-06/0.4486, allocations: 4 kB / 1.032 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001812/0.4488, allocations: 41.7 kB / 1.032 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.517e-05/0.4489, allocations: 59.33 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.449, allocations: 105.8 kB / 1.033 GB, free: 8.117 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.4491, allocations: 25.7 kB / 1.033 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.106e-05/0.4491, allocations: 88.08 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.005e-05/0.4492, allocations: 3.906 kB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/0.4492, allocations: 4 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.4493, allocations: 318.9 kB / 1.033 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.4494, allocations: 11.98 kB / 1.033 GB, free: 7.656 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.4495, allocations: 7.984 kB / 1.033 GB, free: 7.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001234/0.4497, allocations: 16.27 kB / 1.033 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.4497, allocations: 3.938 kB / 1.033 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000314/0.45, allocations: 61.66 kB / 1.033 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.45, allocations: 8 kB / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.4501, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4501, allocations: 0 / 1.033 GB, free: 7.555 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.4503, allocations: 11.92 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4503, allocations: 4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002534/0.4505, allocations: 11.92 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.4506, allocations: 0 / 1.033 GB, free: 7.527 MB / 0.6823 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 0.0001211/0.4507, allocations: 113.8 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.582e-05/0.4508, allocations: 3.906 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.4508, allocations: 11.11 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4508, allocations: 0 / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4508, allocations: 3.938 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.4508, allocations: 7.938 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001902/0.451, allocations: 145.7 kB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.161e-06/0.451, allocations: 4 kB / 1.033 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.4511, allocations: 4 kB / 1.033 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.4511, allocations: 4 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4511, allocations: 4 kB / 1.033 GB, free: 7.172 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.4511, allocations: 4 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.4512, allocations: 0 / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001415/0.4513, allocations: 139.4 kB / 1.033 GB, free: 7.016 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.4514, allocations: 77.11 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.4514, allocations: 7.984 kB / 1.034 GB, free: 6.914 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.4516, allocations: 4.031 kB / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.023e-05/0.4516, allocations: 0 / 1.034 GB, free: 6.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.4516, allocations: 7.938 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001374/0.4518, allocations: 87.27 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.4518, allocations: 4 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003264/0.4521, allocations: 12 kB / 1.034 GB, free: 6.801 MB / 0.6823 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.0002157/0.4523, allocations: 115.2 kB / 1.034 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001875/0.4525, allocations: 19.98 kB / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4526, allocations: 0 / 1.034 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.414e-05/0.4526, allocations: 7.938 kB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.453, allocations: 15.92 kB / 1.034 GB, free: 6.637 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003559/0.4533, allocations: 134.5 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.4536, allocations: 0.677 MB / 1.035 GB, free: 5.773 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001255/0.4538, allocations: 11.94 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.4538, allocations: 7.438 kB / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of SimCode: time 7.91e-07/0.4538, allocations: 0 / 1.035 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of Templates: time 0.003906/0.4577, allocations: 0.7007 MB / 1.035 GB, free: 5.059 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)