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.2328/0.2351, allocations: 80.82 MB / 0.6706 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06754/0.3027, allocations: 60.23 MB / 0.7294 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3226, allocations: 10.98 MB / 0.7401 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003298/0.3259, allocations: 55.69 kB / 0.7402 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.3287, allocations: 0.7025 MB / 0.7409 GB, free: 9.629 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.3361, allocations: 1.876 MB / 0.7427 GB, free: 7.746 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003527/0.3396, allocations: 1.088 MB / 0.7438 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004867/0.3445, allocations: 3.019 MB / 0.7467 GB, free: 3.637 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001839/0.3463, allocations: 1.099 MB / 0.7478 GB, free: 2.508 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004479/0.3508, allocations: 1.491 MB / 0.7493 GB, free: 1.012 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002211/0.353, allocations: 0.9686 MB / 0.7502 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.5534/0.9065, allocations: 124.9 kB / 0.7503 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004291/0.9109, allocations: 1.076 MB / 0.7514 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005669/0.9115, allocations: 308 kB / 0.7517 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001714/0.9132, allocations: 0.7273 MB / 0.7524 GB, free: 22.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005716/0.9189, allocations: 2.179 MB / 0.7545 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.9189, allocations: 0 / 0.7545 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.146e-06/0.919, allocations: 1.312 kB / 0.7545 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.299e-05/0.919, allocations: 1.219 kB / 0.7545 GB, free: 22.25 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.004296/0.9233, allocations: 1.717 MB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.017e-05/0.9234, allocations: 9.688 kB / 0.7562 GB, free: 21.38 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002875/0.9263, allocations: 458.6 kB / 0.7566 GB, free: 21.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.9295, allocations: 1.096 MB / 0.7577 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.9296, allocations: 68.22 kB / 0.7578 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001779/0.9298, allocations: 88.22 kB / 0.7579 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00365/0.9335, allocations: 1.259 MB / 0.7591 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.128e-05/0.9335, allocations: 4.656 kB / 0.7591 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.9336, allocations: 39.38 kB / 0.7591 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.124e-05/0.9337, allocations: 29.39 kB / 0.7592 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.9371, allocations: 1.024 MB / 0.7602 GB, free: 20.62 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.009482/0.9466, allocations: 6.347 MB / 0.7664 GB, free: 16.54 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002731/0.9493, allocations: 0.6614 MB / 0.767 GB, free: 16.51 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008116/0.9502, allocations: 278.6 kB / 0.7673 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/0.9505, allocations: 266.4 kB / 0.7675 GB, free: 16.21 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.9505, allocations: 39.98 kB / 0.7676 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.506e-06/0.9505, allocations: 0 / 0.7676 GB, free: 16.17 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.009072/0.9596, allocations: 1.778 MB / 0.7693 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.232e-05/0.9597, allocations: 163.6 kB / 0.7694 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/0.9621, allocations: 1.14 MB / 0.7706 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.9622, allocations: 37.02 kB / 0.7706 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/0.9628, allocations: 0.5993 MB / 0.7712 GB, free: 15.3 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/0.963, allocations: 141.9 kB / 0.7713 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003415/0.9633, allocations: 165.9 kB / 0.7715 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.839e-05/0.9634, allocations: 330.8 kB / 0.7718 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001106/0.9645, allocations: 360.2 kB / 0.7721 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.966, allocations: 0.695 MB / 0.7728 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.968, allocations: 0.8659 MB / 0.7737 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.381e-06/0.9681, allocations: 4.188 kB / 0.7737 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005019/0.9731, allocations: 1.398 MB / 0.775 GB, free: 14 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/0.9731, allocations: 8.562 kB / 0.775 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.9732, allocations: 11.94 kB / 0.775 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.9745, allocations: 333.5 kB / 0.7754 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007417/0.9752, allocations: 165 kB / 0.7755 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.9769, allocations: 0.9397 MB / 0.7764 GB, free: 13.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.9788, allocations: 208.9 kB / 0.7766 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.645e-05/0.9789, allocations: 42.69 kB / 0.7767 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001557/0.9805, allocations: 0.5356 MB / 0.7772 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001193/0.9817, allocations: 0.6719 MB / 0.7779 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00176/0.9835, allocations: 0.8244 MB / 0.7787 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.392e-06/0.9835, allocations: 2.625 kB / 0.7787 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004357/0.9878, allocations: 1.252 MB / 0.7799 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9879, allocations: 8.562 kB / 0.7799 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.9879, allocations: 7.75 kB / 0.7799 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.989, allocations: 299.4 kB / 0.7802 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007227/0.9897, allocations: 173.2 kB / 0.7804 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.9913, allocations: 0.9016 MB / 0.7812 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001958/0.9933, allocations: 160.3 kB / 0.7814 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/0.9934, allocations: 39.94 kB / 0.7814 GB, free: 11.83 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.0004615/0.9939, allocations: 228.5 kB / 0.7816 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002552/0.9941, allocations: 118.5 kB / 0.7818 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.9985, allocations: 1.01 MB / 0.7827 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.9986, allocations: 8.562 kB / 0.7828 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.9986, allocations: 1.359 kB / 0.7828 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.9986, allocations: 4.781 kB / 0.7828 GB, free: 11.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/1.005, allocations: 2.071 MB / 0.7848 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.929e-06/1.005, allocations: 2.188 kB / 0.7848 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003313/1.005, allocations: 67.5 kB / 0.7848 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/1.006, allocations: 329.9 kB / 0.7852 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.372e-05/1.006, allocations: 16.8 kB / 0.7852 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001434/1.007, allocations: 0.9274 MB / 0.7861 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/1.007, allocations: 3.25 kB / 0.7861 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002493/1.01, allocations: 1.006 MB / 0.7871 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005317/1.011, allocations: 266.7 kB / 0.7873 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.011, allocations: 13.62 kB / 0.7873 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/1.012, allocations: 82.7 kB / 0.7874 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001183/1.012, allocations: 42.44 kB / 0.7875 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.641e-05/1.012, allocations: 24.45 kB / 0.7875 GB, free: 10.03 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001377/1.013, allocations: 0.7877 MB / 0.7882 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.91e-07/1.013, allocations: 0 / 0.7882 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002017/1.015, allocations: 0.5635 MB / 0.7888 GB, free: 9.852 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.000624/1.016, allocations: 274.8 kB / 0.7891 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003779/1.02, allocations: 1.252 MB / 0.7903 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/1.02, allocations: 0 / 0.7903 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009408/1.021, allocations: 346.4 kB / 0.7906 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002483/1.023, allocations: 0.5626 MB / 0.7912 GB, free: 9.609 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005078/1.028, allocations: 1.981 MB / 0.7931 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000568/1.029, allocations: 1.06 MB / 0.7941 GB, free: 8.117 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001041/1.03, allocations: 253.6 kB / 0.7944 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/1.03, allocations: 83.7 kB / 0.7945 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of SimCode: time 6.52e-07/1.03, allocations: 0 / 0.7945 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of Templates: time 0.04364/1.074, allocations: 26.93 MB / 0.8208 GB, free: 4.887 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)