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.001319/0.001319, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002647/0.002647, allocations: 279.1 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.065/1.065, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.004247/0.004247, allocations: 98.91 kB / 0.6057 GB, free: 25.11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2144, allocations: 89.14 MB / 0.6928 GB, free: 4.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.004636/0.2191, allocations: 1.739 MB / 0.6945 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.2203, allocations: 405.7 kB / 0.6949 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.047e-05/0.2204, allocations: 4 kB / 0.6949 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001343/0.2206, allocations: 11.88 kB / 0.6949 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.36e-05/0.2207, allocations: 19.84 kB / 0.6949 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000535/0.2212, allocations: 106.4 kB / 0.695 GB, free: 2.59 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002149/0.2214, allocations: 95.64 kB / 0.6951 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001996/0.2216, allocations: 56.11 kB / 0.6951 GB, free: 2.441 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.959e-05/0.2218, allocations: 31.92 kB / 0.6952 GB, free: 2.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2219, allocations: 43.77 kB / 0.6952 GB, free: 2.367 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.03e-05/0.2219, allocations: 8 kB / 0.6952 GB, free: 2.359 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001952/0.2221, allocations: 55.95 kB / 0.6953 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.638e-05/0.2222, allocations: 19.91 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.565e-05/0.2223, allocations: 39.8 kB / 0.6953 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003134/0.2226, allocations: 123.7 kB / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.2226, allocations: 0 / 0.6954 GB, free: 2.125 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.36e-06/0.2227, allocations: 4 kB / 0.6954 GB, free: 2.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.2227, allocations: 0 / 0.6954 GB, free: 2.121 MB / 494.1 MB 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.0009684/0.2236, allocations: 423.1 kB / 0.6959 GB, free: 1.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.624e-05/0.2237, allocations: 12.03 kB / 0.6959 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003635/0.2241, allocations: 32.81 kB / 0.6959 GB, free: 1.613 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003162/0.2244, allocations: 192.1 kB / 0.6961 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.428e-05/0.2245, allocations: 34.27 kB / 0.6961 GB, free: 1.348 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.788e-05/0.2246, allocations: 8.375 kB / 0.6961 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004608/0.225, allocations: 103.8 kB / 0.6962 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.2251, allocations: 3.938 kB / 0.6962 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.2251, allocations: 4 kB / 0.6962 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.2251, allocations: 0 / 0.6962 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004281/0.2256, allocations: 87.88 kB / 0.6963 GB, free: 1.141 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001238/0.2268, allocations: 384.5 kB / 0.6967 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008331/0.2277, allocations: 134.6 kB / 0.6968 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002566/0.2279, allocations: 40.83 kB / 0.6968 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.228, allocations: 0 / 0.6968 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.798e-05/0.228, allocations: 38.56 kB / 0.6969 GB, free: 496 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.2281, allocations: 4 kB / 0.6969 GB, free: 492 kB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.000664/0.2287, allocations: 129.5 kB / 0.697 GB, free: 356 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.2288, allocations: 51.41 kB / 0.6971 GB, free: 292 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.229, allocations: 143.8 kB / 0.6972 GB, free: 140 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.115e-05/0.229, allocations: 29.7 kB / 0.6972 GB, free: 104 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.2291, allocations: 92.05 kB / 0.6973 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.2292, allocations: 31.83 kB / 0.6973 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.982e-05/0.2293, allocations: 25.72 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001822/0.2295, allocations: 318.8 kB / 0.6977 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001556/0.2296, allocations: 27.98 kB / 0.6977 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.2298, allocations: 49.75 kB / 0.6977 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.2301, allocations: 81.61 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.2301, allocations: 4 kB / 0.6978 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004289/0.2306, allocations: 110 kB / 0.6979 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.2306, allocations: 4 kB / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.699e-06/0.2306, allocations: 4 kB / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.2307, allocations: 0 / 0.6979 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2308, allocations: 23.86 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.2309, allocations: 4.031 kB / 0.698 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.231, allocations: 19.92 kB / 0.698 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.231, allocations: 0 / 0.698 GB, free: 15.28 MB / 0.4981 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.0001398/0.2312, allocations: 113.8 kB / 0.6981 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.2312, allocations: 7.906 kB / 0.6981 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.689e-05/0.2313, allocations: 16.72 kB / 0.6981 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.2313, allocations: 3.938 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.2313, allocations: 3.984 kB / 0.6981 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.2313, allocations: 4 kB / 0.6981 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003933/0.2317, allocations: 197.6 kB / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2318, allocations: 0 / 0.6983 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.2319, allocations: 15.98 kB / 0.6983 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2319, allocations: 0 / 0.6983 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.53e-05/0.2319, allocations: 4 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.232, allocations: 7.953 kB / 0.6983 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.232, allocations: 7.984 kB / 0.6983 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000525/0.2325, allocations: 203.4 kB / 0.6985 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.866e-05/0.2326, allocations: 81.02 kB / 0.6986 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.51e-05/0.2326, allocations: 0 / 0.6986 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002389/0.2329, allocations: 19.86 kB / 0.6986 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.23e-05/0.2329, allocations: 11.98 kB / 0.6987 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.233, allocations: 0 / 0.6987 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000111/0.2331, allocations: 109.5 kB / 0.6988 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2e-07/0.2331, allocations: 7.938 kB / 0.6988 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004491/0.2336, allocations: 16 kB / 0.6988 GB, free: 14.38 MB / 0.4981 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.000157/0.2337, allocations: 107.2 kB / 0.6989 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003786/0.2341, allocations: 67.89 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.2341, allocations: 0 / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.2343, allocations: 43.91 kB / 0.699 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006256/0.235, allocations: 28.05 kB / 0.699 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006555/0.2356, allocations: 228.8 kB / 0.6992 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004774/0.2361, allocations: 0.6965 MB / 0.6999 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000125/0.2363, allocations: 16.66 kB / 0.6999 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.013e-05/0.2363, allocations: 11.44 kB / 0.6999 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of SimCode: time 3.01e-07/0.2363, allocations: 0 / 0.6999 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of Templates: time 0.005725/0.2421, allocations: 1.323 MB / 0.7012 GB, free: 11.81 MB / 0.4981 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)