Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 91.77 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00796/0.00796, allocations: 170.3 kB / 16.26 MB, free: 6.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.518/1.518, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.556/1.556, allocations: 252 MB / 0.5105 GB, free: 4.617 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005338/0.0005338, allocations: 12 kB / 0.6249 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5188/0.5193, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06119/0.5806, allocations: 59.79 MB / 0.7871 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01531/0.5959, allocations: 11.79 MB / 0.7986 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001889/0.5979, allocations: 55.62 kB / 0.7987 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001973/0.5999, allocations: 0.5477 MB / 0.7992 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005633/0.6055, allocations: 1.796 MB / 0.801 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00321/0.6087, allocations: 1.091 MB / 0.802 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004841/0.6136, allocations: 3.901 MB / 0.8058 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001994/0.6156, allocations: 0.9148 MB / 0.8067 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002932/0.6186, allocations: 1.1 MB / 0.8078 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001843/0.6204, allocations: 0.867 MB / 0.8086 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0003535/0.6208, allocations: 47.94 kB / 0.8087 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.6239, allocations: 1.302 MB / 0.81 GB, free: 7.762 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003408/0.6242, allocations: 210.9 kB / 0.8102 GB, free: 7.555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001079/0.6253, allocations: 0.6428 MB / 0.8108 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003584/0.6289, allocations: 2.188 MB / 0.8129 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6289, allocations: 3.938 kB / 0.8129 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.154e-06/0.629, allocations: 4 kB / 0.8129 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.629, allocations: 0 / 0.8129 GB, free: 4.699 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002811/0.6318, allocations: 1.493 MB / 0.8144 GB, free: 3.148 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.6319, allocations: 8.031 kB / 0.8144 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002542/0.6344, allocations: 0.5183 MB / 0.8149 GB, free: 2.621 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002029/0.6364, allocations: 1.14 MB / 0.816 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000346/0.6368, allocations: 125.9 kB / 0.8161 GB, free: 1.301 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.6369, allocations: 84 kB / 0.8162 GB, free: 1.219 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002131/0.6391, allocations: 1.041 MB / 0.8172 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/0.6391, allocations: 0 / 0.8172 GB, free: 148 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.209e-05/0.6392, allocations: 32 kB / 0.8173 GB, free: 116 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/0.6392, allocations: 16 kB / 0.8173 GB, free: 100 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002742/0.642, allocations: 1.019 MB / 0.8183 GB, free: 15.08 MB / 0.6387 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.006536/0.6485, allocations: 4.712 MB / 0.8229 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004163/0.6527, allocations: 1.125 MB / 0.824 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001137/0.6539, allocations: 437.9 kB / 0.8244 GB, free: 8.453 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009933/0.6549, allocations: 1.033 MB / 0.8254 GB, free: 7.199 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.6549, allocations: 43 kB / 0.8254 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/0.6549, allocations: 0 / 0.8254 GB, free: 7.148 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53): time 0.01016/0.6651, allocations: 2.498 MB / 0.8279 GB, free: 4.617 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.6652, allocations: 59.84 kB / 0.8279 GB, free: 4.547 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001261/0.6665, allocations: 0.9316 MB / 0.8289 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.065e-05/0.6666, allocations: 37.7 kB / 0.8289 GB, free: 3.555 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.667, allocations: 0.504 MB / 0.8294 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000172/0.6671, allocations: 185.3 kB / 0.8296 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.658e-05/0.6672, allocations: 57.62 kB / 0.8296 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001085/0.6674, allocations: 333.9 kB / 0.8299 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001086/0.6684, allocations: 372.9 kB / 0.8303 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.6697, allocations: 0.5429 MB / 0.8308 GB, free: 1.5 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002129/0.6718, allocations: 0.8243 MB / 0.8316 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.6718, allocations: 0 / 0.8316 GB, free: 0.6406 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003091/0.6749, allocations: 1.143 MB / 0.8327 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.729e-05/0.675, allocations: 156.4 kB / 0.8329 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.675, allocations: 0 / 0.8329 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001302/0.6764, allocations: 336.4 kB / 0.8332 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006394/0.677, allocations: 143.8 kB / 0.8333 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/0.6786, allocations: 0.9309 MB / 0.8343 GB, free: 13.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.6798, allocations: 179.4 kB / 0.8344 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.897e-05/0.6799, allocations: 27.98 kB / 0.8345 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 9.548e-06/0.6799, allocations: 5.875 kB / 0.8345 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002868/0.6828, allocations: 0.9975 MB / 0.8354 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/0.6828, allocations: 7.984 kB / 0.8354 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.684, allocations: 327.8 kB / 0.8358 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/0.6847, allocations: 139.8 kB / 0.8359 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.6861, allocations: 0.9308 MB / 0.8368 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.6874, allocations: 183.2 kB / 0.837 GB, free: 11.06 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.386e-05/0.6875, allocations: 27.98 kB / 0.837 GB, free: 11.04 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (54): * Single equations (assignments): 53 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005626/0.6881, allocations: 345 kB / 0.8373 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002727/0.6884, allocations: 110.6 kB / 0.8374 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/0.6932, allocations: 1.442 MB / 0.8388 GB, free: 9.125 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.6933, allocations: 8 kB / 0.8388 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6933, allocations: 0 / 0.8388 GB, free: 9.117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.6933, allocations: 3.984 kB / 0.8389 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006471/0.6998, allocations: 2.518 MB / 0.8413 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-05/0.6998, allocations: 4 kB / 0.8413 GB, free: 6.512 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.7004, allocations: 116 kB / 0.8414 GB, free: 6.398 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.7015, allocations: 328.5 kB / 0.8417 GB, free: 6.074 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.7015, allocations: 19.98 kB / 0.8418 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001612/0.7032, allocations: 0.9695 MB / 0.8427 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.7032, allocations: 64 / 0.8427 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004552/0.7077, allocations: 1.46 MB / 0.8441 GB, free: 3.562 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006148/0.7084, allocations: 283.5 kB / 0.8444 GB, free: 3.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.7086, allocations: 16 kB / 0.8444 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.7096, allocations: 131.7 kB / 0.8445 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.268e-05/0.7097, allocations: 40.27 kB / 0.8446 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.509e-05/0.7098, allocations: 31.97 kB / 0.8446 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000971/0.7108, allocations: 0.6559 MB / 0.8453 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7108, allocations: 8 kB / 0.8453 GB, free: 2.379 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001505/0.7123, allocations: 0.5574 MB / 0.8458 GB, free: 1.82 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008052/0.7131, allocations: 374 kB / 0.8462 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003919/0.717, allocations: 1.381 MB / 0.8475 GB, free: 72 kB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7171, allocations: 0 / 0.8475 GB, free: 72 kB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/0.7183, allocations: 492.8 kB / 0.848 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/0.7212, allocations: 0.5104 MB / 0.8485 GB, free: 15.09 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003955/0.7252, allocations: 2.374 MB / 0.8508 GB, free: 12.66 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006201/0.7258, allocations: 1.066 MB / 0.8518 GB, free: 11.57 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009677/0.7268, allocations: 231.7 kB / 0.8521 GB, free: 11.34 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.727, allocations: 83.41 kB / 0.8521 GB, free: 11.26 MB / 0.67 GB Notification: Performance of SimCode: time 5.31e-07/0.727, allocations: 0 / 0.8521 GB, free: 11.26 MB / 0.67 GB Notification: Performance of Templates: time 0.03914/0.7662, allocations: 23.71 MB / 0.8753 GB, free: 3.848 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) Environment - environmentSimulation: