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.001665/0.001665, allocations: 113 kB / 16.41 MB, free: 6.043 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.001798/0.001798, allocations: 188.7 kB / 17.34 MB, free: 5.609 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.406/1.406, 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.002554/0.002554, allocations: 286.7 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9951/0.9951, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 91.86 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4792/0.482, allocations: 86.97 MB / 0.767 GB, free: 3.898 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004153/0.4862, allocations: 1.667 MB / 0.7687 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001141/0.4873, allocations: 404.5 kB / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.358e-05/0.4874, allocations: 0 / 0.7691 GB, free: 1.828 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000138/0.4875, allocations: 11.86 kB / 0.7691 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.104e-05/0.4876, allocations: 23.78 kB / 0.7691 GB, free: 1.793 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006168/0.4882, allocations: 115.6 kB / 0.7692 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.4885, allocations: 111.6 kB / 0.7693 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.4887, allocations: 31.77 kB / 0.7693 GB, free: 1.543 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.4888, allocations: 43.84 kB / 0.7694 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001032/0.4889, allocations: 43.83 kB / 0.7694 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.133e-05/0.4889, allocations: 8 kB / 0.7694 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.4891, allocations: 63.95 kB / 0.7695 GB, free: 1.387 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.134e-05/0.4892, allocations: 19.92 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.118e-05/0.4892, allocations: 51.66 kB / 0.7696 GB, free: 1.316 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.4896, allocations: 129.4 kB / 0.7697 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.4896, allocations: 3.984 kB / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4896, allocations: 0 / 0.7697 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.721e-06/0.4896, allocations: 7.938 kB / 0.7697 GB, free: 1.184 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.0008775/0.4905, allocations: 415 kB / 0.7701 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.166e-05/0.4905, allocations: 8.031 kB / 0.7701 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003759/0.4909, allocations: 36.81 kB / 0.7701 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.4913, allocations: 204.2 kB / 0.7703 GB, free: 456 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001011/0.4914, allocations: 34.27 kB / 0.7704 GB, free: 416 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.4914, allocations: 12.36 kB / 0.7704 GB, free: 404 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/0.4918, allocations: 104.7 kB / 0.7705 GB, free: 296 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.4918, allocations: 3.938 kB / 0.7705 GB, free: 292 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.556e-05/0.4919, allocations: 4 kB / 0.7705 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.4919, allocations: 0 / 0.7705 GB, free: 288 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/0.4923, allocations: 79.94 kB / 0.7705 GB, free: 208 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001108/0.4934, allocations: 392.4 kB / 0.7709 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008316/0.4942, allocations: 118.5 kB / 0.771 GB, free: 15.64 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4944, allocations: 48.88 kB / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.4944, allocations: 0 / 0.7711 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.805e-05/0.4945, allocations: 30.56 kB / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of pre-optimization done (n=7): time 1.532e-06/0.4945, allocations: 0 / 0.7711 GB, free: 15.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=7): time 0.000694/0.4952, allocations: 145.7 kB / 0.7712 GB, free: 15.41 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.4952, allocations: 51.41 kB / 0.7713 GB, free: 15.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.4954, allocations: 141.5 kB / 0.7714 GB, free: 15.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.4954, allocations: 29.64 kB / 0.7715 GB, free: 15.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.407e-05/0.4955, allocations: 104.1 kB / 0.7716 GB, free: 15.05 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.4956, allocations: 19.8 kB / 0.7716 GB, free: 15.04 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.797e-05/0.4956, allocations: 21.72 kB / 0.7716 GB, free: 15.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.4958, allocations: 322.8 kB / 0.7719 GB, free: 14.68 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001708/0.496, allocations: 31.97 kB / 0.7719 GB, free: 14.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.4962, allocations: 37.7 kB / 0.772 GB, free: 14.61 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003376/0.4965, allocations: 77.67 kB / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.4965, allocations: 0 / 0.772 GB, free: 14.53 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004587/0.497, allocations: 122 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.497, allocations: 4 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.497, allocations: 80 / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.497, allocations: 0 / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.4972, allocations: 23.92 kB / 0.7722 GB, free: 14.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.4972, allocations: 3.984 kB / 0.7722 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.4974, allocations: 15.88 kB / 0.7722 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.4974, allocations: 8 kB / 0.7722 GB, free: 14.35 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 0.0001395/0.4975, allocations: 124.2 kB / 0.7723 GB, free: 14.22 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.591e-05/0.4976, allocations: 7.953 kB / 0.7723 GB, free: 14.21 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.503e-05/0.4977, allocations: 12.7 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.4977, allocations: 7.938 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4977, allocations: 3.938 kB / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.4977, allocations: 0 / 0.7724 GB, free: 14.19 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003589/0.498, allocations: 201.6 kB / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.498, allocations: 0 / 0.7726 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.4982, allocations: 12 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-06/0.4982, allocations: 7.984 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.147e-05/0.4982, allocations: 0 / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.4982, allocations: 3.938 kB / 0.7726 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4982, allocations: 4 kB / 0.7726 GB, free: 13.91 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004982/0.4987, allocations: 203.4 kB / 0.7728 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.141e-05/0.4988, allocations: 85.06 kB / 0.7729 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.4988, allocations: 7.938 kB / 0.7729 GB, free: 13.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000264/0.4991, allocations: 19.92 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.868e-05/0.4992, allocations: 3.984 kB / 0.7729 GB, free: 13.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/0.4992, allocations: 4 kB / 0.7729 GB, free: 13.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001064/0.4993, allocations: 110.4 kB / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4993, allocations: 0 / 0.773 GB, free: 13.46 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000464/0.4997, allocations: 23.95 kB / 0.773 GB, free: 13.43 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 0.0001523/0.4999, allocations: 99.19 kB / 0.7731 GB, free: 13.33 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003799/0.5003, allocations: 79.89 kB / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5003, allocations: 0 / 0.7732 GB, free: 13.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.5004, allocations: 35.97 kB / 0.7732 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005421/0.501, allocations: 22.73 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006533/0.5016, allocations: 199 kB / 0.7734 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.502, allocations: 0.6924 MB / 0.7741 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.5021, allocations: 20.64 kB / 0.7741 GB, free: 12.23 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.465e-05/0.5022, allocations: 11.44 kB / 0.7741 GB, free: 12.22 MB / 0.545 GB Notification: Performance of SimCode: time 5.41e-07/0.5022, allocations: 0 / 0.7741 GB, free: 12.22 MB / 0.545 GB Notification: Performance of Templates: time 0.005949/0.5081, allocations: 1.474 MB / 0.7756 GB, free: 10.77 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)