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.001095/0.001095, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001198/0.001199, allocations: 195.2 kB / 16.53 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.368/1.368, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.737/1.737, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001423/0.001424, allocations: 67.02 kB / 0.6715 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2236, allocations: 114.5 MB / 0.7834 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL): time 0.07222/0.2959, allocations: 75.23 MB / 0.8568 GB, free: 2.008 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02214/0.3181, allocations: 15.05 MB / 0.8715 GB, free: 2.914 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0034/0.3215, allocations: 63.62 kB / 0.8716 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.3243, allocations: 0.8306 MB / 0.8724 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008301/0.3327, allocations: 2.573 MB / 0.8749 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004573/0.3373, allocations: 1.39 MB / 0.8763 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.007387/0.3447, allocations: 4.354 MB / 0.8805 GB, free: 9.684 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002518/0.3472, allocations: 1.441 MB / 0.8819 GB, free: 8.211 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/0.3521, allocations: 1.633 MB / 0.8835 GB, free: 6.578 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002327/0.3544, allocations: 1.214 MB / 0.8847 GB, free: 5.359 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0003807/0.3548, allocations: 164 kB / 0.8849 GB, free: 5.199 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003614/0.3584, allocations: 1.427 MB / 0.8863 GB, free: 3.77 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0004209/0.3589, allocations: 398.6 kB / 0.8866 GB, free: 3.379 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001245/0.3601, allocations: 0.9021 MB / 0.8875 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004247/0.3644, allocations: 2.871 MB / 0.8903 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.3644, allocations: 0 / 0.8903 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3644, allocations: 0 / 0.8903 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.3644, allocations: 0 / 0.8903 GB, free: 15.59 MB / 0.7169 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.003562/0.368, allocations: 2.087 MB / 0.8924 GB, free: 13.44 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.3681, allocations: 11.97 kB / 0.8924 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000799/0.3689, allocations: 234.9 kB / 0.8926 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/0.3712, allocations: 1.454 MB / 0.894 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.774e-05/0.3713, allocations: 78 kB / 0.8941 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.3715, allocations: 103.9 kB / 0.8942 GB, free: 11.51 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001976/0.3734, allocations: 1.108 MB / 0.8953 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.3735, allocations: 0 / 0.8953 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.61e-05/0.3736, allocations: 40 kB / 0.8953 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.3736, allocations: 24 kB / 0.8953 GB, free: 10.3 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.3755, allocations: 0.8939 MB / 0.8962 GB, free: 9.414 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.006288/0.3818, allocations: 4.977 MB / 0.9011 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3833, allocations: 0.6091 MB / 0.9017 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007313/0.384, allocations: 362.3 kB / 0.902 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000669/0.3847, allocations: 0.8316 MB / 0.9028 GB, free: 2.16 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/0.3848, allocations: 43.12 kB / 0.9029 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=62): time 2.815e-06/0.3848, allocations: 0 / 0.9029 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=62): time 0.005126/0.3899, allocations: 1.397 MB / 0.9042 GB, free: 0.6797 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.39, allocations: 59.97 kB / 0.9043 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.3919, allocations: 1.225 MB / 0.9055 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.3921, allocations: 45.7 kB / 0.9055 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005393/0.3926, allocations: 0.5949 MB / 0.9061 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002353/0.3928, allocations: 220.7 kB / 0.9063 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002487/0.3931, allocations: 158.5 kB / 0.9065 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.3932, allocations: 337.9 kB / 0.9068 GB, free: 14 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000692/0.3939, allocations: 292.6 kB / 0.9071 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008216/0.3948, allocations: 0.4892 MB / 0.9075 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001384/0.3962, allocations: 0.712 MB / 0.9082 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.3962, allocations: 0 / 0.9082 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004931/0.4011, allocations: 1.269 MB / 0.9095 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.4012, allocations: 8 kB / 0.9095 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/0.4012, allocations: 4 kB / 0.9095 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.4019, allocations: 153.1 kB / 0.9096 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.4027, allocations: 159.8 kB / 0.9098 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008945/0.4036, allocations: 0.7161 MB / 0.9105 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.4049, allocations: 129.8 kB / 0.9106 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.665e-05/0.405, allocations: 32 kB / 0.9106 GB, free: 9.891 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001211/0.4062, allocations: 0.5526 MB / 0.9112 GB, free: 9.332 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008818/0.4071, allocations: 499.8 kB / 0.9117 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001443/0.4086, allocations: 0.6965 MB / 0.9123 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.21e-06/0.4086, allocations: 4 kB / 0.9123 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004962/0.4135, allocations: 1.257 MB / 0.9136 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.4136, allocations: 7.938 kB / 0.9136 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.4136, allocations: 7.984 kB / 0.9136 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006964/0.4143, allocations: 153.1 kB / 0.9137 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006705/0.415, allocations: 163.7 kB / 0.9139 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009077/0.4159, allocations: 0.7123 MB / 0.9146 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.4173, allocations: 107.5 kB / 0.9147 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.141e-05/0.4174, allocations: 35.98 kB / 0.9147 GB, free: 5.543 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.0003158/0.4178, allocations: 220.1 kB / 0.9149 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.4181, allocations: 138.3 kB / 0.9151 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/0.4228, allocations: 1.26 MB / 0.9163 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/0.4228, allocations: 8 kB / 0.9163 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/0.4229, allocations: 0 / 0.9163 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004109/0.427, allocations: 1.096 MB / 0.9174 GB, free: 2.773 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004402/0.4314, allocations: 2.313 MB / 0.9196 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/0.4314, allocations: 4 kB / 0.9196 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004737/0.4319, allocations: 112.3 kB / 0.9197 GB, free: 240 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006121/0.4325, allocations: 148.7 kB / 0.9199 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.34e-05/0.4326, allocations: 27.92 kB / 0.9199 GB, free: 60 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4133/0.8459, allocations: 0.6996 MB / 0.9206 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-06/0.8459, allocations: 4.391 kB / 0.9206 GB, free: 136 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003432/0.8494, allocations: 1.401 MB / 0.922 GB, free: 135.7 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006394/0.85, allocations: 309.1 kB / 0.9223 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.8502, allocations: 16.02 kB / 0.9223 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008198/0.8511, allocations: 58.58 kB / 0.9223 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.8512, allocations: 54.8 kB / 0.9224 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.348e-05/0.8513, allocations: 31.45 kB / 0.9224 GB, free: 135.6 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001372/0.8527, allocations: 0.8802 MB / 0.9233 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8527, allocations: 0 / 0.9233 GB, free: 135.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002116/0.8548, allocations: 0.7175 MB / 0.924 GB, free: 135.5 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.001017/0.8558, allocations: 471.3 kB / 0.9244 GB, free: 135.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002898/0.8587, allocations: 1.158 MB / 0.9255 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/0.8587, allocations: 0 / 0.9255 GB, free: 135.2 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/0.8596, allocations: 396.1 kB / 0.9259 GB, free: 135.1 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003276/0.8629, allocations: 0.8225 MB / 0.9267 GB, free: 134.9 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/0.8661, allocations: 2.302 MB / 0.929 GB, free: 133.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006014/0.8667, allocations: 1.169 MB / 0.9301 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001157/0.8679, allocations: 307.7 kB / 0.9304 GB, free: 133 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.8681, allocations: 112.4 kB / 0.9305 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of SimCode: time 1.093e-06/0.8681, allocations: 0 / 0.9305 GB, free: 132.9 MB / 0.7325 GB Notification: Performance of Templates: time 0.05406/0.9222, allocations: 32.34 MB / 0.9621 GB, free: 119.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (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)