Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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/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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") translateModel(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.2256/0.2276, allocations: 80.83 MB / 0.6706 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.003585/0.2312, allocations: 1.669 MB / 0.6722 GB, free: 340 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.78/1.011, allocations: 149.1 MB / 0.8178 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/1.012, allocations: 4 kB / 0.8179 GB, free: 7.445 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 5.091e-05/1.012, allocations: 6.75 kB / 0.8179 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0001338/1.012, allocations: 27.25 kB / 0.8179 GB, free: 7.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000428/1.012, allocations: 90.25 kB / 0.818 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002026/1.012, allocations: 113.5 kB / 0.8181 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/1.013, allocations: 31.11 kB / 0.8181 GB, free: 7.375 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/1.013, allocations: 55.05 kB / 0.8182 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 9.748e-05/1.013, allocations: 57.14 kB / 0.8182 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/1.013, allocations: 7.375 kB / 0.8182 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/1.013, allocations: 36.14 kB / 0.8183 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 2.626e-05/1.013, allocations: 19.45 kB / 0.8183 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.393e-05/1.013, allocations: 39.41 kB / 0.8183 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/1.013, allocations: 118.9 kB / 0.8184 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.013, allocations: 4 kB / 0.8184 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.984e-06/1.013, allocations: 0 / 0.8184 GB, free: 7.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.652e-06/1.013, allocations: 0 / 0.8184 GB, free: 7.305 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000821/1.014, allocations: 413.5 kB / 0.8188 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/1.014, allocations: 8.875 kB / 0.8188 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003496/1.015, allocations: 33.77 kB / 0.8189 GB, free: 6.918 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/1.015, allocations: 185.5 kB / 0.819 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.015, allocations: 7.25 kB / 0.8191 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/1.015, allocations: 8.281 kB / 0.8191 GB, free: 6.715 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003334/1.015, allocations: 152.3 kB / 0.8192 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.015, allocations: 0 / 0.8192 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.707e-05/1.015, allocations: 5.312 kB / 0.8192 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/1.015, allocations: 3.875 kB / 0.8192 GB, free: 6.629 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002721/1.016, allocations: 86.61 kB / 0.8193 GB, free: 6.625 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009253/1.017, allocations: 0.7108 MB / 0.82 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002484/1.017, allocations: 93.41 kB / 0.8201 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001293/1.017, allocations: 41 kB / 0.8201 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/1.017, allocations: 0 / 0.8201 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/1.017, allocations: 31.94 kB / 0.8201 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=6): time 1.193e-06/1.017, allocations: 0 / 0.8201 GB, free: 5.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=6): time 0.001275/1.018, allocations: 313.4 kB / 0.8204 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/1.018, allocations: 52.78 kB / 0.8205 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/1.019, allocations: 138 kB / 0.8206 GB, free: 5.516 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/1.019, allocations: 25.7 kB / 0.8207 GB, free: 5.484 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 7.456e-05/1.019, allocations: 112.9 kB / 0.8208 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/1.019, allocations: 22.22 kB / 0.8208 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.751e-05/1.019, allocations: 28.83 kB / 0.8208 GB, free: 5.348 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.019, allocations: 324.7 kB / 0.8211 GB, free: 5.027 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/1.019, allocations: 36.34 kB / 0.8212 GB, free: 5.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/1.019, allocations: 72.23 kB / 0.8212 GB, free: 4.965 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002647/1.019, allocations: 110.2 kB / 0.8213 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.019, allocations: 1.156 kB / 0.8213 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000719/1.02, allocations: 193.1 kB / 0.8215 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/1.02, allocations: 5.438 kB / 0.8215 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.02, allocations: 1.562 kB / 0.8215 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005258/1.021, allocations: 76.55 kB / 0.8216 GB, free: 4.781 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/1.021, allocations: 31.83 kB / 0.8216 GB, free: 4.766 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001943/1.023, allocations: 1.503 MB / 0.8231 GB, free: 3.316 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/1.023, allocations: 23.31 kB / 0.8231 GB, free: 3.301 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.306e-05/1.023, allocations: 2.656 kB / 0.8231 GB, free: 3.301 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001263/1.023, allocations: 128.7 kB / 0.8232 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/1.023, allocations: 8.672 kB / 0.8232 GB, free: 3.172 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007407/1.024, allocations: 215.8 kB / 0.8235 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/1.024, allocations: 1.375 kB / 0.8235 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-06/1.024, allocations: 4 kB / 0.8235 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/1.024, allocations: 0 / 0.8235 GB, free: 3.066 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002555/1.024, allocations: 212 kB / 0.8237 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.024, allocations: 1.375 kB / 0.8237 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001137/1.024, allocations: 17.3 kB / 0.8237 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003537/1.025, allocations: 69.83 kB / 0.8237 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.025, allocations: 0 / 0.8237 GB, free: 2.816 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/1.026, allocations: 1.526 MB / 0.8252 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/1.026, allocations: 64 / 0.8252 GB, free: 1.367 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006982/1.027, allocations: 295.8 kB / 0.8255 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-05/1.027, allocations: 90.06 kB / 0.8256 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.734e-05/1.027, allocations: 0 / 0.8256 GB, free: 1.074 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/1.027, allocations: 11.98 kB / 0.8256 GB, free: 1.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.447e-05/1.027, allocations: 9.266 kB / 0.8256 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/1.027, allocations: 5.844 kB / 0.8256 GB, free: 1.066 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 8.751e-05/1.027, allocations: 108.1 kB / 0.8257 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/1.027, allocations: 0 / 0.8257 GB, free: 0.9844 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002954/1.028, allocations: 29.84 kB / 0.8258 GB, free: 0.9805 MB / 0.5919 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 (9): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001322/1.028, allocations: 104.2 kB / 0.8259 GB, free: 0.8906 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005928/1.029, allocations: 222 kB / 0.8261 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.029, allocations: 4.25 kB / 0.8261 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003354/1.029, allocations: 184.5 kB / 0.8263 GB, free: 0.6133 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/1.029, allocations: 35.73 kB / 0.8263 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005502/1.03, allocations: 229.9 kB / 0.8265 GB, free: 440 kB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003782/1.03, allocations: 0.6951 MB / 0.8272 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 7.962e-05/1.03, allocations: 20.91 kB / 0.8272 GB, free: 15.71 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.875e-05/1.03, allocations: 20.33 kB / 0.8272 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of SimCode: time 4.4e-07/1.03, allocations: 0 / 0.8272 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of Templates: time 0.006068/1.036, allocations: 2.481 MB / 0.8296 GB, free: 14.46 MB / 0.6075 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.pipe 2>&1)