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.2218/0.2244, allocations: 80.84 MB / 0.5897 GB, free: 7.129 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06215/0.2866, allocations: 59.9 MB / 0.6482 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01723/0.3039, allocations: 11.06 MB / 0.659 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002753/0.3067, allocations: 47.69 kB / 0.659 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002518/0.3093, allocations: 0.5828 MB / 0.6596 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008394/0.3177, allocations: 1.734 MB / 0.6613 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.3216, allocations: 0.9763 MB / 0.6622 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00683/0.3285, allocations: 3.977 MB / 0.6661 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.3304, allocations: 0.9424 MB / 0.667 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004269/0.3347, allocations: 1.256 MB / 0.6683 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002203/0.3369, allocations: 0.9763 MB / 0.6692 GB, free: 5.391 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001554/0.3371, allocations: 64 kB / 0.6693 GB, free: 5.328 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.3394, allocations: 0.9865 MB / 0.6702 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003075/0.3397, allocations: 258.8 kB / 0.6705 GB, free: 4.086 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0008591/0.3406, allocations: 0.6646 MB / 0.6711 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.3437, allocations: 2.13 MB / 0.6732 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/0.3437, allocations: 0 / 0.6732 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3437, allocations: 0 / 0.6732 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.815e-05/0.3437, allocations: 0 / 0.6732 GB, free: 1.281 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.003437/0.3472, allocations: 1.727 MB / 0.6749 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.156e-05/0.3472, allocations: 12.02 kB / 0.6749 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002822/0.3501, allocations: 0.4949 MB / 0.6754 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002367/0.3524, allocations: 1.074 MB / 0.6764 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003359/0.3528, allocations: 121.9 kB / 0.6766 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.3529, allocations: 92 kB / 0.6767 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002929/0.3559, allocations: 1.275 MB / 0.6779 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.284e-05/0.3559, allocations: 4 kB / 0.6779 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.356, allocations: 36 kB / 0.6779 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-05/0.3561, allocations: 24 kB / 0.678 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003082/0.3592, allocations: 1.108 MB / 0.679 GB, free: 11.12 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.007553/0.3667, allocations: 6.251 MB / 0.6851 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.3696, allocations: 0.8773 MB / 0.686 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009705/0.3706, allocations: 372.6 kB / 0.6864 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003045/0.3709, allocations: 259.5 kB / 0.6866 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.3709, allocations: 46.5 kB / 0.6866 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=43): time 2.956e-06/0.371, allocations: 0 / 0.6866 GB, free: 2.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=43): time 0.01002/0.381, allocations: 2.298 MB / 0.6889 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.262e-05/0.3811, allocations: 166.1 kB / 0.689 GB, free: 300 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.3826, allocations: 1.012 MB / 0.69 GB, free: 15.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001121/0.3827, allocations: 37.7 kB / 0.6901 GB, free: 15.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004357/0.3831, allocations: 0.5771 MB / 0.6906 GB, free: 14.64 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/0.3833, allocations: 145.8 kB / 0.6908 GB, free: 14.5 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002627/0.3836, allocations: 166 kB / 0.6909 GB, free: 14.33 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.3837, allocations: 333.9 kB / 0.6913 GB, free: 14 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001072/0.3848, allocations: 391.2 kB / 0.6916 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001363/0.3862, allocations: 0.6794 MB / 0.6923 GB, free: 12.8 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002282/0.3885, allocations: 0.9149 MB / 0.6932 GB, free: 11.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.3885, allocations: 0 / 0.6932 GB, free: 11.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.005099/0.3936, allocations: 1.431 MB / 0.6946 GB, free: 10.36 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3937, allocations: 12.03 kB / 0.6946 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.577e-05/0.3937, allocations: 15.98 kB / 0.6946 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001117/0.3948, allocations: 336.6 kB / 0.6949 GB, free: 10 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007245/0.3955, allocations: 171.7 kB / 0.6951 GB, free: 9.836 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3971, allocations: 0.9581 MB / 0.696 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001619/0.3987, allocations: 199 kB / 0.6962 GB, free: 8.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.781e-05/0.3988, allocations: 35.98 kB / 0.6963 GB, free: 8.621 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/0.4003, allocations: 0.5636 MB / 0.6968 GB, free: 8.051 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001172/0.4014, allocations: 0.6602 MB / 0.6974 GB, free: 7.266 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001901/0.4033, allocations: 0.8681 MB / 0.6983 GB, free: 6.316 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.4034, allocations: 0 / 0.6983 GB, free: 6.316 MB / 0.545 GB Notification: Performance of matching and sorting (n=82) (initialization_lambda0): time 0.003736/0.4071, allocations: 1.302 MB / 0.6996 GB, free: 5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.4071, allocations: 8 kB / 0.6996 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.4071, allocations: 4 kB / 0.6996 GB, free: 4.988 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.4082, allocations: 315.5 kB / 0.6999 GB, free: 4.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.4089, allocations: 155.8 kB / 0.7 GB, free: 4.527 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4102, allocations: 0.9153 MB / 0.7009 GB, free: 3.586 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4118, allocations: 183.3 kB / 0.7011 GB, free: 3.406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.03e-05/0.4118, allocations: 27.98 kB / 0.7011 GB, free: 3.379 MB / 0.545 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 (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.0003146/0.4122, allocations: 232.5 kB / 0.7013 GB, free: 3.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/0.4124, allocations: 110.7 kB / 0.7015 GB, free: 3.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/0.4159, allocations: 1.094 MB / 0.7025 GB, free: 1.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.4159, allocations: 11.92 kB / 0.7025 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.4159, allocations: 0 / 0.7025 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.416, allocations: 4 kB / 0.7025 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4227/0.8386, allocations: 2.062 MB / 0.7045 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.8387, allocations: 6.125 kB / 0.7046 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.8394, allocations: 96.42 kB / 0.7046 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001162/0.8406, allocations: 331.1 kB / 0.705 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.039e-05/0.8406, allocations: 20.89 kB / 0.705 GB, free: 113.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.8422, allocations: 0.9431 MB / 0.7059 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.8423, allocations: 3.875 kB / 0.7059 GB, free: 113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004166/0.8464, allocations: 1.312 MB / 0.7072 GB, free: 112.8 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006427/0.8471, allocations: 268.4 kB / 0.7074 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8473, allocations: 8 kB / 0.7075 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000999/0.8483, allocations: 123.6 kB / 0.7076 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.8484, allocations: 36.34 kB / 0.7076 GB, free: 112.7 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.784e-05/0.8485, allocations: 26.17 kB / 0.7076 GB, free: 112.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009127/0.8494, allocations: 0.7038 MB / 0.7083 GB, free: 112.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8494, allocations: 0 / 0.7083 GB, free: 112.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001589/0.851, allocations: 0.5579 MB / 0.7089 GB, free: 112.5 MB / 0.545 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 (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.0007162/0.8517, allocations: 272 kB / 0.7091 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003775/0.8555, allocations: 1.374 MB / 0.7105 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/0.8555, allocations: 0 / 0.7105 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.8567, allocations: 420.7 kB / 0.7109 GB, free: 112.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.8595, allocations: 0.5372 MB / 0.7114 GB, free: 112.4 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.8638, allocations: 2.268 MB / 0.7136 GB, free: 111.3 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.8646, allocations: 1.057 MB / 0.7146 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001428/0.866, allocations: 253.5 kB / 0.7149 GB, free: 110.6 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002582/0.8663, allocations: 82.67 kB / 0.715 GB, free: 110.6 MB / 0.545 GB Notification: Performance of SimCode: time 1.453e-06/0.8663, allocations: 3.938 kB / 0.715 GB, free: 110.6 MB / 0.545 GB Notification: Performance of Templates: time 0.05017/0.9165, allocations: 24.46 MB / 0.7388 GB, free: 99.04 MB / 0.545 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)