Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.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.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 106.5 kB / 16.41 MB, free: 6.453 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.001639/0.001639, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.278/1.278, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002311/0.002311, allocations: 288.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8996/0.8996, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 103.8 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.389/0.3915, allocations: 86.98 MB / 0.767 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002798/0.3944, allocations: 1.659 MB / 0.7687 GB, free: 2.258 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0007407/0.3951, allocations: 408.5 kB / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.999e-05/0.3952, allocations: 0 / 0.769 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.3953, allocations: 7.875 kB / 0.7691 GB, free: 1.852 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.3954, allocations: 27.72 kB / 0.7691 GB, free: 1.824 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.3959, allocations: 118.4 kB / 0.7692 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001727/0.3961, allocations: 111.6 kB / 0.7693 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.3962, allocations: 47.61 kB / 0.7693 GB, free: 1.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.33e-05/0.3963, allocations: 43.83 kB / 0.7694 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.007e-05/0.3964, allocations: 35.84 kB / 0.7694 GB, free: 1.48 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.3964, allocations: 8 kB / 0.7694 GB, free: 1.473 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001367/0.3966, allocations: 63.95 kB / 0.7695 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.078e-05/0.3966, allocations: 27.92 kB / 0.7695 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.958e-05/0.3967, allocations: 55.7 kB / 0.7696 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.3969, allocations: 122.2 kB / 0.7697 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3969, allocations: 4 kB / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3969, allocations: 0 / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.613e-06/0.3969, allocations: 0 / 0.7697 GB, free: 1.207 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00065/0.3976, allocations: 415.1 kB / 0.7701 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.3976, allocations: 8.031 kB / 0.7701 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002411/0.3979, allocations: 28.83 kB / 0.7701 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.3982, allocations: 196.1 kB / 0.7703 GB, free: 496 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.795e-05/0.3982, allocations: 46.25 kB / 0.7704 GB, free: 444 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/0.3983, allocations: 8.375 kB / 0.7704 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.3986, allocations: 98.2 kB / 0.7705 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3986, allocations: 3.938 kB / 0.7705 GB, free: 328 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3986, allocations: 4 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.3986, allocations: 4 kB / 0.7705 GB, free: 320 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.3988, allocations: 82.22 kB / 0.7705 GB, free: 240 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007/0.3996, allocations: 384.5 kB / 0.7709 GB, free: 15.81 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005057/0.4001, allocations: 134.6 kB / 0.771 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.4002, allocations: 41 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.4002, allocations: 7.984 kB / 0.7711 GB, free: 15.62 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.4003, allocations: 30.56 kB / 0.7711 GB, free: 15.58 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.4003, allocations: 7.938 kB / 0.7711 GB, free: 15.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000417/0.4007, allocations: 133.5 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.514e-05/0.4007, allocations: 55.41 kB / 0.7713 GB, free: 15.37 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.4009, allocations: 145.5 kB / 0.7714 GB, free: 15.21 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.4009, allocations: 33.64 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.401, allocations: 100 kB / 0.7716 GB, free: 15.07 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.401, allocations: 27.66 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.401, allocations: 21.7 kB / 0.7716 GB, free: 15.02 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001138/0.4012, allocations: 314.8 kB / 0.7719 GB, free: 14.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4013, allocations: 27.97 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.4014, allocations: 49.69 kB / 0.772 GB, free: 14.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.4016, allocations: 81.61 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4016, allocations: 0 / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002435/0.4018, allocations: 109.5 kB / 0.7722 GB, free: 14.42 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4019, allocations: 8 kB / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4019, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.4019, allocations: 0 / 0.7722 GB, free: 14.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.402, allocations: 31.89 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.402, allocations: 0 / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.4021, allocations: 8 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.4021, allocations: 4 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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 7.733e-05/0.4022, allocations: 120.2 kB / 0.7723 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.408e-05/0.4022, allocations: 7.906 kB / 0.7723 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.668e-05/0.4023, allocations: 12.72 kB / 0.7724 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4023, allocations: 3.938 kB / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4023, allocations: 0 / 0.7724 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.4023, allocations: 8 kB / 0.7724 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002142/0.4025, allocations: 197.5 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4025, allocations: 0 / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001011/0.4026, allocations: 15.98 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4026, allocations: 0 / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.4026, allocations: 4 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4027, allocations: 3.938 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.4027, allocations: 7.938 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.403, allocations: 204 kB / 0.7728 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.694e-05/0.403, allocations: 92.94 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.403, allocations: 4 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4032, allocations: 11.92 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.185e-05/0.4032, allocations: 7.984 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.151e-05/0.4032, allocations: 7.984 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.054e-05/0.4033, allocations: 110.1 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4033, allocations: 4 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002373/0.4035, allocations: 20 kB / 0.773 GB, free: 13.46 MB / 0.545 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 (7): * Single equations (assignments): 7 * 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 8.983e-05/0.4036, allocations: 95.25 kB / 0.7731 GB, free: 13.36 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002496/0.4039, allocations: 75.97 kB / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.4039, allocations: 0 / 0.7732 GB, free: 13.28 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.404, allocations: 48.05 kB / 0.7732 GB, free: 13.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.4043, allocations: 23.98 kB / 0.7733 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.4048, allocations: 220.8 kB / 0.7735 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.405, allocations: 0.7002 MB / 0.7742 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.4051, allocations: 15.44 kB / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 4.1e-07/0.4051, allocations: 0 / 0.7742 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Templates: time 0.002495/0.4076, allocations: 1.303 MB / 0.7754 GB, free: 10.92 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)