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.001086/0.001086, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001003/0.001003, allocations: 198.8 kB / 16.14 MB, free: 6.656 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.421/1.421, allocations: 205.1 MB / 222 MB, free: 4.742 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.678/1.678, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001356/0.001356, allocations: 71.08 kB / 0.6708 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2441, allocations: 114.5 MB / 0.7827 GB, free: 14.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.002383/0.2465, allocations: 1.348 MB / 0.784 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6362/0.8827, allocations: 145.3 MB / 0.9259 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.665e-05/0.8828, allocations: 0 / 0.9259 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.074e-05/0.8829, allocations: 0.6875 kB / 0.9259 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.78e-05/0.8829, allocations: 14.16 kB / 0.9259 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.8833, allocations: 95.53 kB / 0.926 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.156e-05/0.8834, allocations: 19.81 kB / 0.926 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.277e-05/0.8834, allocations: 1.031 kB / 0.926 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.324e-05/0.8835, allocations: 5.859 kB / 0.9261 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.679e-05/0.8835, allocations: 13.41 kB / 0.9261 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.8835, allocations: 0 / 0.9261 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004187/0.8839, allocations: 180 kB / 0.9262 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.884, allocations: 1.547 kB / 0.9262 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.884, allocations: 10.34 kB / 0.9262 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002326/0.8842, allocations: 115 kB / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.8843, allocations: 0 / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.012e-06/0.8843, allocations: 1.094 kB / 0.9264 GB, free: 6 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8843, allocations: 0 / 0.9264 GB, free: 6 MB / 0.7325 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.0005251/0.8848, allocations: 348.5 kB / 0.9267 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.797e-05/0.8848, allocations: 10.09 kB / 0.9267 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006152/0.8855, allocations: 42.41 kB / 0.9267 GB, free: 21.63 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8856, allocations: 168.3 kB / 0.9269 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.8856, allocations: 5.219 kB / 0.9269 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.8856, allocations: 1.281 kB / 0.9269 GB, free: 21.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/0.8858, allocations: 46.91 kB / 0.927 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.8858, allocations: 0 / 0.927 GB, free: 21.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.8858, allocations: 5.641 kB / 0.927 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.8859, allocations: 0 / 0.927 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.886, allocations: 23.16 kB / 0.927 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003353/0.8863, allocations: 252 kB / 0.9272 GB, free: 21.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 4.681e-05/0.8864, allocations: 23.33 kB / 0.9272 GB, free: 21.11 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.026e-05/0.8864, allocations: 15.58 kB / 0.9273 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.035e-05/0.8864, allocations: 0.7188 kB / 0.9273 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.886e-05/0.8865, allocations: 31.98 kB / 0.9273 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/0.8865, allocations: 0.5156 kB / 0.9273 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/0.8866, allocations: 46.56 kB / 0.9273 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.8867, allocations: 51.41 kB / 0.9274 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8868, allocations: 113.5 kB / 0.9275 GB, free: 20.86 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.8868, allocations: 26.8 kB / 0.9275 GB, free: 20.83 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 4.103e-05/0.8869, allocations: 92.42 kB / 0.9276 GB, free: 20.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.312e-06/0.8869, allocations: 5 kB / 0.9276 GB, free: 20.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.086e-05/0.8869, allocations: 18.7 kB / 0.9276 GB, free: 20.72 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.093e-05/0.887, allocations: 322.9 kB / 0.9279 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.838e-05/0.8871, allocations: 11.66 kB / 0.9279 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.091e-05/0.8872, allocations: 14.06 kB / 0.928 GB, free: 20.4 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.702e-05/0.8873, allocations: 19.11 kB / 0.928 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8873, allocations: 0 / 0.928 GB, free: 20.39 MB / 0.7481 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001875/0.8875, allocations: 65.53 kB / 0.928 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.8875, allocations: 9.031 kB / 0.9281 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8875, allocations: 1.969 kB / 0.9281 GB, free: 20.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.8875, allocations: 4 kB / 0.9281 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.8876, allocations: 13.25 kB / 0.9281 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.909e-06/0.8876, allocations: 0 / 0.9281 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001573/0.8878, allocations: 4.406 kB / 0.9281 GB, free: 20.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.8878, allocations: 9.312 kB / 0.9281 GB, free: 20.35 MB / 0.7481 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.236e-05/0.8879, allocations: 109.9 kB / 0.9282 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.8879, allocations: 0.9688 kB / 0.9282 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.361e-05/0.8879, allocations: 14 kB / 0.9282 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.888, allocations: 1.094 kB / 0.9282 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.888, allocations: 0.9375 kB / 0.9282 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.888, allocations: 0 / 0.9282 GB, free: 20.22 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001282/0.8881, allocations: 155.5 kB / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.8881, allocations: 3.375 kB / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.777e-05/0.8881, allocations: 3.438 kB / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.8882, allocations: 0 / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.8882, allocations: 0.75 kB / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.8882, allocations: 3.875 kB / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.8882, allocations: 0 / 0.9284 GB, free: 20.03 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.8883, allocations: 148.4 kB / 0.9285 GB, free: 19.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.334e-05/0.8884, allocations: 78.2 kB / 0.9286 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.8884, allocations: 0.7812 kB / 0.9286 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.8885, allocations: 4.531 kB / 0.9286 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.8885, allocations: 2.328 kB / 0.9286 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-06/0.8885, allocations: 0.9688 kB / 0.9286 GB, free: 19.8 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001004/0.8886, allocations: 101.5 kB / 0.9287 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.152e-06/0.8887, allocations: 0.5625 kB / 0.9287 GB, free: 19.71 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002557/0.8889, allocations: 14.66 kB / 0.9287 GB, free: 19.71 MB / 0.7481 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.0002288/0.8892, allocations: 112.3 kB / 0.9288 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.8893, allocations: 19.09 kB / 0.9288 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.8893, allocations: 5.156 kB / 0.9288 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.316e-05/0.8893, allocations: 3.25 kB / 0.9288 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003681/0.8897, allocations: 14.02 kB / 0.9288 GB, free: 19.62 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002934/0.89, allocations: 122.4 kB / 0.929 GB, free: 19.51 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/0.8903, allocations: 0.6768 MB / 0.9296 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.994e-05/0.8903, allocations: 12.72 kB / 0.9296 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.259e-05/0.8904, allocations: 9.5 kB / 0.9296 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.8904, allocations: 4 kB / 0.9296 GB, free: 18.8 MB / 0.7481 GB Notification: Performance of Templates: time 0.002737/0.8931, allocations: 0.7103 MB / 0.9303 GB, free: 18.75 MB / 0.7481 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)