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.001007/0.001007, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001253/0.001253, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.542/1.542, allocations: 205.4 MB / 222.1 MB, free: 5.504 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.555/1.555, allocations: 252 MB / 0.5102 GB, free: 4.711 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.000546/0.0005461, allocations: 16 kB / 0.6243 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4692/0.4697, allocations: 106.3 MB / 0.7281 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.04986/0.5196, allocations: 56.55 MB / 0.7833 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01445/0.5341, allocations: 11.1 MB / 0.7942 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001756/0.5359, allocations: 51.62 kB / 0.7942 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001415/0.5374, allocations: 468.8 kB / 0.7947 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004847/0.5422, allocations: 1.522 MB / 0.7962 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002712/0.5449, allocations: 0.8727 MB / 0.797 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003834/0.5488, allocations: 3.376 MB / 0.8003 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.55, allocations: 0.7899 MB / 0.8011 GB, free: 452 kB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001905/0.552, allocations: 1.034 MB / 0.8021 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001035/0.553, allocations: 0.8127 MB / 0.8029 GB, free: 14.59 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.5531, allocations: 44 kB / 0.8029 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.5553, allocations: 1.099 MB / 0.804 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.5555, allocations: 203 kB / 0.8042 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003031/0.5558, allocations: 289 kB / 0.8045 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001683/0.5575, allocations: 1.648 MB / 0.8061 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5575, allocations: 0 / 0.8061 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5575, allocations: 0 / 0.8061 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.377e-05/0.5575, allocations: 0 / 0.8061 GB, free: 11.3 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.002447/0.56, allocations: 1.501 MB / 0.8075 GB, free: 9.742 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.56, allocations: 8.031 kB / 0.8075 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001922/0.562, allocations: 481.9 kB / 0.808 GB, free: 9.262 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001869/0.5638, allocations: 1.086 MB / 0.8091 GB, free: 8.117 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003212/0.5642, allocations: 129.9 kB / 0.8092 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001273/0.5643, allocations: 83.94 kB / 0.8093 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.5662, allocations: 0.9995 MB / 0.8102 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5663, allocations: 4 kB / 0.8103 GB, free: 6.867 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.543e-05/0.5664, allocations: 35.98 kB / 0.8103 GB, free: 6.832 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.5664, allocations: 24 kB / 0.8103 GB, free: 6.809 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002181/0.5686, allocations: 0.925 MB / 0.8112 GB, free: 5.883 MB / 0.6231 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.005909/0.5745, allocations: 4.658 MB / 0.8158 GB, free: 0.9102 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/0.5777, allocations: 0.9403 MB / 0.8167 GB, free: 15.96 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007719/0.5784, allocations: 338 kB / 0.817 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006549/0.5791, allocations: 0.9068 MB / 0.8179 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.5792, allocations: 42.98 kB / 0.8179 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.365e-06/0.5792, allocations: 0 / 0.8179 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.007916/0.5871, allocations: 2.205 MB / 0.8201 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.5872, allocations: 63.8 kB / 0.8201 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.5886, allocations: 1.047 MB / 0.8212 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.476e-05/0.5887, allocations: 37.7 kB / 0.8212 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.5891, allocations: 0.5158 MB / 0.8217 GB, free: 10.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/0.5893, allocations: 169.6 kB / 0.8219 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.552e-05/0.5893, allocations: 12 kB / 0.8219 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.5894, allocations: 330 kB / 0.8222 GB, free: 10.02 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008522/0.5903, allocations: 332.9 kB / 0.8225 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.5913, allocations: 0.5313 MB / 0.823 GB, free: 9.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008722/0.5922, allocations: 368.6 kB / 0.8234 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5922, allocations: 0 / 0.8234 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002566/0.5948, allocations: 1.066 MB / 0.8244 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001143/0.5949, allocations: 196.1 kB / 0.8246 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.5949, allocations: 4 kB / 0.8246 GB, free: 7.406 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.5962, allocations: 340.5 kB / 0.8249 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.5967, allocations: 135.8 kB / 0.8251 GB, free: 6.938 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001382/0.5981, allocations: 0.9454 MB / 0.826 GB, free: 5.969 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.5993, allocations: 195.2 kB / 0.8262 GB, free: 5.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.2e-05/0.5994, allocations: 27.98 kB / 0.8262 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.5994, allocations: 4 kB / 0.8262 GB, free: 5.746 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002309/0.6018, allocations: 0.9399 MB / 0.8271 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.6018, allocations: 4.375 kB / 0.8271 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6028, allocations: 332.5 kB / 0.8274 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.6034, allocations: 139.8 kB / 0.8276 GB, free: 4.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.6047, allocations: 0.931 MB / 0.8285 GB, free: 3.375 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/0.6058, allocations: 167.3 kB / 0.8286 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.539e-05/0.6059, allocations: 39.98 kB / 0.8287 GB, free: 3.172 MB / 0.6387 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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005282/0.6064, allocations: 349 kB / 0.829 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.6066, allocations: 114.6 kB / 0.8291 GB, free: 2.707 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/0.6102, allocations: 1.247 MB / 0.8303 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6102, allocations: 8 kB / 0.8304 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.6102, allocations: 0 / 0.8304 GB, free: 1.445 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.6102, allocations: 11.88 kB / 0.8304 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004893/0.6151, allocations: 2.343 MB / 0.8327 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.6152, allocations: 7.953 kB / 0.8327 GB, free: 15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003024/0.6155, allocations: 76.17 kB / 0.8327 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009869/0.6165, allocations: 326.5 kB / 0.833 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.6165, allocations: 19.98 kB / 0.8331 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001341/0.6179, allocations: 0.9652 MB / 0.834 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6179, allocations: 7.969 kB / 0.834 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.6213, allocations: 1.322 MB / 0.8353 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004949/0.6218, allocations: 283.4 kB / 0.8356 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001311/0.622, allocations: 15.98 kB / 0.8356 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.6228, allocations: 119.7 kB / 0.8357 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.233e-05/0.6229, allocations: 43.28 kB / 0.8357 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.521e-05/0.623, allocations: 23.98 kB / 0.8358 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001089/0.624, allocations: 0.7352 MB / 0.8365 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.6241, allocations: 4 kB / 0.8365 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001409/0.6255, allocations: 0.5537 MB / 0.837 GB, free: 10.43 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006832/0.6262, allocations: 370.5 kB / 0.8374 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003196/0.6294, allocations: 1.217 MB / 0.8386 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/0.6294, allocations: 4 kB / 0.8386 GB, free: 8.836 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000893/0.6303, allocations: 395.1 kB / 0.839 GB, free: 8.453 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/0.6328, allocations: 0.5244 MB / 0.8395 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005443/0.6383, allocations: 2.52 MB / 0.8419 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007051/0.639, allocations: 1.066 MB / 0.843 GB, free: 4.254 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001115/0.6402, allocations: 222.9 kB / 0.8432 GB, free: 4.035 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.6404, allocations: 83.41 kB / 0.8433 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/0.6404, allocations: 0 / 0.8433 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of Templates: time 0.03854/0.6789, allocations: 23.71 MB / 0.8664 GB, free: 12.55 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: