Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y") [/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.2105/0.2113, allocations: 82.21 MB / 0.5941 GB, free: 5.598 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07004/0.2814, allocations: 72.34 MB / 0.6647 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.3018, allocations: 13.58 MB / 0.678 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.3046, allocations: 51.69 kB / 0.6781 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003165/0.3078, allocations: 0.7227 MB / 0.6788 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01027/0.3181, allocations: 2.345 MB / 0.6811 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004332/0.3225, allocations: 1.245 MB / 0.6823 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008247/0.3307, allocations: 5.712 MB / 0.6878 GB, free: 5.32 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/0.3331, allocations: 1.147 MB / 0.689 GB, free: 4.137 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003528/0.3367, allocations: 1.408 MB / 0.6903 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002638/0.3393, allocations: 1.233 MB / 0.6915 GB, free: 1.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.3397, allocations: 60 kB / 0.6916 GB, free: 1.426 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003222/0.3429, allocations: 1.08 MB / 0.6927 GB, free: 352 kB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.3433, allocations: 302.6 kB / 0.6929 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.4678/0.8111, allocations: 0.8318 MB / 0.6938 GB, free: 33.8 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.006125/0.8173, allocations: 2.72 MB / 0.6964 GB, free: 33.74 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.8174, allocations: 3.094 kB / 0.6964 GB, free: 33.74 MB / 0.5294 GB Notification: Performance of FrontEnd: time 3.096e-06/0.8174, allocations: 0 / 0.6964 GB, free: 33.74 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.641e-05/0.8175, allocations: 0 / 0.6964 GB, free: 33.74 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 268 * Number of variables: 268 Notification: Performance of Generate backend data structure: time 0.004775/0.8222, allocations: 1.785 MB / 0.6982 GB, free: 32.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.8223, allocations: 8.969 kB / 0.6982 GB, free: 32.81 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.8234, allocations: 258.7 kB / 0.6984 GB, free: 32.73 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/0.826, allocations: 1.438 MB / 0.6998 GB, free: 32.33 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.041e-05/0.8261, allocations: 88.86 kB / 0.6999 GB, free: 32.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/0.8263, allocations: 114.2 kB / 0.7 GB, free: 32.32 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003003/0.8293, allocations: 1.437 MB / 0.7014 GB, free: 31.99 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/0.8294, allocations: 10.73 kB / 0.7014 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.8295, allocations: 47.09 kB / 0.7015 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.8295, allocations: 31.61 kB / 0.7015 GB, free: 31.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002744/0.8323, allocations: 1.137 MB / 0.7026 GB, free: 31.96 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.007411/0.8397, allocations: 6.677 MB / 0.7091 GB, free: 27.94 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001844/0.8416, allocations: 0.6874 MB / 0.7098 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.8423, allocations: 365.8 kB / 0.7102 GB, free: 27.88 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001674/0.8425, allocations: 180.2 kB / 0.7103 GB, free: 27.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.8425, allocations: 38.94 kB / 0.7104 GB, free: 27.66 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=63): time 2.956e-06/0.8425, allocations: 4 kB / 0.7104 GB, free: 27.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=67): time 0.006835/0.8494, allocations: 2.533 MB / 0.7128 GB, free: 27.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.8494, allocations: 162.6 kB / 0.713 GB, free: 26.86 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.8514, allocations: 1.253 MB / 0.7142 GB, free: 26.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001174/0.8516, allocations: 43.83 kB / 0.7143 GB, free: 26.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004841/0.8521, allocations: 0.652 MB / 0.7149 GB, free: 26.41 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001976/0.8523, allocations: 239.5 kB / 0.7151 GB, free: 26.26 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.8524, allocations: 75.3 kB / 0.7152 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 6.981e-05/0.8525, allocations: 350.3 kB / 0.7155 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.8534, allocations: 364.6 kB / 0.7159 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.8545, allocations: 0.7172 MB / 0.7166 GB, free: 25.53 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001877/0.8564, allocations: 0.9875 MB / 0.7175 GB, free: 25.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.8565, allocations: 6.406 kB / 0.7176 GB, free: 25.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002795/0.8593, allocations: 1.149 MB / 0.7187 GB, free: 25.13 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001612/0.8594, allocations: 300.8 kB / 0.719 GB, free: 24.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/0.8595, allocations: 6.875 kB / 0.719 GB, free: 24.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.118e-05/0.8595, allocations: 15.25 kB / 0.719 GB, free: 24.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/0.8606, allocations: 245.6 kB / 0.7192 GB, free: 24.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/0.8606, allocations: 19.11 kB / 0.7192 GB, free: 24.78 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/0.8624, allocations: 157 kB / 0.7194 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.8625, allocations: 40.16 kB / 0.7194 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.8625, allocations: 3.812 kB / 0.7194 GB, free: 24.76 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002059/0.8646, allocations: 0.9355 MB / 0.7203 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.8646, allocations: 6.875 kB / 0.7203 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.8646, allocations: 12.38 kB / 0.7204 GB, free: 24.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008375/0.8655, allocations: 235.2 kB / 0.7206 GB, free: 24.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.8655, allocations: 17.28 kB / 0.7206 GB, free: 24.74 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/0.867, allocations: 133.7 kB / 0.7207 GB, free: 24.73 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/0.8671, allocations: 39.7 kB / 0.7208 GB, free: 24.73 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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 (110): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008541/0.868, allocations: 440.5 kB / 0.7212 GB, free: 24.53 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/0.8683, allocations: 138.1 kB / 0.7213 GB, free: 24.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/0.8706, allocations: 1.025 MB / 0.7223 GB, free: 24.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.8706, allocations: 8.906 kB / 0.7223 GB, free: 24.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.8706, allocations: 0 / 0.7223 GB, free: 24.36 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001821/0.8724, allocations: 0.9193 MB / 0.7232 GB, free: 24.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005012/0.8774, allocations: 2.607 MB / 0.7258 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.8775, allocations: 4.844 kB / 0.7258 GB, free: 23.62 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007711/0.8783, allocations: 169.8 kB / 0.7259 GB, free: 23.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003173/0.8786, allocations: 90.83 kB / 0.726 GB, free: 23.6 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.164e-05/0.8787, allocations: 29.69 kB / 0.726 GB, free: 23.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006153/0.8793, allocations: 1.155 MB / 0.7272 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/0.8793, allocations: 7.719 kB / 0.7272 GB, free: 22.55 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003212/0.8825, allocations: 1.64 MB / 0.7288 GB, free: 22.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008144/0.8834, allocations: 337.5 kB / 0.7291 GB, free: 21.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/0.8836, allocations: 27.09 kB / 0.7291 GB, free: 21.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.8846, allocations: 113.3 kB / 0.7292 GB, free: 21.93 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001491/0.8847, allocations: 61.97 kB / 0.7293 GB, free: 21.92 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.8848, allocations: 37 kB / 0.7293 GB, free: 21.92 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001193/0.886, allocations: 0.8777 MB / 0.7302 GB, free: 21.81 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.886, allocations: 0 / 0.7302 GB, free: 21.81 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002087/0.8881, allocations: 0.6368 MB / 0.7308 GB, free: 21.79 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007769/0.8889, allocations: 368.8 kB / 0.7312 GB, free: 21.66 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002893/0.8918, allocations: 1.391 MB / 0.7325 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.8918, allocations: 3.281 kB / 0.7325 GB, free: 21.62 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.8929, allocations: 476.8 kB / 0.733 GB, free: 21.61 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004903/0.8978, allocations: 0.8624 MB / 0.7338 GB, free: 21.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/0.9019, allocations: 3.018 MB / 0.7368 GB, free: 19.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.9025, allocations: 1.195 MB / 0.7379 GB, free: 19.21 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001718/0.9042, allocations: 364.4 kB / 0.7383 GB, free: 19.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003442/0.9046, allocations: 121.4 kB / 0.7384 GB, free: 19.1 MB / 0.5294 GB Notification: Performance of SimCode: time 1.313e-06/0.9046, allocations: 0 / 0.7384 GB, free: 19.1 MB / 0.5294 GB Notification: Performance of Templates: time 0.04725/0.9518, allocations: 31.35 MB / 0.769 GB, free: 12.66 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: