Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure") translateModel(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001801/0.001801, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002092/0.002092, allocations: 193.1 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.1 MB / 222.4 MB, free: 4.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.3 MB / 0.5489 GB, free: 12.85 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001558/0.001558, allocations: 68.48 kB / 0.6715 GB, free: 26.37 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2158, allocations: 114.6 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.002965/0.2188, allocations: 1.655 MB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006612/0.2195, allocations: 395.8 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.2196, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.486e-05/0.2197, allocations: 11.86 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.723e-05/0.2197, allocations: 19.8 kB / 0.7854 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2201, allocations: 126.8 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001357/0.2203, allocations: 111.6 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000119/0.2204, allocations: 40.2 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.855e-05/0.2205, allocations: 43.78 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.251e-05/0.2205, allocations: 35.84 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.301e-05/0.2206, allocations: 11.98 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001505/0.2207, allocations: 63.95 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.942e-05/0.2207, allocations: 23.92 kB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.2208, allocations: 47.78 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001963/0.221, allocations: 127.6 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.221, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.192e-06/0.221, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.221, allocations: 0 / 0.786 GB, free: 10.78 MB / 0.6075 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.0005805/0.2216, allocations: 425.6 kB / 0.7864 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2217, allocations: 12.03 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.2219, allocations: 24.83 kB / 0.7864 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2221, allocations: 192.2 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.459e-05/0.2222, allocations: 38.25 kB / 0.7867 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2222, allocations: 8.375 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002625/0.2225, allocations: 112.8 kB / 0.7868 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.2225, allocations: 3.938 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.2225, allocations: 0 / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2225, allocations: 0 / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000248/0.2228, allocations: 83.88 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.2234, allocations: 396.4 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.224, allocations: 122.6 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001174/0.2241, allocations: 48.88 kB / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2241, allocations: 0 / 0.7874 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.2241, allocations: 34.5 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/0.2242, allocations: 4 kB / 0.7874 GB, free: 9.137 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.000408/0.2246, allocations: 133.5 kB / 0.7876 GB, free: 9 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.2246, allocations: 51.41 kB / 0.7876 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.2247, allocations: 137.8 kB / 0.7877 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.2248, allocations: 25.7 kB / 0.7878 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.044e-05/0.2248, allocations: 104.2 kB / 0.7879 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.2248, allocations: 27.64 kB / 0.7879 GB, free: 8.629 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.2249, allocations: 17.72 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.291e-05/0.225, allocations: 322.8 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001062/0.2251, allocations: 31.97 kB / 0.7882 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001121/0.2252, allocations: 49.94 kB / 0.7883 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.2254, allocations: 73.83 kB / 0.7884 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.2254, allocations: 4 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002561/0.2257, allocations: 113.5 kB / 0.7885 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2257, allocations: 4 kB / 0.7885 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2257, allocations: 3.938 kB / 0.7885 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.2257, allocations: 4 kB / 0.7885 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.2259, allocations: 23.92 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.2259, allocations: 3.984 kB / 0.7885 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.998e-05/0.226, allocations: 11.94 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.226, allocations: 4 kB / 0.7885 GB, free: 7.941 MB / 0.6075 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.24e-05/0.2261, allocations: 117.9 kB / 0.7886 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.618e-05/0.2261, allocations: 7.906 kB / 0.7886 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.2261, allocations: 16.7 kB / 0.7887 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.2261, allocations: 7.875 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.2262, allocations: 0 / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2262, allocations: 0 / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.2264, allocations: 213.4 kB / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2264, allocations: 0 / 0.7889 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.2265, allocations: 15.98 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2265, allocations: 4 kB / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.2265, allocations: 0 / 0.7889 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.2265, allocations: 3.938 kB / 0.7889 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.2265, allocations: 4 kB / 0.7889 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.2268, allocations: 195.4 kB / 0.7891 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.2269, allocations: 81.02 kB / 0.7892 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.2269, allocations: 7.984 kB / 0.7892 GB, free: 7.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.227, allocations: 19.92 kB / 0.7892 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.536e-05/0.2271, allocations: 7.938 kB / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/0.2271, allocations: 0 / 0.7892 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.017e-05/0.2272, allocations: 110.2 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2272, allocations: 0 / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002431/0.2274, allocations: 20 kB / 0.7893 GB, free: 7.031 MB / 0.6075 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 9.313e-05/0.2275, allocations: 99.25 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002689/0.2278, allocations: 79.88 kB / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2278, allocations: 0 / 0.7895 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001121/0.2279, allocations: 39.97 kB / 0.7895 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.2283, allocations: 23.92 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004302/0.2287, allocations: 207.5 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002329/0.229, allocations: 0.704 MB / 0.7904 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.556e-05/0.229, allocations: 8.672 kB / 0.7904 GB, free: 5.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.565e-05/0.2291, allocations: 15.44 kB / 0.7905 GB, free: 5.801 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2291, allocations: 4 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of Templates: time 0.003661/0.2328, allocations: 1.447 MB / 0.7919 GB, free: 4.375 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)