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.001431/0.001431, allocations: 104.4 kB / 16.36 MB, free: 5.953 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.001994/0.001994, allocations: 194.7 kB / 17.3 MB, free: 5.578 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.502/1.502, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.802/1.802, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.00155/0.00155, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure): time 0.003104/0.2207, allocations: 1.659 MB / 0.7864 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0007771/0.2215, allocations: 414.7 kB / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.87e-05/0.2216, allocations: 0 / 0.7868 GB, free: 1.086 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.2217, allocations: 11.88 kB / 0.7868 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.434e-05/0.2218, allocations: 23.78 kB / 0.7868 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004841/0.2223, allocations: 127.6 kB / 0.7869 GB, free: 0.9258 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001827/0.2225, allocations: 103.6 kB / 0.787 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.2227, allocations: 39.97 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.2228, allocations: 47.83 kB / 0.7871 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.462e-05/0.2229, allocations: 39.84 kB / 0.7872 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.2229, allocations: 8 kB / 0.7872 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2231, allocations: 59.95 kB / 0.7872 GB, free: 0.6328 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.439e-05/0.2231, allocations: 19.92 kB / 0.7872 GB, free: 0.6133 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.713e-05/0.2232, allocations: 43.78 kB / 0.7873 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002499/0.2234, allocations: 139.5 kB / 0.7874 GB, free: 444 kB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.2235, allocations: 3.938 kB / 0.7874 GB, free: 440 kB / 0.6544 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2235, allocations: 4 kB / 0.7874 GB, free: 436 kB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.2235, allocations: 0 / 0.7874 GB, free: 436 kB / 0.6544 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.3779/0.6013, allocations: 417.5 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.6014, allocations: 8.344 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002702/0.6017, allocations: 27.7 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.6019, allocations: 187.3 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.032e-05/0.6019, allocations: 39.44 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.716e-05/0.602, allocations: 8.75 kB / 0.7881 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.6022, allocations: 102.3 kB / 0.7882 GB, free: 48.56 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6022, allocations: 7.281 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.6023, allocations: 2.75 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.6023, allocations: 3 kB / 0.7882 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002169/0.6025, allocations: 82.81 kB / 0.7883 GB, free: 48.55 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000585/0.6031, allocations: 386.3 kB / 0.7886 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.6036, allocations: 126.4 kB / 0.7888 GB, free: 48.25 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001022/0.6037, allocations: 41.39 kB / 0.7888 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.6037, allocations: 5.469 kB / 0.7888 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.31e-05/0.6037, allocations: 34.5 kB / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.6037, allocations: 0 / 0.7888 GB, free: 48.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0003635/0.6041, allocations: 134.9 kB / 0.789 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.81e-05/0.6041, allocations: 54.03 kB / 0.789 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.56e-05/0.6042, allocations: 142.7 kB / 0.7892 GB, free: 48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.289e-05/0.6042, allocations: 28.05 kB / 0.7892 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.945e-05/0.6043, allocations: 104.1 kB / 0.7893 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.706e-05/0.6043, allocations: 25.8 kB / 0.7893 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.467e-05/0.6043, allocations: 21.41 kB / 0.7893 GB, free: 47.85 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.92e-05/0.6044, allocations: 322.1 kB / 0.7896 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.501e-05/0.6045, allocations: 28.39 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.6046, allocations: 45.53 kB / 0.7897 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.6047, allocations: 84.59 kB / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6048, allocations: 0 / 0.7898 GB, free: 47.51 MB / 0.6544 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002217/0.605, allocations: 114.6 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.605, allocations: 7.031 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.605, allocations: 2.688 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.605, allocations: 2.219 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.6051, allocations: 21.84 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/0.6052, allocations: 3.875 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.707e-05/0.6052, allocations: 8.203 kB / 0.7899 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.164e-06/0.6052, allocations: 4.625 kB / 0.7899 GB, free: 47.47 MB / 0.6544 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 5.337e-05/0.6053, allocations: 114.8 kB / 0.7901 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.6053, allocations: 8.781 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.42e-05/0.6054, allocations: 17.67 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.6054, allocations: 3.938 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.6054, allocations: 0 / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.6054, allocations: 1.312 kB / 0.7901 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.6056, allocations: 204 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.6056, allocations: 5.391 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.948e-05/0.6057, allocations: 17.09 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.6057, allocations: 0 / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.6057, allocations: 3.094 kB / 0.7903 GB, free: 47.16 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6057, allocations: 6 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.6057, allocations: 3.188 kB / 0.7903 GB, free: 47.15 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.6059, allocations: 199.4 kB / 0.7905 GB, free: 47.02 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.176e-05/0.606, allocations: 90.89 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.606, allocations: 3.062 kB / 0.7906 GB, free: 46.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00015/0.6061, allocations: 17.2 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.98e-05/0.6062, allocations: 6.047 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.889e-06/0.6062, allocations: 7.688 kB / 0.7906 GB, free: 46.91 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.115e-05/0.6063, allocations: 103.2 kB / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6063, allocations: 0 / 0.7907 GB, free: 46.84 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002459/0.6065, allocations: 18.22 kB / 0.7907 GB, free: 46.84 MB / 0.6544 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.723e-05/0.6066, allocations: 102.1 kB / 0.7908 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002636/0.6069, allocations: 79.16 kB / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6069, allocations: 0 / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.607, allocations: 38.94 kB / 0.7909 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.6074, allocations: 28.92 kB / 0.791 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003814/0.6078, allocations: 210.1 kB / 0.7912 GB, free: 46.62 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001/0.6079, allocations: 0.7002 MB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 5.92e-05/0.608, allocations: 11.95 kB / 0.7919 GB, free: 45.93 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.121e-05/0.608, allocations: 10.06 kB / 0.7919 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.608, allocations: 0 / 0.7919 GB, free: 45.92 MB / 0.6544 GB Notification: Performance of Templates: time 0.003364/0.6114, allocations: 1.437 MB / 0.7933 GB, free: 45.89 MB / 0.6544 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Examples.HumidityRatioPressure.pipe 2>&1)