Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008194/0.0008194, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.0008294/0.0008295, allocations: 179 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.463/1.463, allocations: 205.4 MB / 222.4 MB, free: 5.793 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.806/1.806, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.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.0006155/0.0006153, allocations: 18.58 kB / 0.6743 GB, free: 25.97 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.2342, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07354/0.3078, allocations: 73.5 MB / 0.8596 GB, free: 1.84 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02108/0.3289, allocations: 14.94 MB / 0.8742 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002587/0.3315, allocations: 55.62 kB / 0.8743 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.3339, allocations: 0.6721 MB / 0.8749 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.006889/0.3408, allocations: 2.368 MB / 0.8773 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.003543/0.3444, allocations: 1.278 MB / 0.8785 GB, free: 14.49 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.006589/0.351, allocations: 5.527 MB / 0.8839 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.3529, allocations: 1.143 MB / 0.885 GB, free: 7.77 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002856/0.3558, allocations: 1.341 MB / 0.8863 GB, free: 6.422 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002171/0.358, allocations: 1.143 MB / 0.8874 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003352/0.3583, allocations: 60 kB / 0.8875 GB, free: 5.215 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003157/0.3615, allocations: 1.259 MB / 0.8887 GB, free: 3.953 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.362, allocations: 294.5 kB / 0.889 GB, free: 3.664 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.3633, allocations: 0.7944 MB / 0.8898 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00484/0.3682, allocations: 2.734 MB / 0.8925 GB, free: 120 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.3682, allocations: 8 kB / 0.8925 GB, free: 112 kB / 0.7012 GB Notification: Performance of FrontEnd: time 2.265e-06/0.3682, allocations: 0 / 0.8925 GB, free: 112 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0001019/0.3683, allocations: 0 / 0.8925 GB, free: 112 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004577/0.3729, allocations: 1.787 MB / 0.8942 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.373, allocations: 8.031 kB / 0.8942 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001042/0.374, allocations: 246.8 kB / 0.8945 GB, free: 14.01 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003053/0.3771, allocations: 1.485 MB / 0.8959 GB, free: 12.46 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.928e-05/0.3772, allocations: 85.81 kB / 0.896 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001629/0.3773, allocations: 108 kB / 0.8961 GB, free: 12.28 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.3796, allocations: 1.12 MB / 0.8972 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.3796, allocations: 0 / 0.8972 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001056/0.3798, allocations: 39.98 kB / 0.8972 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.184e-05/0.3798, allocations: 31.98 kB / 0.8972 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/0.3818, allocations: 0.9329 MB / 0.8982 GB, free: 10.12 MB / 0.7169 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.006623/0.3885, allocations: 4.942 MB / 0.903 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001464/0.3899, allocations: 0.6353 MB / 0.9036 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007661/0.3907, allocations: 374.3 kB / 0.904 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006793/0.3914, allocations: 0.8277 MB / 0.9048 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.3915, allocations: 43.12 kB / 0.9048 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.235e-06/0.3915, allocations: 0 / 0.9048 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.005194/0.3967, allocations: 1.53 MB / 0.9063 GB, free: 1.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.3967, allocations: 59.97 kB / 0.9064 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3984, allocations: 1.214 MB / 0.9075 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.021e-05/0.3985, allocations: 37.7 kB / 0.9076 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005236/0.3991, allocations: 0.5987 MB / 0.9082 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002205/0.3993, allocations: 220.9 kB / 0.9084 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.961e-05/0.3994, allocations: 57.69 kB / 0.9084 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.3995, allocations: 337.9 kB / 0.9088 GB, free: 14.69 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007249/0.4002, allocations: 301.8 kB / 0.909 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008768/0.4011, allocations: 0.5122 MB / 0.9095 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.4027, allocations: 0.7433 MB / 0.9103 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.4027, allocations: 0 / 0.9103 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005079/0.4078, allocations: 1.413 MB / 0.9117 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001305/0.4079, allocations: 189.4 kB / 0.9118 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4079, allocations: 4 kB / 0.9118 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006988/0.4086, allocations: 160.7 kB / 0.912 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006349/0.4093, allocations: 167.8 kB / 0.9121 GB, free: 11.03 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009396/0.4102, allocations: 0.7278 MB / 0.9129 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4116, allocations: 175.1 kB / 0.913 GB, free: 10.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.4117, allocations: 31.98 kB / 0.9131 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.4117, allocations: 6.656 kB / 0.9131 GB, free: 10.07 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00474/0.4164, allocations: 1.253 MB / 0.9143 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4164, allocations: 4 kB / 0.9143 GB, free: 8.809 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006106/0.4171, allocations: 165 kB / 0.9144 GB, free: 8.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.4177, allocations: 167.8 kB / 0.9146 GB, free: 8.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008349/0.4185, allocations: 0.7278 MB / 0.9153 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.4199, allocations: 170.4 kB / 0.9155 GB, free: 7.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.351e-05/0.4199, allocations: 32 kB / 0.9155 GB, free: 7.531 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * 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,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0006831/0.4206, allocations: 419.4 kB / 0.9159 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/0.4209, allocations: 134.4 kB / 0.916 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004989/0.4259, allocations: 1.392 MB / 0.9174 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.931e-05/0.4259, allocations: 8 kB / 0.9174 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/0.4259, allocations: 4 kB / 0.9174 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004456/0.4304, allocations: 1.221 MB / 0.9186 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004502/0.4349, allocations: 2.352 MB / 0.9209 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.4349, allocations: 8 kB / 0.9209 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005077/0.4354, allocations: 128.2 kB / 0.921 GB, free: 1.707 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006036/0.4361, allocations: 148.7 kB / 0.9212 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.079e-05/0.4361, allocations: 23.98 kB / 0.9212 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008962/0.437, allocations: 0.7278 MB / 0.9219 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.437, allocations: 0 / 0.9219 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4349/0.872, allocations: 1.453 MB / 0.9233 GB, free: 134.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/0.8736, allocations: 331.3 kB / 0.9236 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006883/0.8743, allocations: 20.31 kB / 0.9237 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001754/0.8761, allocations: 91.77 kB / 0.9237 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002127/0.8763, allocations: 57.95 kB / 0.9238 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.8765, allocations: 35.5 kB / 0.9238 GB, free: 134.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002395/0.8789, allocations: 0.866 MB / 0.9247 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8789, allocations: 0 / 0.9247 GB, free: 134.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003166/0.8821, allocations: 0.7038 MB / 0.9254 GB, free: 134.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001339/0.8834, allocations: 448.9 kB / 0.9258 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00342/0.8868, allocations: 1.181 MB / 0.927 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/0.8869, allocations: 1.094 kB / 0.927 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/0.8879, allocations: 418 kB / 0.9274 GB, free: 134.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005011/0.893, allocations: 0.8014 MB / 0.9281 GB, free: 134 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004367/0.8973, allocations: 2.821 MB / 0.9309 GB, free: 132.4 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008053/0.8982, allocations: 1.172 MB / 0.932 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001571/0.8998, allocations: 309.3 kB / 0.9323 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003821/0.9002, allocations: 113.3 kB / 0.9324 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of SimCode: time 8.52e-07/0.9002, allocations: 0 / 0.9324 GB, free: 131.6 MB / 0.7325 GB Notification: Performance of Templates: time 0.05975/0.9599, allocations: 32.04 MB / 0.9637 GB, free: 118.7 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) Environment - environmentSimulation: