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.2237/0.2246, allocations: 82.23 MB / 0.5941 GB, free: 5.559 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05906/0.2837, allocations: 58.79 MB / 0.6515 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.3007, allocations: 10.93 MB / 0.6622 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002742/0.3035, allocations: 55.62 kB / 0.6622 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002497/0.3061, allocations: 0.5633 MB / 0.6628 GB, free: 14.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.006486/0.3126, allocations: 1.734 MB / 0.6645 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003127/0.3157, allocations: 0.9716 MB / 0.6654 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005745/0.3215, allocations: 3.961 MB / 0.6693 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.323, allocations: 0.8936 MB / 0.6702 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003277/0.3263, allocations: 1.244 MB / 0.6714 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002215/0.3285, allocations: 0.9295 MB / 0.6723 GB, free: 5.219 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003795/0.3289, allocations: 48 kB / 0.6723 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.332, allocations: 0.9709 MB / 0.6733 GB, free: 4.199 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005033/0.3325, allocations: 222.9 kB / 0.6735 GB, free: 3.98 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001488/0.334, allocations: 0.6701 MB / 0.6742 GB, free: 3.301 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004186/0.3382, allocations: 2.075 MB / 0.6762 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3382, allocations: 0 / 0.6762 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3382, allocations: 0 / 0.6762 GB, free: 1.219 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.107e-05/0.3383, allocations: 0 / 0.6762 GB, free: 1.219 MB / 0.5137 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.00412/0.3424, allocations: 1.47 MB / 0.6776 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 7.296e-05/0.3425, allocations: 8.031 kB / 0.6776 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002859/0.3454, allocations: 498.8 kB / 0.6781 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.3481, allocations: 1.074 MB / 0.6792 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003675/0.3485, allocations: 129.9 kB / 0.6793 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.3486, allocations: 108 kB / 0.6794 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00277/0.3514, allocations: 1.28 MB / 0.6806 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.3515, allocations: 7.875 kB / 0.6806 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-05/0.3516, allocations: 40 kB / 0.6807 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.615e-05/0.3516, allocations: 24 kB / 0.6807 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002961/0.3546, allocations: 1.108 MB / 0.6818 GB, free: 11.29 MB / 0.5294 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.007092/0.3617, allocations: 6.034 MB / 0.6877 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002373/0.3641, allocations: 0.7462 MB / 0.6884 GB, free: 4.113 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007364/0.3648, allocations: 301.3 kB / 0.6887 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003229/0.3652, allocations: 267.8 kB / 0.6889 GB, free: 3.5 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.658e-05/0.3652, allocations: 38.89 kB / 0.689 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=39): time 3.055e-06/0.3652, allocations: 0 / 0.689 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of matching and sorting (n=39): time 0.008485/0.3737, allocations: 2.075 MB / 0.691 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001095/0.3738, allocations: 158.2 kB / 0.6912 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001833/0.3757, allocations: 1.124 MB / 0.6923 GB, free: 24 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.4032/0.7789, allocations: 35.8 kB / 0.6923 GB, free: 98.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008167/0.7798, allocations: 0.5774 MB / 0.6929 GB, free: 98.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001836/0.78, allocations: 138.7 kB / 0.693 GB, free: 98.53 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.7801, allocations: 58.08 kB / 0.693 GB, free: 98.52 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/0.7802, allocations: 335.5 kB / 0.6934 GB, free: 98.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001298/0.7815, allocations: 378.2 kB / 0.6937 GB, free: 98.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.7829, allocations: 0.704 MB / 0.6944 GB, free: 97.83 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00217/0.7851, allocations: 0.8988 MB / 0.6953 GB, free: 97.58 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.7852, allocations: 1.75 kB / 0.6953 GB, free: 97.58 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005189/0.7904, allocations: 1.504 MB / 0.6968 GB, free: 97.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.7907, allocations: 298.5 kB / 0.697 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.067e-05/0.7907, allocations: 8.875 kB / 0.6971 GB, free: 97.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/0.792, allocations: 369.2 kB / 0.6974 GB, free: 97.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/0.7929, allocations: 172.2 kB / 0.6976 GB, free: 97.07 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.7946, allocations: 0.9966 MB / 0.6985 GB, free: 96.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001875/0.7965, allocations: 238.6 kB / 0.6988 GB, free: 96.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.252e-05/0.7966, allocations: 36.91 kB / 0.6988 GB, free: 96.5 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.7966, allocations: 6.812 kB / 0.6988 GB, free: 96.49 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003761/0.8004, allocations: 1.196 MB / 0.7 GB, free: 96.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/0.8004, allocations: 6.469 kB / 0.7 GB, free: 96.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001055/0.8015, allocations: 328.3 kB / 0.7003 GB, free: 96.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.8021, allocations: 161.7 kB / 0.7005 GB, free: 96.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001401/0.8036, allocations: 0.9371 MB / 0.7014 GB, free: 95.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.8053, allocations: 204.3 kB / 0.7016 GB, free: 95.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/0.8054, allocations: 37.36 kB / 0.7016 GB, free: 95.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (69): * Single equations (assignments): 68 * 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.0007509/0.8061, allocations: 362.3 kB / 0.7019 GB, free: 95.56 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.8064, allocations: 114.2 kB / 0.7021 GB, free: 95.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00419/0.8106, allocations: 1.14 MB / 0.7032 GB, free: 95.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.8106, allocations: 7.922 kB / 0.7032 GB, free: 95.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.8106, allocations: 0 / 0.7032 GB, free: 95.4 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.387e-06/0.8106, allocations: 6.328 kB / 0.7032 GB, free: 95.39 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006056/0.8167, allocations: 2.217 MB / 0.7053 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.8167, allocations: 4.453 kB / 0.7054 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.8171, allocations: 73.94 kB / 0.7054 GB, free: 94.93 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00119/0.8183, allocations: 363.9 kB / 0.7058 GB, free: 94.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.222e-05/0.8183, allocations: 19 kB / 0.7058 GB, free: 94.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/0.82, allocations: 0.9901 MB / 0.7068 GB, free: 94.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.8201, allocations: 3.328 kB / 0.7068 GB, free: 94.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002987/0.823, allocations: 1.075 MB / 0.7078 GB, free: 94.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006153/0.8237, allocations: 286.3 kB / 0.7081 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001468/0.8238, allocations: 9.234 kB / 0.7081 GB, free: 93.81 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001106/0.8249, allocations: 131.7 kB / 0.7082 GB, free: 93.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.8251, allocations: 37.84 kB / 0.7083 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.754e-05/0.8251, allocations: 24.48 kB / 0.7083 GB, free: 93.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001571/0.8267, allocations: 0.7752 MB / 0.709 GB, free: 93.46 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.91e-07/0.8267, allocations: 1.062 kB / 0.709 GB, free: 93.46 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002694/0.8294, allocations: 0.5521 MB / 0.7096 GB, free: 93.37 MB / 0.5294 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.0008292/0.8303, allocations: 273.9 kB / 0.7098 GB, free: 93.24 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.004487/0.8348, allocations: 1.33 MB / 0.7111 GB, free: 92.86 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.495e-06/0.8348, allocations: 0.6875 kB / 0.7111 GB, free: 92.86 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.836, allocations: 366.7 kB / 0.7115 GB, free: 92.77 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003596/0.8396, allocations: 0.5607 MB / 0.712 GB, free: 92.63 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/0.846, allocations: 2.521 MB / 0.7145 GB, free: 91.26 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007579/0.8468, allocations: 1.049 MB / 0.7155 GB, free: 90.53 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001597/0.8484, allocations: 255.8 kB / 0.7158 GB, free: 90.47 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.8487, allocations: 80.92 kB / 0.7158 GB, free: 90.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.443e-06/0.8487, allocations: 0 / 0.7158 GB, free: 90.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.03958/0.8883, allocations: 25.18 MB / 0.7404 GB, free: 70.03 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: