Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.052/2.052, allocations: 391.2 MB / 407 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 199.3 kB / 499.1 MB, free: 4.625 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.286/1.286, allocations: 222.9 MB / 0.7948 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009635/0.0009635, allocations: 108.6 kB / 0.9329 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001067/0.001067, allocations: 52.83 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2596, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002352/0.262, allocations: 1.342 MB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.1217/0.3837, allocations: 145.3 MB / 1.361 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.156e-05/0.3837, allocations: 0 / 1.361 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.093e-05/0.3838, allocations: 0 / 1.361 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.85e-05/0.3839, allocations: 3.938 kB / 1.361 GB, free: 1.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.3843, allocations: 95.61 kB / 1.361 GB, free: 1.879 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 5.495e-05/0.3843, allocations: 15.88 kB / 1.361 GB, free: 1.863 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.977e-05/0.3844, allocations: 4 kB / 1.361 GB, free: 1.859 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.74e-05/0.3844, allocations: 15.97 kB / 1.361 GB, free: 1.844 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.3845, allocations: 11.94 kB / 1.361 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.3845, allocations: 0 / 1.361 GB, free: 1.832 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004035/0.3849, allocations: 175.6 kB / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.3849, allocations: 0 / 1.362 GB, free: 1.66 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.389e-05/0.3849, allocations: 7.938 kB / 1.362 GB, free: 1.652 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.3852, allocations: 117.9 kB / 1.362 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3852, allocations: 0 / 1.362 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.81e-07/0.3852, allocations: 0 / 1.362 GB, free: 1.539 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.256e-06/0.3852, allocations: 0 / 1.362 GB, free: 1.539 MB / 0.8542 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.0003494/0.3855, allocations: 359.4 kB / 1.362 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.3856, allocations: 11.98 kB / 1.362 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004936/0.3861, allocations: 32.89 kB / 1.362 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.3862, allocations: 164.4 kB / 1.362 GB, free: 0.8984 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.3862, allocations: 3.938 kB / 1.362 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.3862, allocations: 7.938 kB / 1.362 GB, free: 0.8867 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.3864, allocations: 53.59 kB / 1.362 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.3864, allocations: 0 / 1.362 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.3864, allocations: 0 / 1.362 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.3864, allocations: 0 / 1.362 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001125/0.3866, allocations: 15.98 kB / 1.362 GB, free: 0.8125 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003475/0.3869, allocations: 260.9 kB / 1.363 GB, free: 0.5078 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.894e-05/0.387, allocations: 22.52 kB / 1.363 GB, free: 488 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.387, allocations: 12.92 kB / 1.363 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.387, allocations: 0 / 1.363 GB, free: 472 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.387, allocations: 34.56 kB / 1.363 GB, free: 428 kB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.387, allocations: 0 / 1.363 GB, free: 428 kB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001361/0.3872, allocations: 53.59 kB / 1.363 GB, free: 368 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.3872, allocations: 51.41 kB / 1.363 GB, free: 304 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3873, allocations: 105.8 kB / 1.363 GB, free: 188 kB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.3874, allocations: 25.7 kB / 1.363 GB, free: 156 kB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.57e-05/0.3874, allocations: 88.08 kB / 1.363 GB, free: 64 kB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.246e-05/0.3874, allocations: 11.83 kB / 1.363 GB, free: 52 kB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.3875, allocations: 25.64 kB / 1.363 GB, free: 20 kB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.3876, allocations: 318.9 kB / 1.363 GB, free: 15.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.284e-05/0.3877, allocations: 11.98 kB / 1.363 GB, free: 15.69 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.465e-05/0.3877, allocations: 11.98 kB / 1.363 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.855e-05/0.3878, allocations: 20.86 kB / 1.363 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3878, allocations: 0 / 1.363 GB, free: 15.65 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001779/0.388, allocations: 65.97 kB / 1.363 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/0.388, allocations: 8 kB / 1.363 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.388, allocations: 0 / 1.363 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.3881, allocations: 0 / 1.363 GB, free: 15.57 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.589e-05/0.3882, allocations: 11.92 kB / 1.363 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3882, allocations: 7.984 kB / 1.363 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.3883, allocations: 7.938 kB / 1.364 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.3883, allocations: 3.984 kB / 1.364 GB, free: 15.54 MB / 0.8698 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.398e-05/0.3884, allocations: 114.5 kB / 1.364 GB, free: 15.42 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.3884, allocations: 7.906 kB / 1.364 GB, free: 15.41 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.3885, allocations: 7.125 kB / 1.364 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.3885, allocations: 0 / 1.364 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3885, allocations: 0 / 1.364 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3885, allocations: 3.938 kB / 1.364 GB, free: 15.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.3886, allocations: 149.7 kB / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3886, allocations: 0 / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.216e-05/0.3886, allocations: 4 kB / 1.364 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.3887, allocations: 7.984 kB / 1.364 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.3887, allocations: 0 / 1.364 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3887, allocations: 3.938 kB / 1.364 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.3887, allocations: 4 kB / 1.364 GB, free: 15.18 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003115/0.389, allocations: 0.681 MB / 1.364 GB, free: 14.45 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.389, allocations: 77.11 kB / 1.365 GB, free: 14.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.3891, allocations: 7.969 kB / 1.365 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.043e-05/0.3892, allocations: 7.984 kB / 1.365 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3892, allocations: 0 / 1.365 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3892, allocations: 0 / 1.365 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.673e-05/0.3893, allocations: 91.27 kB / 1.365 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3893, allocations: 0 / 1.365 GB, free: 14.25 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003098/0.3896, allocations: 16 kB / 1.365 GB, free: 14.23 MB / 0.8698 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.0001707/0.3898, allocations: 119.1 kB / 1.365 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.3899, allocations: 19.98 kB / 1.365 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.3899, allocations: 0 / 1.365 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.117e-05/0.3899, allocations: 4 kB / 1.365 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003002/0.3902, allocations: 8.922 kB / 1.365 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.3906, allocations: 239.7 kB / 1.365 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.3908, allocations: 0.677 MB / 1.366 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 7.189e-05/0.3909, allocations: 4 kB / 1.366 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.203e-05/0.3909, allocations: 11.44 kB / 1.366 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of SimCode: time 2.4e-07/0.3909, allocations: 0 / 1.366 GB, free: 13.08 MB / 0.8698 GB Notification: Performance of Templates: time 0.002521/0.3935, allocations: 0.7376 MB / 1.366 GB, free: 12.35 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)