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.0009353/0.0009353, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006503/0.006503, allocations: 170.5 kB / 16.27 MB, free: 6.32 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.344/1.344, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001745/0.001745, allocations: 270.7 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9125/0.9125, allocations: 169.5 MB / 0.5004 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004191/0.0004192, allocations: 17.72 kB / 0.5987 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.207/0.2075, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.X_pSatpphi): time 0.001418/0.2089, allocations: 1.017 MB / 0.6861 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4772/0.6861, allocations: 143.8 MB / 0.8265 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.6862, allocations: 0 / 0.8265 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.06e-05/0.6863, allocations: 0 / 0.8265 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.145e-05/0.6863, allocations: 4.969 kB / 0.8265 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004105/0.6868, allocations: 103.5 kB / 0.8266 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.077e-05/0.6868, allocations: 20.69 kB / 0.8267 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.6869, allocations: 1.281 kB / 0.8267 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.208e-05/0.6869, allocations: 5.094 kB / 0.8267 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.146e-05/0.687, allocations: 9.922 kB / 0.8267 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.687, allocations: 1.219 kB / 0.8267 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000426/0.6874, allocations: 181 kB / 0.8269 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.6875, allocations: 1 kB / 0.8269 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.566e-05/0.6875, allocations: 40.39 kB / 0.8269 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.6877, allocations: 110.2 kB / 0.827 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6877, allocations: 1.375 kB / 0.827 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6877, allocations: 0 / 0.827 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.08e-06/0.6878, allocations: 0 / 0.827 GB, free: 15.6 MB / 0.5606 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.0003542/0.6881, allocations: 339.4 kB / 0.8273 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.6882, allocations: 9.531 kB / 0.8273 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005675/0.6887, allocations: 42.05 kB / 0.8274 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001386/0.6889, allocations: 177.4 kB / 0.8275 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.6889, allocations: 5 kB / 0.8275 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.613e-05/0.6889, allocations: 1.25 kB / 0.8275 GB, free: 15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6891, allocations: 41.14 kB / 0.8276 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.6891, allocations: 3.984 kB / 0.8276 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.6891, allocations: 4.719 kB / 0.8276 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.6892, allocations: 0 / 0.8276 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.6893, allocations: 22.39 kB / 0.8276 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003476/0.6896, allocations: 250.7 kB / 0.8279 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.6897, allocations: 27.34 kB / 0.8279 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.6897, allocations: 12.42 kB / 0.8279 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.6898, allocations: 4 kB / 0.8279 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.6898, allocations: 31.78 kB / 0.8279 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6898, allocations: 0 / 0.8279 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0001504/0.6899, allocations: 41.39 kB / 0.828 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.69, allocations: 59.33 kB / 0.828 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.6901, allocations: 107.2 kB / 0.8281 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/0.6902, allocations: 29.83 kB / 0.8282 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.389e-05/0.6902, allocations: 89.14 kB / 0.8282 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.929e-06/0.6902, allocations: 8.625 kB / 0.8282 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.563e-05/0.6903, allocations: 10.69 kB / 0.8283 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6904, allocations: 319.7 kB / 0.8286 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.6905, allocations: 5.469 kB / 0.8286 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.588e-05/0.6905, allocations: 14.08 kB / 0.8286 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.796e-05/0.6906, allocations: 27.25 kB / 0.8286 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6906, allocations: 0 / 0.8286 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002017/0.6908, allocations: 67.34 kB / 0.8287 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6909, allocations: 4.531 kB / 0.8287 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.6909, allocations: 0.9375 kB / 0.8287 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.6909, allocations: 0.5625 kB / 0.8287 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.691, allocations: 10.58 kB / 0.8287 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.691, allocations: 4 kB / 0.8287 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.6912, allocations: 10.11 kB / 0.8287 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.6912, allocations: 6.281 kB / 0.8287 GB, free: 13.84 MB / 0.5606 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.043e-05/0.6913, allocations: 108.4 kB / 0.8288 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.6913, allocations: 4.922 kB / 0.8288 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.6913, allocations: 7.625 kB / 0.8288 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.6913, allocations: 0 / 0.8288 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.6914, allocations: 5.125 kB / 0.8288 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6914, allocations: 0 / 0.8288 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.6915, allocations: 156.6 kB / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6915, allocations: 0.875 kB / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.511e-05/0.6916, allocations: 4.719 kB / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.6916, allocations: 1.062 kB / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.6916, allocations: 0 / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.6916, allocations: 0.9688 kB / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6916, allocations: 0 / 0.829 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.6917, allocations: 144.9 kB / 0.8291 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.066e-05/0.6918, allocations: 86.38 kB / 0.8292 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.909e-05/0.6918, allocations: 5.312 kB / 0.8292 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.247e-05/0.6919, allocations: 4.625 kB / 0.8292 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.739e-05/0.692, allocations: 1.5 kB / 0.8292 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.692, allocations: 1.344 kB / 0.8292 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001035/0.6921, allocations: 94.36 kB / 0.8293 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6921, allocations: 7.969 kB / 0.8293 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000261/0.6923, allocations: 15.78 kB / 0.8293 GB, free: 13.17 MB / 0.5606 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.0001954/0.6925, allocations: 109.5 kB / 0.8294 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001351/0.6927, allocations: 19.98 kB / 0.8294 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6927, allocations: 0 / 0.8294 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.158e-05/0.6927, allocations: 7.594 kB / 0.8295 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.693, allocations: 14.89 kB / 0.8295 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002911/0.6933, allocations: 135.1 kB / 0.8296 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.6936, allocations: 0.6761 MB / 0.8303 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 7.316e-05/0.6937, allocations: 7.156 kB / 0.8303 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.6937, allocations: 9.594 kB / 0.8303 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of SimCode: time 2.21e-07/0.6937, allocations: 0 / 0.8303 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of Templates: time 0.003109/0.6968, allocations: 0.7234 MB / 0.831 GB, free: 11.86 MB / 0.5606 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)