Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00116/0.00116, allocations: 104.7 kB / 16.27 MB, free: 5.98 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.001141/0.001141, allocations: 189.8 kB / 17.2 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002471/0.002471, allocations: 287.7 kB / 291.3 MB, free: 14.52 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.146/1.146, allocations: 178.5 MB / 0.5079 GB, free: 12.71 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002618/0.002618, allocations: 91.84 kB / 0.6071 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1785, allocations: 89.13 MB / 0.6942 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.00239/0.1809, allocations: 1.294 MB / 0.6954 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.403/0.584, allocations: 147.6 MB / 0.8396 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.423e-05/0.584, allocations: 1.094 kB / 0.8396 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.124e-05/0.5841, allocations: 4.594 kB / 0.8396 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.5842, allocations: 5.922 kB / 0.8396 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006101/0.5848, allocations: 117.1 kB / 0.8397 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.773e-05/0.5849, allocations: 21.52 kB / 0.8397 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.29e-05/0.585, allocations: 7.469 kB / 0.8397 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.291e-05/0.585, allocations: 8.344 kB / 0.8397 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.585, allocations: 4.922 kB / 0.8397 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.5851, allocations: 0 / 0.8397 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004952/0.5856, allocations: 181.8 kB / 0.8399 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.409e-05/0.5856, allocations: 4.453 kB / 0.8399 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.551e-05/0.5856, allocations: 5.406 kB / 0.8399 GB, free: 13.02 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002895/0.5859, allocations: 114.9 kB / 0.84 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5859, allocations: 4 kB / 0.84 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.5859, allocations: 0 / 0.84 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.586, allocations: 2.406 kB / 0.84 GB, free: 12.98 MB / 0.6075 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.0004433/0.5864, allocations: 345.6 kB / 0.8404 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.5865, allocations: 10.59 kB / 0.8404 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005905/0.587, allocations: 38.64 kB / 0.8404 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.5872, allocations: 164.6 kB / 0.8406 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.923e-05/0.5872, allocations: 4.969 kB / 0.8406 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.5873, allocations: 5.609 kB / 0.8406 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.5875, allocations: 55.84 kB / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5875, allocations: 1.125 kB / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.5875, allocations: 0.8438 kB / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.5875, allocations: 0 / 0.8406 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.5876, allocations: 21.14 kB / 0.8407 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.5881, allocations: 252 kB / 0.8409 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.598e-05/0.5882, allocations: 21.48 kB / 0.8409 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.5882, allocations: 13.55 kB / 0.8409 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.398e-06/0.5882, allocations: 1.719 kB / 0.8409 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.5882, allocations: 38.5 kB / 0.841 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.252e-06/0.5883, allocations: 0 / 0.841 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0001578/0.5884, allocations: 43.73 kB / 0.841 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.114e-05/0.5885, allocations: 51.41 kB / 0.8411 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001557/0.5886, allocations: 109.8 kB / 0.8412 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.5887, allocations: 25.7 kB / 0.8412 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.903e-05/0.5887, allocations: 90.17 kB / 0.8413 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.5887, allocations: 10.06 kB / 0.8413 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.5888, allocations: 21.94 kB / 0.8413 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5889, allocations: 317 kB / 0.8416 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.589, allocations: 8.297 kB / 0.8416 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.542e-05/0.5891, allocations: 17.83 kB / 0.8416 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.43e-05/0.5892, allocations: 28.48 kB / 0.8417 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.5892, allocations: 0 / 0.8417 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001941/0.5894, allocations: 57.67 kB / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.5894, allocations: 5.656 kB / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5894, allocations: 0 / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.5895, allocations: 1.797 kB / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.5896, allocations: 9.594 kB / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.5896, allocations: 0 / 0.8417 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.5897, allocations: 12.12 kB / 0.8418 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.344e-05/0.5897, allocations: 7.078 kB / 0.8418 GB, free: 11.28 MB / 0.6075 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 8.815e-05/0.5898, allocations: 111.4 kB / 0.8419 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.955e-05/0.5899, allocations: 1.875 kB / 0.8419 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.5899, allocations: 8.734 kB / 0.8419 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.5899, allocations: 1.062 kB / 0.8419 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5899, allocations: 3.938 kB / 0.8419 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5899, allocations: 4.984 kB / 0.8419 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001764/0.5901, allocations: 157.7 kB / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.5901, allocations: 0 / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/0.5901, allocations: 3.656 kB / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5902, allocations: 0 / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.812e-06/0.5902, allocations: 1.953 kB / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5902, allocations: 0.5 kB / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.666e-06/0.5902, allocations: 3.984 kB / 0.842 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001319/0.5903, allocations: 144.3 kB / 0.8422 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.891e-05/0.5904, allocations: 79.11 kB / 0.8423 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.5904, allocations: 2.141 kB / 0.8423 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.5905, allocations: 2.75 kB / 0.8423 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.46e-05/0.5905, allocations: 5.062 kB / 0.8423 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.5905, allocations: 1.922 kB / 0.8423 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001114/0.5906, allocations: 95.19 kB / 0.8424 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5907, allocations: 0 / 0.8424 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002494/0.5909, allocations: 20.25 kB / 0.8424 GB, free: 10.62 MB / 0.6075 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.000185/0.5911, allocations: 107 kB / 0.8425 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001509/0.5913, allocations: 20.31 kB / 0.8425 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5913, allocations: 1.062 kB / 0.8425 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.5913, allocations: 4.172 kB / 0.8425 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.5916, allocations: 14.16 kB / 0.8425 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003677/0.592, allocations: 151.7 kB / 0.8427 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003226/0.5923, allocations: 0.6759 MB / 0.8433 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.5923, allocations: 11.23 kB / 0.8433 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.5924, allocations: 0 / 0.8433 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of Templates: time 0.002598/0.595, allocations: 0.8113 MB / 0.8441 GB, free: 9.629 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi.pipe 2>&1)