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.1977/0.1985, allocations: 82.23 MB / 0.5941 GB, free: 5.531 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi): time 0.002889/0.2015, allocations: 1.369 MB / 0.5954 GB, free: 4.145 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.5655/0.767, allocations: 145.2 MB / 0.7373 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.167e-05/0.7672, allocations: 4.469 kB / 0.7373 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.778e-05/0.7672, allocations: 2.484 kB / 0.7373 GB, free: 15.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.7673, allocations: 20.09 kB / 0.7373 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003265/0.7677, allocations: 87.39 kB / 0.7374 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002071/0.7679, allocations: 107.8 kB / 0.7375 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001683/0.7681, allocations: 25.34 kB / 0.7375 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.7683, allocations: 51.08 kB / 0.7376 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.7684, allocations: 41.62 kB / 0.7376 GB, free: 15.21 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.7685, allocations: 7.25 kB / 0.7376 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001347/0.7686, allocations: 41.94 kB / 0.7376 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.263e-05/0.7687, allocations: 11 kB / 0.7377 GB, free: 15.2 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.778e-05/0.7688, allocations: 69.64 kB / 0.7377 GB, free: 15.16 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002833/0.769, allocations: 105.7 kB / 0.7378 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.7691, allocations: 0 / 0.7378 GB, free: 15.16 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.051e-06/0.7691, allocations: 0.6562 kB / 0.7378 GB, free: 15.16 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.097e-06/0.7691, allocations: 0 / 0.7378 GB, free: 15.16 MB / 0.545 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.0009518/0.7701, allocations: 403.5 kB / 0.7382 GB, free: 14.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/0.7701, allocations: 9.281 kB / 0.7382 GB, free: 14.78 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003904/0.7705, allocations: 29.33 kB / 0.7382 GB, free: 14.77 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.7708, allocations: 187.6 kB / 0.7384 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.7708, allocations: 7.781 kB / 0.7384 GB, free: 14.57 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.7709, allocations: 17.39 kB / 0.7385 GB, free: 14.56 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004065/0.7713, allocations: 141.1 kB / 0.7386 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.7713, allocations: 2.438 kB / 0.7386 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.02e-05/0.7713, allocations: 5.25 kB / 0.7386 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.7713, allocations: 10.89 kB / 0.7386 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003113/0.7717, allocations: 92.25 kB / 0.7387 GB, free: 14.48 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.7727, allocations: 0.7086 MB / 0.7394 GB, free: 13.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004162/0.7731, allocations: 96.03 kB / 0.7395 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.7733, allocations: 45.75 kB / 0.7395 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.7733, allocations: 0.5312 kB / 0.7395 GB, free: 13.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.7734, allocations: 31.66 kB / 0.7396 GB, free: 13.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.7734, allocations: 4.562 kB / 0.7396 GB, free: 13.77 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001422/0.7748, allocations: 328.6 kB / 0.7399 GB, free: 13.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.819e-05/0.7749, allocations: 53.83 kB / 0.7399 GB, free: 13.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.7751, allocations: 141.6 kB / 0.7401 GB, free: 13.46 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.7751, allocations: 28.27 kB / 0.7401 GB, free: 13.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.222e-05/0.7752, allocations: 112.6 kB / 0.7402 GB, free: 13.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.054e-05/0.7752, allocations: 21.55 kB / 0.7402 GB, free: 13.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.7753, allocations: 15.84 kB / 0.7402 GB, free: 13.31 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7754, allocations: 323.8 kB / 0.7405 GB, free: 12.99 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001483/0.7756, allocations: 44.3 kB / 0.7406 GB, free: 12.99 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001623/0.7757, allocations: 71.64 kB / 0.7406 GB, free: 12.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.7761, allocations: 122.3 kB / 0.7408 GB, free: 12.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.7761, allocations: 4.625 kB / 0.7408 GB, free: 12.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0008183/0.7769, allocations: 208.6 kB / 0.741 GB, free: 12.84 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/0.7769, allocations: 5.156 kB / 0.741 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.7769, allocations: 1.844 kB / 0.741 GB, free: 12.84 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005851/0.7775, allocations: 77.16 kB / 0.741 GB, free: 12.83 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.7777, allocations: 27.12 kB / 0.7411 GB, free: 12.82 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/0.7797, allocations: 1.402 MB / 0.7424 GB, free: 11.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.7799, allocations: 20.14 kB / 0.7425 GB, free: 11.51 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.7799, allocations: 4.125 kB / 0.7425 GB, free: 11.51 MB / 0.545 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.0001051/0.78, allocations: 126.1 kB / 0.7426 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.457e-05/0.7801, allocations: 14.41 kB / 0.7426 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007385/0.7808, allocations: 221.6 kB / 0.7428 GB, free: 11.33 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.7808, allocations: 5.625 kB / 0.7428 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.763e-06/0.7808, allocations: 0 / 0.7428 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.7809, allocations: 2.484 kB / 0.7428 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/0.7811, allocations: 221.8 kB / 0.743 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.7811, allocations: 0 / 0.743 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.7812, allocations: 21.38 kB / 0.743 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004363/0.7817, allocations: 73.48 kB / 0.7431 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.7817, allocations: 5.156 kB / 0.7431 GB, free: 11.11 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001532/0.7833, allocations: 1.415 MB / 0.7445 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.7833, allocations: 0 / 0.7445 GB, free: 9.809 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008478/0.7841, allocations: 300.5 kB / 0.7448 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.7842, allocations: 83.77 kB / 0.7449 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.7842, allocations: 4.859 kB / 0.7449 GB, free: 9.559 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.7844, allocations: 25.11 kB / 0.7449 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.938e-05/0.7844, allocations: 8.453 kB / 0.7449 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.7844, allocations: 4.812 kB / 0.7449 GB, free: 9.547 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.79e-05/0.7845, allocations: 111.5 kB / 0.745 GB, free: 9.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7846, allocations: 0 / 0.745 GB, free: 9.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002972/0.7849, allocations: 26.62 kB / 0.745 GB, free: 9.473 MB / 0.545 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.0001633/0.785, allocations: 114.2 kB / 0.7452 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.7857, allocations: 231.1 kB / 0.7454 GB, free: 9.258 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.7857, allocations: 5.531 kB / 0.7454 GB, free: 9.254 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003495/0.786, allocations: 182.6 kB / 0.7456 GB, free: 9.141 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.7864, allocations: 32.12 kB / 0.7456 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.787, allocations: 258.6 kB / 0.7458 GB, free: 8.965 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002962/0.7873, allocations: 0.7044 MB / 0.7465 GB, free: 8.266 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.331e-05/0.7874, allocations: 13.7 kB / 0.7465 GB, free: 8.262 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.7874, allocations: 14.19 kB / 0.7465 GB, free: 8.258 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.7874, allocations: 0 / 0.7465 GB, free: 8.258 MB / 0.545 GB Notification: Performance of Templates: time 0.005851/0.7933, allocations: 2.245 MB / 0.7487 GB, free: 7.77 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Examples.TWetBul_TDryBulPhi.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: