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_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001002, allocations: 98.03 kB / 15.36 MB, free: 0.7305 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.001077/0.001077, allocations: 173.5 kB / 16.27 MB, free: 6.664 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.481/1.481, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.563/1.563, allocations: 252 MB / 0.5105 GB, free: 4.629 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.0005008/0.0005009, allocations: 12 kB / 0.6249 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4854/0.4859, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06342/0.5494, allocations: 59.8 MB / 0.7871 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01628/0.5657, allocations: 11.79 MB / 0.7986 GB, free: 3.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002136/0.5679, allocations: 47.69 kB / 0.7987 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.5696, allocations: 0.5477 MB / 0.7992 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005075/0.5747, allocations: 1.785 MB / 0.801 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003152/0.5778, allocations: 1.097 MB / 0.802 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004454/0.5823, allocations: 3.891 MB / 0.8058 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001293/0.5836, allocations: 0.9058 MB / 0.8067 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.5856, allocations: 1.1 MB / 0.8078 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001226/0.5869, allocations: 0.8709 MB / 0.8086 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000126/0.587, allocations: 44 kB / 0.8087 GB, free: 9.117 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.5897, allocations: 1.306 MB / 0.81 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.59, allocations: 218.8 kB / 0.8102 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007603/0.5907, allocations: 0.6389 MB / 0.8108 GB, free: 6.945 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00324/0.594, allocations: 2.192 MB / 0.8129 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.594, allocations: 3.938 kB / 0.8129 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/0.594, allocations: 0 / 0.8129 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.594, allocations: 4 kB / 0.8129 GB, free: 4.738 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.002885/0.5969, allocations: 1.489 MB / 0.8144 GB, free: 3.191 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.597, allocations: 8.031 kB / 0.8144 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/0.5992, allocations: 474.8 kB / 0.8148 GB, free: 2.719 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002182/0.6014, allocations: 1.14 MB / 0.816 GB, free: 1.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003827/0.6018, allocations: 125.9 kB / 0.8161 GB, free: 1.398 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001254/0.602, allocations: 84 kB / 0.8162 GB, free: 1.316 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/0.6041, allocations: 1.011 MB / 0.8171 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.6041, allocations: 0 / 0.8171 GB, free: 272 kB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.025e-05/0.6042, allocations: 32 kB / 0.8172 GB, free: 240 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.6043, allocations: 19.94 kB / 0.8172 GB, free: 220 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.6067, allocations: 0.9369 MB / 0.8181 GB, free: 15.27 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.006392/0.6131, allocations: 4.656 MB / 0.8227 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/0.6169, allocations: 0.9461 MB / 0.8236 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007994/0.6177, allocations: 342 kB / 0.8239 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006379/0.6183, allocations: 0.9029 MB / 0.8248 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6184, allocations: 43 kB / 0.8248 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.675e-06/0.6184, allocations: 0 / 0.8248 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.009446/0.6278, allocations: 2.224 MB / 0.827 GB, free: 5.598 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.117e-05/0.6279, allocations: 59.78 kB / 0.8271 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001729/0.6296, allocations: 1.055 MB / 0.8281 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.6297, allocations: 37.7 kB / 0.8281 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.6302, allocations: 0.5236 MB / 0.8286 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.6303, allocations: 169.5 kB / 0.8288 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.6304, allocations: 49.7 kB / 0.8288 GB, free: 3.664 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.6306, allocations: 326 kB / 0.8292 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009633/0.6315, allocations: 340.9 kB / 0.8295 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.6327, allocations: 0.5391 MB / 0.83 GB, free: 2.391 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001814/0.6345, allocations: 0.7363 MB / 0.8307 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.6345, allocations: 0 / 0.8307 GB, free: 1.605 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004002/0.6385, allocations: 1.241 MB / 0.8319 GB, free: 364 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001436/0.6387, allocations: 200.4 kB / 0.8321 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.6387, allocations: 4 kB / 0.8321 GB, free: 108 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001352/0.6401, allocations: 340.5 kB / 0.8325 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005819/0.6407, allocations: 139.8 kB / 0.8326 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001542/0.6422, allocations: 0.9348 MB / 0.8335 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001431/0.6437, allocations: 199.2 kB / 0.8337 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.6438, allocations: 27.98 kB / 0.8337 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.6438, allocations: 5.875 kB / 0.8337 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00334/0.6471, allocations: 1.092 MB / 0.8348 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6471, allocations: 4 kB / 0.8348 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.6483, allocations: 332.9 kB / 0.8351 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005618/0.6489, allocations: 135.8 kB / 0.8352 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.6504, allocations: 0.934 MB / 0.8362 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/0.6518, allocations: 167.3 kB / 0.8363 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.237e-05/0.6519, allocations: 43.91 kB / 0.8364 GB, free: 11.72 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.0005792/0.6525, allocations: 348.9 kB / 0.8367 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.6528, allocations: 114.6 kB / 0.8368 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.657, allocations: 1.251 MB / 0.838 GB, free: 9.992 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.791e-05/0.657, allocations: 11.98 kB / 0.838 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/0.657, allocations: 0 / 0.838 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.6571, allocations: 0 / 0.838 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006106/0.6632, allocations: 2.355 MB / 0.8403 GB, free: 7.547 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.6632, allocations: 4 kB / 0.8403 GB, free: 7.543 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/0.6636, allocations: 79.88 kB / 0.8404 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001156/0.6647, allocations: 324.9 kB / 0.8407 GB, free: 7.145 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.491e-05/0.6648, allocations: 23.98 kB / 0.8407 GB, free: 7.121 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001634/0.6664, allocations: 0.9846 MB / 0.8417 GB, free: 6.113 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.6664, allocations: 4 kB / 0.8417 GB, free: 6.109 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004088/0.6705, allocations: 1.318 MB / 0.843 GB, free: 4.734 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007463/0.6713, allocations: 283.5 kB / 0.8433 GB, free: 4.438 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002558/0.6716, allocations: 12 kB / 0.8433 GB, free: 4.426 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/0.6727, allocations: 115.8 kB / 0.8434 GB, free: 4.312 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.6728, allocations: 43.2 kB / 0.8434 GB, free: 4.273 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.6729, allocations: 23.98 kB / 0.8435 GB, free: 4.25 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001544/0.6745, allocations: 0.7469 MB / 0.8442 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.864e-06/0.6745, allocations: 0 / 0.8442 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002263/0.6767, allocations: 0.5653 MB / 0.8447 GB, free: 2.93 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 (38): * Single equations (assignments): 33 * 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001207/0.678, allocations: 374.2 kB / 0.8451 GB, free: 2.559 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003799/0.6818, allocations: 1.221 MB / 0.8463 GB, free: 1.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.6818, allocations: 4 kB / 0.8463 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001019/0.6828, allocations: 398.9 kB / 0.8467 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003564/0.6864, allocations: 0.5305 MB / 0.8472 GB, free: 432 kB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006209/0.6926, allocations: 2.562 MB / 0.8497 GB, free: 13.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007198/0.6934, allocations: 1.07 MB / 0.8507 GB, free: 12.7 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001215/0.6946, allocations: 225.9 kB / 0.851 GB, free: 12.47 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.6949, allocations: 87.41 kB / 0.851 GB, free: 12.39 MB / 0.67 GB Notification: Performance of SimCode: time 6.61e-07/0.6949, allocations: 0 / 0.851 GB, free: 12.39 MB / 0.67 GB Notification: Performance of Templates: time 0.04103/0.7359, allocations: 24.65 MB / 0.8751 GB, free: 4.047 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: