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.2196/0.2217, allocations: 80.84 MB / 0.6706 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06045/0.2822, allocations: 60.2 MB / 0.7294 GB, free: 5.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01636/0.2986, allocations: 11 MB / 0.7401 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002737/0.3014, allocations: 51.69 kB / 0.7402 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002544/0.304, allocations: 0.7026 MB / 0.7409 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007409/0.3115, allocations: 1.884 MB / 0.7427 GB, free: 7.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003594/0.3151, allocations: 1.088 MB / 0.7438 GB, free: 6.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006157/0.3213, allocations: 3.011 MB / 0.7467 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.3238, allocations: 1.115 MB / 0.7478 GB, free: 2.523 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004871/0.3287, allocations: 1.455 MB / 0.7492 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002739/0.3315, allocations: 0.9685 MB / 0.7502 GB, free: 96 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.4834/0.8149, allocations: 121.5 kB / 0.7503 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003747/0.8187, allocations: 1.075 MB / 0.7513 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007207/0.8194, allocations: 309.8 kB / 0.7516 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001641/0.8211, allocations: 0.7303 MB / 0.7524 GB, free: 22.46 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005247/0.8263, allocations: 2.174 MB / 0.7545 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.665e-06/0.8264, allocations: 0.6562 kB / 0.7545 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.344e-06/0.8264, allocations: 3.375 kB / 0.7545 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.8264, allocations: 2.156 kB / 0.7545 GB, free: 22.4 MB / 0.5762 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.004229/0.8306, allocations: 1.717 MB / 0.7562 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.92e-05/0.8307, allocations: 9.438 kB / 0.7562 GB, free: 21.52 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002921/0.8336, allocations: 456 kB / 0.7566 GB, free: 21.45 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002905/0.8366, allocations: 1.096 MB / 0.7577 GB, free: 21.1 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.8367, allocations: 71.75 kB / 0.7577 GB, free: 21.1 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001931/0.8369, allocations: 89.44 kB / 0.7578 GB, free: 21.1 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003421/0.8403, allocations: 1.263 MB / 0.7591 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.042e-05/0.8404, allocations: 4.938 kB / 0.7591 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.8405, allocations: 39.19 kB / 0.7591 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.593e-05/0.8406, allocations: 29.77 kB / 0.7591 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.844, allocations: 1.022 MB / 0.7601 GB, free: 20.76 MB / 0.5762 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.009269/0.8533, allocations: 6.348 MB / 0.7663 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.8561, allocations: 0.6651 MB / 0.767 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008168/0.8569, allocations: 272.9 kB / 0.7672 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.8572, allocations: 268.3 kB / 0.7675 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.35e-05/0.8573, allocations: 36.92 kB / 0.7675 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.407e-06/0.8573, allocations: 1.188 kB / 0.7675 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.009924/0.8672, allocations: 1.783 MB / 0.7693 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.8674, allocations: 159.4 kB / 0.7694 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004241/0.8716, allocations: 1.143 MB / 0.7705 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002852/0.8719, allocations: 39.2 kB / 0.7706 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007626/0.8727, allocations: 0.5892 MB / 0.7712 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.873, allocations: 143.4 kB / 0.7713 GB, free: 15.36 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005282/0.8735, allocations: 165.5 kB / 0.7715 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.8736, allocations: 335.3 kB / 0.7718 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.8749, allocations: 355.8 kB / 0.7721 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001571/0.8765, allocations: 0.7009 MB / 0.7728 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.879, allocations: 0.8659 MB / 0.7736 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-05/0.879, allocations: 1.312 kB / 0.7736 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.006194/0.8852, allocations: 1.39 MB / 0.775 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.551e-05/0.8853, allocations: 9.062 kB / 0.775 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/0.8853, allocations: 7.469 kB / 0.775 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001465/0.8868, allocations: 338.9 kB / 0.7753 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008559/0.8877, allocations: 173 kB / 0.7755 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/0.8899, allocations: 0.9454 MB / 0.7764 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/0.8928, allocations: 205.2 kB / 0.7766 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/0.8931, allocations: 37.5 kB / 0.7767 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002177/0.8953, allocations: 0.5347 MB / 0.7772 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001907/0.8972, allocations: 0.6737 MB / 0.7778 GB, free: 13 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002493/0.8997, allocations: 0.8248 MB / 0.7786 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.848e-05/0.8998, allocations: 1.969 kB / 0.7786 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005261/0.905, allocations: 1.249 MB / 0.7799 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.9051, allocations: 10.5 kB / 0.7799 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.9051, allocations: 7.688 kB / 0.7799 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.9063, allocations: 297.7 kB / 0.7802 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007591/0.9071, allocations: 168.7 kB / 0.7803 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/0.9087, allocations: 0.9056 MB / 0.7812 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/0.9111, allocations: 162.5 kB / 0.7814 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.9113, allocations: 36.66 kB / 0.7814 GB, free: 11.97 MB / 0.5762 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.0004736/0.9118, allocations: 233.7 kB / 0.7816 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000669/0.9125, allocations: 121.8 kB / 0.7817 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004845/0.9173, allocations: 1.009 MB / 0.7827 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/0.9174, allocations: 3.406 kB / 0.7827 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.9174, allocations: 1.125 kB / 0.7827 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.9174, allocations: 2.016 kB / 0.7827 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007267/0.9247, allocations: 2.076 MB / 0.7848 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.172e-05/0.9247, allocations: 8.125 kB / 0.7848 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.9251, allocations: 65.23 kB / 0.7848 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001247/0.9264, allocations: 319 kB / 0.7851 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.389e-05/0.9265, allocations: 15.28 kB / 0.7851 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/0.9283, allocations: 0.9322 MB / 0.7861 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.059e-05/0.9283, allocations: 3.281 kB / 0.7861 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003218/0.9315, allocations: 1.01 MB / 0.787 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/0.9326, allocations: 266.8 kB / 0.7873 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005962/0.9332, allocations: 13.38 kB / 0.7873 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/0.9348, allocations: 83 kB / 0.7874 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00018/0.935, allocations: 44.75 kB / 0.7874 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/0.9351, allocations: 23.66 kB / 0.7875 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002759/0.9379, allocations: 0.7835 MB / 0.7882 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9379, allocations: 4 kB / 0.7882 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003586/0.9415, allocations: 0.5689 MB / 0.7888 GB, free: 9.988 MB / 0.5762 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.0009302/0.9424, allocations: 267.5 kB / 0.789 GB, free: 9.875 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004281/0.9467, allocations: 1.251 MB / 0.7903 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.9468, allocations: 3.719 kB / 0.7903 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/0.9479, allocations: 344.1 kB / 0.7906 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00462/0.9525, allocations: 0.5629 MB / 0.7911 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/0.9593, allocations: 1.987 MB / 0.7931 GB, free: 8.984 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.9604, allocations: 1.052 MB / 0.7941 GB, free: 8.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00176/0.9622, allocations: 255.8 kB / 0.7944 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003832/0.9626, allocations: 80.92 kB / 0.7944 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of SimCode: time 1.222e-06/0.9626, allocations: 3.125 kB / 0.7944 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.04615/1.009, allocations: 26.38 MB / 0.8202 GB, free: 5.52 MB / 0.5919 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)