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_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.008857/0.008857, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.47/1.47, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.597/1.597, allocations: 252 MB / 0.5105 GB, free: 4.703 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.0005164/0.0005164, allocations: 16 kB / 0.6249 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.482, allocations: 106.3 MB / 0.7287 GB, free: 11.29 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.0578/0.5398, allocations: 59.8 MB / 0.7871 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.5549, allocations: 11.79 MB / 0.7986 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002091/0.5571, allocations: 47.69 kB / 0.7987 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001767/0.5588, allocations: 0.5477 MB / 0.7992 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007225/0.5661, allocations: 1.792 MB / 0.801 GB, free: 1.078 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003772/0.5699, allocations: 1.091 MB / 0.802 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005241/0.5751, allocations: 3.901 MB / 0.8058 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001594/0.5768, allocations: 0.9019 MB / 0.8067 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002321/0.5791, allocations: 1.1 MB / 0.8078 GB, free: 10.05 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.5803, allocations: 0.867 MB / 0.8086 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5804, allocations: 44 kB / 0.8087 GB, free: 9.133 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002571/0.583, allocations: 1.321 MB / 0.81 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.5832, allocations: 206.9 kB / 0.8102 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007277/0.584, allocations: 0.635 MB / 0.8108 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002668/0.5866, allocations: 2.204 MB / 0.8129 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5867, allocations: 4 kB / 0.8129 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.643e-06/0.5867, allocations: 0 / 0.8129 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.516e-05/0.5867, allocations: 0 / 0.8129 GB, free: 4.746 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002669/0.5894, allocations: 1.501 MB / 0.8144 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.5894, allocations: 8.031 kB / 0.8144 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/0.5911, allocations: 391 kB / 0.8148 GB, free: 2.797 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002065/0.5932, allocations: 1.121 MB / 0.8159 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.5936, allocations: 133.9 kB / 0.816 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001389/0.5937, allocations: 80 kB / 0.8161 GB, free: 1.41 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/0.5956, allocations: 0.9683 MB / 0.817 GB, free: 412 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.5957, allocations: 3.938 kB / 0.817 GB, free: 408 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-05/0.5958, allocations: 36 kB / 0.8171 GB, free: 372 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.5958, allocations: 20 kB / 0.8171 GB, free: 352 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002127/0.5979, allocations: 0.8627 MB / 0.8179 GB, free: 15.48 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.005966/0.6039, allocations: 4.553 MB / 0.8224 GB, free: 10.61 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/0.6056, allocations: 0.6415 MB / 0.823 GB, free: 9.957 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006508/0.6062, allocations: 309.9 kB / 0.8233 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/0.6076, allocations: 1.389 MB / 0.8246 GB, free: 7.965 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.6076, allocations: 39 kB / 0.8247 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.244e-06/0.6077, allocations: 0 / 0.8247 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.00781/0.6155, allocations: 1.908 MB / 0.8265 GB, free: 5.98 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.6155, allocations: 59.78 kB / 0.8266 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001512/0.617, allocations: 1.067 MB / 0.8276 GB, free: 4.828 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.6171, allocations: 37.7 kB / 0.8277 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.6175, allocations: 0.5157 MB / 0.8282 GB, free: 4.266 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.6177, allocations: 165.7 kB / 0.8283 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/0.6177, allocations: 49.7 kB / 0.8284 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.6179, allocations: 330 kB / 0.8287 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.6187, allocations: 296.9 kB / 0.829 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.6196, allocations: 0.4962 MB / 0.8295 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001467/0.6211, allocations: 0.6699 MB / 0.8301 GB, free: 2.133 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.6211, allocations: 4 kB / 0.8301 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002472/0.6236, allocations: 1.015 MB / 0.8311 GB, free: 1.105 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001354/0.6237, allocations: 192.4 kB / 0.8313 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6238, allocations: 4 kB / 0.8313 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.6251, allocations: 332.6 kB / 0.8316 GB, free: 0.5352 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004716/0.6256, allocations: 119.8 kB / 0.8317 GB, free: 428 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.6271, allocations: 0.9464 MB / 0.8327 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.6284, allocations: 179.2 kB / 0.8328 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.6284, allocations: 27.98 kB / 0.8329 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.624e-06/0.6284, allocations: 4 kB / 0.8329 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002177/0.6306, allocations: 0.8658 MB / 0.8337 GB, free: 14.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.6307, allocations: 11.92 kB / 0.8337 GB, free: 14.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6317, allocations: 328 kB / 0.834 GB, free: 14.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004579/0.6322, allocations: 123.8 kB / 0.8342 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6336, allocations: 0.9348 MB / 0.8351 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.6348, allocations: 167.3 kB / 0.8352 GB, free: 12.79 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.6349, allocations: 27.98 kB / 0.8353 GB, free: 12.76 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * 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.0005539/0.6354, allocations: 353.8 kB / 0.8356 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001618/0.6356, allocations: 114.5 kB / 0.8357 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.6395, allocations: 1.188 MB / 0.8369 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/0.6395, allocations: 15.92 kB / 0.8369 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6395, allocations: 4 kB / 0.8369 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/0.6396, allocations: 0 / 0.8369 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005018/0.6446, allocations: 2.208 MB / 0.839 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.6446, allocations: 4.281 kB / 0.839 GB, free: 8.781 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002367/0.6448, allocations: 67.84 kB / 0.8391 GB, free: 8.715 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001059/0.6459, allocations: 334.4 kB / 0.8394 GB, free: 8.387 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/0.646, allocations: 19.98 kB / 0.8394 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001471/0.6474, allocations: 0.9773 MB / 0.8404 GB, free: 7.367 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.6475, allocations: 3.984 kB / 0.8404 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0036/0.6511, allocations: 1.243 MB / 0.8416 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.6517, allocations: 279.4 kB / 0.8419 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.6518, allocations: 12 kB / 0.8419 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008557/0.6527, allocations: 103.8 kB / 0.842 GB, free: 5.664 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.6528, allocations: 43.86 kB / 0.842 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.6528, allocations: 23.98 kB / 0.8421 GB, free: 5.598 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001141/0.654, allocations: 0.7469 MB / 0.8428 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of sort global known variables: time 3.41e-07/0.654, allocations: 0 / 0.8428 GB, free: 4.844 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001502/0.6555, allocations: 0.5653 MB / 0.8433 GB, free: 4.277 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007986/0.6563, allocations: 392.3 kB / 0.8437 GB, free: 3.895 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002873/0.6592, allocations: 1.104 MB / 0.8448 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.6592, allocations: 0 / 0.8448 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.66, allocations: 357.7 kB / 0.8451 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002896/0.6629, allocations: 0.5319 MB / 0.8457 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003493/0.6664, allocations: 2.268 MB / 0.8479 GB, free: 15.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005545/0.667, allocations: 1.066 MB / 0.8489 GB, free: 14.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009672/0.668, allocations: 226.6 kB / 0.8491 GB, free: 14.27 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.6682, allocations: 83.41 kB / 0.8492 GB, free: 14.19 MB / 0.67 GB Notification: Performance of SimCode: time 7.91e-07/0.6682, allocations: 0 / 0.8492 GB, free: 14.19 MB / 0.67 GB Notification: Performance of Templates: time 0.03851/0.7067, allocations: 24.65 MB / 0.8733 GB, free: 5.852 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: