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.2493/0.2516, allocations: 80.83 MB / 0.6706 GB, free: 2 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06797/0.3196, allocations: 60.21 MB / 0.7294 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02052/0.3402, allocations: 10.99 MB / 0.7402 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.3439, allocations: 51.69 kB / 0.7402 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003159/0.3472, allocations: 0.7025 MB / 0.7409 GB, free: 9.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007327/0.3545, allocations: 1.877 MB / 0.7427 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0031/0.3576, allocations: 1.095 MB / 0.7438 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004717/0.3624, allocations: 3.011 MB / 0.7467 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001768/0.3642, allocations: 1.107 MB / 0.7478 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004149/0.3683, allocations: 1.464 MB / 0.7492 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002065/0.3704, allocations: 0.9647 MB / 0.7502 GB, free: 236 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002509/0.3707, allocations: 124 kB / 0.7503 GB, free: 112 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5562/0.9269, allocations: 1.08 MB / 0.7514 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000694/0.9277, allocations: 305.4 kB / 0.7517 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001691/0.9294, allocations: 0.7274 MB / 0.7524 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005047/0.9344, allocations: 2.188 MB / 0.7545 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.9345, allocations: 1.156 kB / 0.7545 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.504e-06/0.9345, allocations: 0 / 0.7545 GB, free: 22.09 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.886e-05/0.9345, allocations: 2.125 kB / 0.7545 GB, free: 22.09 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.00474/0.9392, allocations: 1.759 MB / 0.7562 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 7.107e-05/0.9393, allocations: 8.438 kB / 0.7562 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002904/0.9422, allocations: 468.5 kB / 0.7567 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002889/0.9451, allocations: 1.095 MB / 0.7577 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001041/0.9453, allocations: 72 kB / 0.7578 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.9454, allocations: 89.25 kB / 0.7579 GB, free: 20.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003374/0.9488, allocations: 1.257 MB / 0.7591 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.9489, allocations: 7.953 kB / 0.7591 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000116/0.949, allocations: 40.62 kB / 0.7592 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.551e-05/0.9491, allocations: 27.05 kB / 0.7592 GB, free: 20.41 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003416/0.9525, allocations: 1.029 MB / 0.7602 GB, free: 20.39 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.01134/0.9639, allocations: 6.363 MB / 0.7664 GB, free: 16.3 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002908/0.9668, allocations: 0.6597 MB / 0.7671 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008099/0.9676, allocations: 281.4 kB / 0.7673 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002761/0.9679, allocations: 261.1 kB / 0.7676 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.968, allocations: 45.02 kB / 0.7676 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=39): time 3.797e-06/0.968, allocations: 1.156 kB / 0.7676 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=39): time 0.008438/0.9764, allocations: 1.789 MB / 0.7694 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.005e-05/0.9765, allocations: 160.7 kB / 0.7695 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002365/0.9789, allocations: 1.144 MB / 0.7706 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001653/0.9791, allocations: 37.23 kB / 0.7707 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00051/0.9796, allocations: 0.6016 MB / 0.7713 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001644/0.9798, allocations: 150 kB / 0.7714 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000371/0.9801, allocations: 165 kB / 0.7716 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.9803, allocations: 333.9 kB / 0.7719 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.9813, allocations: 359.3 kB / 0.7722 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/0.9826, allocations: 0.7005 MB / 0.7729 GB, free: 14.19 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002047/0.9847, allocations: 0.8604 MB / 0.7737 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/0.9847, allocations: 2.75 kB / 0.7738 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005316/0.99, allocations: 1.404 MB / 0.7751 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.9901, allocations: 10.83 kB / 0.7751 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/0.9901, allocations: 12.53 kB / 0.7751 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.9914, allocations: 335.2 kB / 0.7755 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007364/0.9921, allocations: 165.5 kB / 0.7756 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001614/0.9937, allocations: 0.9426 MB / 0.7765 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001933/0.9957, allocations: 211.3 kB / 0.7767 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.118e-05/0.9958, allocations: 37.34 kB / 0.7768 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001526/0.9973, allocations: 0.534 MB / 0.7773 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001198/0.9985, allocations: 0.6773 MB / 0.778 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001882/1, allocations: 0.8195 MB / 0.7788 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.875e-06/1, allocations: 5.656 kB / 0.7788 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004157/1.005, allocations: 1.255 MB / 0.78 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/1.005, allocations: 11.92 kB / 0.78 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/1.005, allocations: 7.906 kB / 0.78 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001025/1.006, allocations: 301.6 kB / 0.7803 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006799/1.006, allocations: 166.8 kB / 0.7805 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/1.008, allocations: 0.8985 MB / 0.7813 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/1.01, allocations: 162.5 kB / 0.7815 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-05/1.01, allocations: 38.39 kB / 0.7815 GB, free: 11.57 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.0004021/1.01, allocations: 236.1 kB / 0.7818 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000238/1.01, allocations: 128.1 kB / 0.7819 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003959/1.014, allocations: 1.008 MB / 0.7829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/1.014, allocations: 3.688 kB / 0.7829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/1.014, allocations: 4.969 kB / 0.7829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.358e-06/1.014, allocations: 3.844 kB / 0.7829 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005918/1.02, allocations: 2.072 MB / 0.7849 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.997e-06/1.02, allocations: 2.781 kB / 0.7849 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003378/1.021, allocations: 72.16 kB / 0.785 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00108/1.022, allocations: 322.7 kB / 0.7853 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.117e-05/1.022, allocations: 13.53 kB / 0.7853 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001538/1.023, allocations: 0.9288 MB / 0.7862 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/1.023, allocations: 7.312 kB / 0.7862 GB, free: 10.24 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002797/1.026, allocations: 1.011 MB / 0.7872 GB, free: 9.926 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007203/1.027, allocations: 271.2 kB / 0.7874 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/1.027, allocations: 14.02 kB / 0.7875 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009508/1.028, allocations: 84.05 kB / 0.7875 GB, free: 9.762 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/1.028, allocations: 52.52 kB / 0.7876 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.498e-05/1.028, allocations: 21.75 kB / 0.7876 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001487/1.03, allocations: 0.7834 MB / 0.7884 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/1.03, allocations: 0 / 0.7884 GB, free: 9.637 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002253/1.032, allocations: 0.5633 MB / 0.7889 GB, free: 9.57 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.0007469/1.033, allocations: 266.1 kB / 0.7892 GB, free: 9.457 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004012/1.037, allocations: 1.256 MB / 0.7904 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.037, allocations: 3.344 kB / 0.7904 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009885/1.038, allocations: 343.4 kB / 0.7907 GB, free: 9.426 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002837/1.041, allocations: 0.5734 MB / 0.7913 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005652/1.046, allocations: 2.009 MB / 0.7933 GB, free: 8.539 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/1.047, allocations: 1.055 MB / 0.7943 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001367/1.048, allocations: 248.9 kB / 0.7945 GB, free: 7.742 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002367/1.049, allocations: 92.98 kB / 0.7946 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of SimCode: time 1.102e-06/1.049, allocations: 3.656 kB / 0.7946 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of Templates: time 0.04878/1.097, allocations: 26.37 MB / 0.8204 GB, free: 5.453 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)