Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_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_1.6_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.001221/0.001221, allocations: 99.31 kB / 15.05 MB, free: 1.105 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.001485/0.001485, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.564/0.564, allocations: 95.58 MB / 366 MB, free: 10.41 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005898/0.0005899, allocations: 16 kB / 446.8 MB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2939, allocations: 70.34 MB / 0.505 GB, free: 16.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.0009962/0.2949, allocations: 0.976 MB / 0.506 GB, free: 15.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.4057/0.7007, allocations: 128.1 MB / 0.6311 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.655e-05/0.7007, allocations: 0 / 0.6311 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.171e-05/0.7008, allocations: 0.6094 kB / 0.6311 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.803e-05/0.7008, allocations: 10.38 kB / 0.6311 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.7013, allocations: 126.8 kB / 0.6312 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.795e-05/0.7014, allocations: 17.12 kB / 0.6312 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.214e-05/0.7015, allocations: 5.266 kB / 0.6312 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.137e-05/0.7015, allocations: 6 kB / 0.6312 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.996e-05/0.7015, allocations: 8.141 kB / 0.6312 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.446e-06/0.7015, allocations: 3.188 kB / 0.6312 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004472/0.702, allocations: 237 kB / 0.6315 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.945e-06/0.702, allocations: 0.9844 kB / 0.6315 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.702, allocations: 29.61 kB / 0.6315 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.7022, allocations: 97.89 kB / 0.6316 GB, free: 1.984 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7023, allocations: 0 / 0.6316 GB, free: 1.984 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.7023, allocations: 4 kB / 0.6316 GB, free: 1.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.656e-06/0.7023, allocations: 0.875 kB / 0.6316 GB, free: 1.98 MB / 494.1 MB 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.0004277/0.7027, allocations: 353.5 kB / 0.6319 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.7027, allocations: 12.64 kB / 0.6319 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.7029, allocations: 8.094 kB / 0.6319 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.703, allocations: 165.8 kB / 0.6321 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.7031, allocations: 4.719 kB / 0.6321 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.756e-06/0.7031, allocations: 6.578 kB / 0.6321 GB, free: 17.41 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.966e-05/0.7032, allocations: 34.23 kB / 0.6321 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.7032, allocations: 0 / 0.6321 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.7032, allocations: 4.391 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7032, allocations: 0.7812 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.883e-05/0.7032, allocations: 8.156 kB / 0.6322 GB, free: 17.37 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005949/0.7038, allocations: 489.4 kB / 0.6326 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.59e-05/0.7039, allocations: 23.42 kB / 0.6326 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.7039, allocations: 4 kB / 0.6327 GB, free: 16.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.7039, allocations: 38.36 kB / 0.6327 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.7039, allocations: 0 / 0.6327 GB, free: 16.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001443/0.7041, allocations: 42.56 kB / 0.6327 GB, free: 16.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.7041, allocations: 54.59 kB / 0.6328 GB, free: 16.66 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.422e-05/0.7042, allocations: 99.89 kB / 0.6329 GB, free: 16.56 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7043, allocations: 29.58 kB / 0.6329 GB, free: 16.53 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.635e-05/0.7043, allocations: 85.78 kB / 0.633 GB, free: 16.45 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.746e-06/0.7043, allocations: 9.734 kB / 0.633 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-06/0.7043, allocations: 0.8125 kB / 0.633 GB, free: 16.44 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.7044, allocations: 321.9 kB / 0.6333 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.389e-05/0.7045, allocations: 4.406 kB / 0.6333 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-06/0.7045, allocations: 4.266 kB / 0.6333 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.808e-05/0.7045, allocations: 6.438 kB / 0.6333 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7045, allocations: 0 / 0.6333 GB, free: 16.12 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.487e-05/0.7046, allocations: 41.91 kB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.7046, allocations: 15.55 kB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.7046, allocations: 0 / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.7046, allocations: 1.094 kB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.7047, allocations: 6.078 kB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.389e-06/0.7047, allocations: 0 / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.26e-05/0.7047, allocations: 0.9688 kB / 0.6334 GB, free: 16.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.7048, allocations: 0.9688 kB / 0.6334 GB, free: 16.09 MB / 0.4981 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 6.275e-05/0.7048, allocations: 114.2 kB / 0.6335 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.109e-05/0.7048, allocations: 5.438 kB / 0.6335 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.724e-05/0.7049, allocations: 13.62 kB / 0.6335 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.7049, allocations: 0.7812 kB / 0.6335 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.7049, allocations: 3.938 kB / 0.6335 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.7049, allocations: 5.75 kB / 0.6335 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.705, allocations: 160.4 kB / 0.6337 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.705, allocations: 4.719 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.306e-05/0.7051, allocations: 3.062 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.7051, allocations: 0.6094 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.901e-06/0.7051, allocations: 3.688 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.7051, allocations: 0 / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7051, allocations: 5.422 kB / 0.6337 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.663e-05/0.7052, allocations: 138.6 kB / 0.6338 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.967e-05/0.7052, allocations: 80.58 kB / 0.6339 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.7053, allocations: 1.938 kB / 0.6339 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.976e-05/0.7053, allocations: 0 / 0.6339 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.066e-05/0.7053, allocations: 0.8438 kB / 0.6339 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.7053, allocations: 1.969 kB / 0.6339 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.332e-05/0.7054, allocations: 91.16 kB / 0.634 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7054, allocations: 0 / 0.634 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002609/0.7057, allocations: 23.3 kB / 0.634 GB, free: 15.44 MB / 0.4981 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.00019/0.7058, allocations: 127.3 kB / 0.6341 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.949e-05/0.7059, allocations: 10.33 kB / 0.6341 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.7059, allocations: 0 / 0.6341 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-05/0.7059, allocations: 9.25 kB / 0.6342 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.7061, allocations: 19.94 kB / 0.6342 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000238/0.7064, allocations: 129.9 kB / 0.6343 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002198/0.7066, allocations: 0.6762 MB / 0.635 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.768e-05/0.7067, allocations: 3.484 kB / 0.635 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.323e-05/0.7067, allocations: 7.438 kB / 0.635 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.7067, allocations: 0 / 0.635 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of Templates: time 0.002891/0.7096, allocations: 0.7964 MB / 0.6357 GB, free: 14.43 MB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1) Environment - environmentSimulation: