Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") [/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.205/0.2071, allocations: 80.83 MB / 0.6706 GB, free: 4.609 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.5702/0.7773, allocations: 60.2 MB / 0.7294 GB, free: 6.484 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.7974, allocations: 10.99 MB / 0.7401 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003498/0.801, allocations: 47.25 kB / 0.7402 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003736/0.8048, allocations: 0.7296 MB / 0.7409 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008574/0.8134, allocations: 1.964 MB / 0.7428 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004163/0.8175, allocations: 1.101 MB / 0.7439 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006236/0.8238, allocations: 3.022 MB / 0.7468 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002041/0.8258, allocations: 1.105 MB / 0.7479 GB, free: 10.33 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004942/0.8308, allocations: 1.495 MB / 0.7494 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.8334, allocations: 0.9626 MB / 0.7503 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003379/0.8338, allocations: 127.9 kB / 0.7504 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003103/0.8369, allocations: 1.073 MB / 0.7515 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003872/0.8373, allocations: 317.1 kB / 0.7518 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.8385, allocations: 0.7232 MB / 0.7525 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004266/0.8428, allocations: 2.177 MB / 0.7546 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.228e-06/0.8428, allocations: 1.312 kB / 0.7546 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8428, allocations: 0 / 0.7546 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.545e-05/0.8428, allocations: 0 / 0.7546 GB, free: 6.156 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.003961/0.8468, allocations: 1.731 MB / 0.7563 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.8469, allocations: 10.44 kB / 0.7563 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002482/0.8494, allocations: 460.6 kB / 0.7568 GB, free: 4.617 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002405/0.8518, allocations: 1.089 MB / 0.7578 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.32e-05/0.8519, allocations: 72.5 kB / 0.7579 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.8521, allocations: 89.25 kB / 0.758 GB, free: 3.699 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002795/0.8549, allocations: 1.269 MB / 0.7592 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.8549, allocations: 1.812 kB / 0.7592 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-05/0.855, allocations: 35.78 kB / 0.7593 GB, free: 2.777 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.941e-05/0.8551, allocations: 33.09 kB / 0.7593 GB, free: 2.77 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002906/0.858, allocations: 1.025 MB / 0.7603 GB, free: 2.258 MB / 0.5606 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009188/0.8672, allocations: 6.361 MB / 0.7665 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00238/0.8696, allocations: 0.6624 MB / 0.7671 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.8703, allocations: 282.8 kB / 0.7674 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003679/0.8707, allocations: 260 kB / 0.7677 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.8707, allocations: 37.77 kB / 0.7677 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.697e-06/0.8708, allocations: 0 / 0.7677 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.008417/0.8792, allocations: 1.784 MB / 0.7694 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.8793, allocations: 163.7 kB / 0.7696 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.8821, allocations: 1.138 MB / 0.7707 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/0.8823, allocations: 38.61 kB / 0.7707 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006269/0.8829, allocations: 0.589 MB / 0.7713 GB, free: 9.266 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001842/0.8831, allocations: 140.4 kB / 0.7715 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.8835, allocations: 167.1 kB / 0.7716 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8837, allocations: 341.8 kB / 0.7719 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001051/0.8848, allocations: 351.9 kB / 0.7723 GB, free: 8.535 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001436/0.8862, allocations: 0.7072 MB / 0.773 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.8884, allocations: 0.8777 MB / 0.7738 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.318e-05/0.8884, allocations: 2.531 kB / 0.7738 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004833/0.8932, allocations: 1.386 MB / 0.7752 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.8933, allocations: 10.34 kB / 0.7752 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/0.8933, allocations: 5.188 kB / 0.7752 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.8946, allocations: 339.3 kB / 0.7755 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007076/0.8953, allocations: 167.8 kB / 0.7757 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.897, allocations: 0.9458 MB / 0.7766 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001823/0.8988, allocations: 198.8 kB / 0.7768 GB, free: 5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/0.899, allocations: 35.98 kB / 0.7768 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001412/0.9004, allocations: 0.537 MB / 0.7773 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001275/0.9017, allocations: 0.6715 MB / 0.778 GB, free: 3.598 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001726/0.9034, allocations: 0.8206 MB / 0.7788 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.073e-06/0.9034, allocations: 0 / 0.7788 GB, free: 2.668 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.003923/0.9074, allocations: 1.253 MB / 0.78 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.9074, allocations: 12 kB / 0.78 GB, free: 1.395 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.9074, allocations: 8 kB / 0.78 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009952/0.9084, allocations: 300.6 kB / 0.7803 GB, free: 1.09 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.9091, allocations: 159.8 kB / 0.7805 GB, free: 0.9336 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.9106, allocations: 0.906 MB / 0.7814 GB, free: 4 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001833/0.9124, allocations: 167.4 kB / 0.7815 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.792e-05/0.9125, allocations: 39.97 kB / 0.7816 GB, free: 15.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (75): * Single equations (assignments): 74 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0004178/0.9129, allocations: 228.8 kB / 0.7818 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000435/0.9134, allocations: 118.5 kB / 0.7819 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/0.9171, allocations: 1.012 MB / 0.7829 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.9171, allocations: 7.938 kB / 0.7829 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.9171, allocations: 0 / 0.7829 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.9171, allocations: 0 / 0.7829 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005898/0.923, allocations: 2.088 MB / 0.7849 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.969e-06/0.9231, allocations: 0 / 0.7849 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.9234, allocations: 71.88 kB / 0.785 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.9245, allocations: 320.8 kB / 0.7853 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-05/0.9245, allocations: 15.98 kB / 0.7853 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001501/0.926, allocations: 0.9309 MB / 0.7862 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.9261, allocations: 11.91 kB / 0.7862 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002522/0.9286, allocations: 0.9927 MB / 0.7872 GB, free: 9.828 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008058/0.9294, allocations: 271.5 kB / 0.7875 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004176/0.9298, allocations: 8 kB / 0.7875 GB, free: 9.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001162/0.931, allocations: 79.89 kB / 0.7876 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.9312, allocations: 47.83 kB / 0.7876 GB, free: 9.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.951e-05/0.9312, allocations: 23.98 kB / 0.7876 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001613/0.9329, allocations: 0.7872 MB / 0.7884 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9329, allocations: 0 / 0.7884 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002395/0.9353, allocations: 0.5576 MB / 0.7889 GB, free: 8.035 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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,13)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007677/0.9361, allocations: 261.3 kB / 0.7892 GB, free: 7.773 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0037/0.9398, allocations: 1.257 MB / 0.7904 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/0.9398, allocations: 0 / 0.7904 GB, free: 6.516 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009594/0.9408, allocations: 345.8 kB / 0.7907 GB, free: 6.18 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00293/0.9437, allocations: 0.5737 MB / 0.7913 GB, free: 5.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005698/0.9494, allocations: 1.975 MB / 0.7932 GB, free: 3.59 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.9503, allocations: 1.058 MB / 0.7943 GB, free: 2.5 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.00119/0.9515, allocations: 245.4 kB / 0.7945 GB, free: 2.258 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.9518, allocations: 83.42 kB / 0.7946 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of SimCode: time 1.082e-06/0.9518, allocations: 0 / 0.7946 GB, free: 2.176 MB / 0.5919 GB Notification: Performance of Templates: time 0.04657/0.9983, allocations: 26.38 MB / 0.8203 GB, free: 8.004 MB / 0.6231 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)