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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7885/0.7885, allocations: 141.8 MB / 149.3 MB, free: 9.227 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 176.9 kB / 182.2 MB, free: 9.457 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.349/1.349, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009001/0.0009001, allocations: 84.11 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001636/0.001636, allocations: 281.3 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.39e-05, allocations: 4 kB / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3508, allocations: 82.77 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.4819, allocations: 110.2 MB / 0.865 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/0.4821, allocations: 79.84 kB / 0.865 GB, free: 1.598 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.493, allocations: 3.481 MB / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.353e-06/0.493, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.493, allocations: 0 / 0.8684 GB, free: 14.11 MB / 0.5417 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.0004693/0.4935, allocations: 394.3 kB / 0.8688 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.4936, allocations: 12.03 kB / 0.8688 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4938, allocations: 27.88 kB / 0.8689 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.494, allocations: 194.8 kB / 0.869 GB, free: 13.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.625e-05/0.4941, allocations: 37.7 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.4941, allocations: 7.938 kB / 0.8691 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001389/0.4943, allocations: 47.94 kB / 0.8691 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.4944, allocations: 74.92 kB / 0.8692 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4944, allocations: 0 / 0.8692 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.4944, allocations: 0 / 0.8692 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4944, allocations: 0 / 0.8692 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.495, allocations: 353 kB / 0.8695 GB, free: 12.85 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.4955, allocations: 118.7 kB / 0.8697 GB, free: 12.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.961e-05/0.4955, allocations: 28.8 kB / 0.8697 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.4955, allocations: 0 / 0.8697 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.003e-05/0.4956, allocations: 34.5 kB / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.4956, allocations: 0 / 0.8697 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=7): time 0.0001891/0.4958, allocations: 77.7 kB / 0.8698 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.555e-05/0.4958, allocations: 51.41 kB / 0.8698 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.456e-05/0.4959, allocations: 109.2 kB / 0.8699 GB, free: 12.39 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.659e-05/0.4959, allocations: 25.7 kB / 0.87 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.937e-05/0.496, allocations: 104 kB / 0.8701 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.4961, allocations: 23.64 kB / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.4961, allocations: 0 / 0.8701 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4962, allocations: 318.8 kB / 0.8704 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.677e-05/0.4962, allocations: 16 kB / 0.8704 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.246e-05/0.4963, allocations: 29.72 kB / 0.8704 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.167e-05/0.4963, allocations: 19.98 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4963, allocations: 0 / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001363/0.4965, allocations: 93.58 kB / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.4965, allocations: 4 kB / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4965, allocations: 0 / 0.8705 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.4965, allocations: 4 kB / 0.8706 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.4967, allocations: 19.98 kB / 0.8706 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.4967, allocations: 0 / 0.8706 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.538e-05/0.4968, allocations: 27.86 kB / 0.8706 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4968, allocations: 0 / 0.8706 GB, free: 11.69 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.616e-05/0.4969, allocations: 108.9 kB / 0.8707 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.4969, allocations: 0 / 0.8707 GB, free: 11.57 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.497, allocations: 16.62 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.497, allocations: 0 / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.497, allocations: 0 / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.497, allocations: 3.984 kB / 0.8707 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001715/0.4972, allocations: 174 kB / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/0.4972, allocations: 7.984 kB / 0.8709 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.4973, allocations: 16 kB / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.4973, allocations: 0 / 0.8709 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.4973, allocations: 7.984 kB / 0.8709 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.4973, allocations: 11.88 kB / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4973, allocations: 0 / 0.8709 GB, free: 11.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001517/0.4975, allocations: 175.4 kB / 0.8711 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.037e-05/0.4975, allocations: 85.02 kB / 0.8712 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.4976, allocations: 4 kB / 0.8712 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.4977, allocations: 11.98 kB / 0.8712 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.686e-05/0.4978, allocations: 7.984 kB / 0.8712 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.158e-05/0.4978, allocations: 4 kB / 0.8712 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.52e-05/0.4979, allocations: 92.41 kB / 0.8713 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4979, allocations: 0 / 0.8713 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002398/0.4981, allocations: 23.91 kB / 0.8713 GB, free: 10.87 MB / 0.5417 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 () * 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 (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.0001086/0.4982, allocations: 99.23 kB / 0.8714 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.4983, allocations: 43.94 kB / 0.8715 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4984, allocations: 0 / 0.8715 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 4.231e-05/0.4984, allocations: 24 kB / 0.8715 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.4987, allocations: 23.88 kB / 0.8715 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003313/0.499, allocations: 132.2 kB / 0.8716 GB, free: 10.53 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002344/0.4993, allocations: 0.6969 MB / 0.8723 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.819e-05/0.4993, allocations: 8.188 kB / 0.8723 GB, free: 9.793 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.4994, allocations: 11.44 kB / 0.8723 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of SimCode: time 2.71e-07/0.4994, allocations: 0 / 0.8723 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of Templates: time 0.003143/0.5025, allocations: 1.096 MB / 0.8734 GB, free: 8.711 MB / 0.5417 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)