Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [/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.1913/0.1922, allocations: 82.22 MB / 0.5934 GB, free: 5.969 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05032/0.2425, allocations: 50.5 MB / 0.6427 GB, free: 3.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.2564, allocations: 9.441 MB / 0.6519 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.2586, allocations: 43.69 kB / 0.6519 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002007/0.2607, allocations: 0.5791 MB / 0.6525 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005971/0.2666, allocations: 1.827 MB / 0.6543 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.2696, allocations: 0.9018 MB / 0.6552 GB, free: 6.539 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003439/0.2731, allocations: 1.787 MB / 0.6569 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.2743, allocations: 0.8365 MB / 0.6577 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.2764, allocations: 1.078 MB / 0.6588 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009318/0.2774, allocations: 0.6535 MB / 0.6594 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.971e-05/0.2775, allocations: 48 kB / 0.6595 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001502/0.279, allocations: 0.6825 MB / 0.6601 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002098/0.2792, allocations: 215.1 kB / 0.6603 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003006/0.2795, allocations: 297 kB / 0.6606 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001573/0.2811, allocations: 1.539 MB / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.2811, allocations: 0 / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.362e-06/0.2811, allocations: 0 / 0.6621 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.327e-05/0.2811, allocations: 0 / 0.6621 GB, free: 15.37 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: 220 * Number of variables: 220 Notification: Performance of Generate backend data structure: time 0.002828/0.284, allocations: 1.477 MB / 0.6636 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.284, allocations: 8.031 kB / 0.6636 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002742/0.2868, allocations: 0.5369 MB / 0.6641 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002064/0.2888, allocations: 1.031 MB / 0.6651 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003526/0.2892, allocations: 133.9 kB / 0.6652 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.2893, allocations: 95.98 kB / 0.6653 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002791/0.2921, allocations: 1.31 MB / 0.6666 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.302e-05/0.2922, allocations: 4 kB / 0.6666 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.2923, allocations: 39.94 kB / 0.6667 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.645e-05/0.2923, allocations: 28 kB / 0.6667 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003054/0.2954, allocations: 1.175 MB / 0.6678 GB, free: 9.348 MB / 0.5137 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.007578/0.303, allocations: 6.325 MB / 0.674 GB, free: 2.582 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.3059, allocations: 0.9795 MB / 0.675 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002571/0.3062, allocations: 259.3 kB / 0.6752 GB, free: 1.285 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.76e-05/0.3062, allocations: 42.55 kB / 0.6752 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.3063, allocations: 4 kB / 0.6753 GB, free: 1.23 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01036/0.3166, allocations: 2.607 MB / 0.6778 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.76e-05/0.3167, allocations: 158.2 kB / 0.6779 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.3181, allocations: 1.02 MB / 0.6789 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001211/0.3183, allocations: 33.7 kB / 0.679 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004444/0.3187, allocations: 0.5771 MB / 0.6795 GB, free: 12.75 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001501/0.3189, allocations: 149.8 kB / 0.6797 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.297e-05/0.3189, allocations: 16 kB / 0.6797 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.3191, allocations: 333.9 kB / 0.68 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.3203, allocations: 417 kB / 0.6804 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.3217, allocations: 0.7145 MB / 0.6811 GB, free: 11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.3229, allocations: 469.8 kB / 0.6816 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3229, allocations: 4 kB / 0.6816 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003364/0.3262, allocations: 1.295 MB / 0.6828 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00114/0.3274, allocations: 2.381 MB / 0.6852 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3274, allocations: 8 kB / 0.6852 GB, free: 6.668 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001225/0.3287, allocations: 360 kB / 0.6855 GB, free: 6.316 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007663/0.3294, allocations: 183.7 kB / 0.6857 GB, free: 6.137 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001703/0.3311, allocations: 0.9894 MB / 0.6866 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/0.3328, allocations: 231 kB / 0.6869 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.647e-05/0.3329, allocations: 35.98 kB / 0.6869 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.3329, allocations: 4 kB / 0.6869 GB, free: 4.855 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002772/0.3357, allocations: 1.079 MB / 0.688 GB, free: 3.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3357, allocations: 11.98 kB / 0.688 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.3367, allocations: 329.2 kB / 0.6883 GB, free: 3.434 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006777/0.3374, allocations: 171.8 kB / 0.6884 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001429/0.3388, allocations: 0.927 MB / 0.6894 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/0.3403, allocations: 207.1 kB / 0.6895 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.265e-05/0.3403, allocations: 31.98 kB / 0.6896 GB, free: 2.078 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0006346/0.341, allocations: 356.9 kB / 0.6899 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001665/0.3411, allocations: 114.7 kB / 0.69 GB, free: 1.605 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003477/0.3446, allocations: 1.214 MB / 0.6912 GB, free: 388 kB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.3447, allocations: 4 kB / 0.6912 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3447, allocations: 4 kB / 0.6912 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3447, allocations: 0 / 0.6912 GB, free: 380 kB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3589/0.7036, allocations: 2.155 MB / 0.6933 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.7036, allocations: 6.031 kB / 0.6933 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005438/0.7042, allocations: 103.1 kB / 0.6934 GB, free: 96.88 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001019/0.7052, allocations: 362 kB / 0.6938 GB, free: 96.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-05/0.7053, allocations: 19.08 kB / 0.6938 GB, free: 96.87 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.7066, allocations: 0.9761 MB / 0.6947 GB, free: 96.35 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.7066, allocations: 3.234 kB / 0.6948 GB, free: 96.35 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003869/0.7105, allocations: 1.516 MB / 0.6962 GB, free: 96.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005754/0.7111, allocations: 294.5 kB / 0.6965 GB, free: 95.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/0.7113, allocations: 6.281 kB / 0.6965 GB, free: 95.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009653/0.7122, allocations: 138.3 kB / 0.6966 GB, free: 95.95 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.7123, allocations: 41.39 kB / 0.6967 GB, free: 95.94 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.7124, allocations: 29.08 kB / 0.6967 GB, free: 95.94 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001007/0.7134, allocations: 0.7021 MB / 0.6974 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7134, allocations: 2.906 kB / 0.6974 GB, free: 95.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001581/0.715, allocations: 0.5548 MB / 0.6979 GB, free: 95.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005281/0.7155, allocations: 263 kB / 0.6982 GB, free: 95.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003841/0.7194, allocations: 1.482 MB / 0.6996 GB, free: 95.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.7194, allocations: 0 / 0.6996 GB, free: 95.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001165/0.7206, allocations: 454 kB / 0.7001 GB, free: 95.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.723, allocations: 0.5275 MB / 0.7006 GB, free: 95.64 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003935/0.727, allocations: 2.278 MB / 0.7028 GB, free: 94.61 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006809/0.7277, allocations: 1.082 MB / 0.7039 GB, free: 93.89 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001246/0.7289, allocations: 251.8 kB / 0.7041 GB, free: 93.83 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002186/0.7292, allocations: 88.38 kB / 0.7042 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of SimCode: time 9.81e-07/0.7292, allocations: 0 / 0.7042 GB, free: 93.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.04449/0.7737, allocations: 23.7 MB / 0.7273 GB, free: 80.96 MB / 0.5294 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: