Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.0007946/0.0007946, allocations: 91.61 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.000851/0.0008511, 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.352/1.352, allocations: 205.4 MB / 222.1 MB, free: 5.902 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.644/1.644, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.000557/0.0005571, allocations: 21.88 kB / 0.6737 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2228, allocations: 116.3 MB / 0.7873 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05044/0.2733, allocations: 56.55 MB / 0.8425 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01457/0.2879, allocations: 11.13 MB / 0.8534 GB, free: 8.109 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.2899, allocations: 47.69 kB / 0.8534 GB, free: 8.062 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2914, allocations: 468.8 kB / 0.8539 GB, free: 7.602 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004888/0.2963, allocations: 1.526 MB / 0.8554 GB, free: 6.07 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00299/0.2993, allocations: 0.8679 MB / 0.8562 GB, free: 5.211 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004219/0.3035, allocations: 3.394 MB / 0.8595 GB, free: 1.805 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001207/0.3047, allocations: 0.7857 MB / 0.8603 GB, free: 0.9922 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.3068, allocations: 1.046 MB / 0.8613 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.3079, allocations: 0.8166 MB / 0.8621 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.308, allocations: 44 kB / 0.8621 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.3102, allocations: 1.107 MB / 0.8632 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002222/0.3104, allocations: 207 kB / 0.8634 GB, free: 13.77 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002814/0.3107, allocations: 281 kB / 0.8637 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001643/0.3123, allocations: 1.652 MB / 0.8653 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.3124, allocations: 0 / 0.8653 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3124, allocations: 0 / 0.8653 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.3124, allocations: 0 / 0.8653 GB, free: 11.83 MB / 0.6856 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.00234/0.3147, allocations: 1.509 MB / 0.8668 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.127e-05/0.3148, allocations: 12.03 kB / 0.8668 GB, free: 10.25 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001873/0.3166, allocations: 473.9 kB / 0.8672 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.3185, allocations: 1.094 MB / 0.8683 GB, free: 8.633 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000313/0.3188, allocations: 137.9 kB / 0.8684 GB, free: 8.5 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.3189, allocations: 87.92 kB / 0.8685 GB, free: 8.414 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001841/0.3208, allocations: 0.9956 MB / 0.8695 GB, free: 7.379 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.707e-05/0.3208, allocations: 4 kB / 0.8695 GB, free: 7.375 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.7e-05/0.3209, allocations: 28 kB / 0.8695 GB, free: 7.348 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.3209, allocations: 20 kB / 0.8695 GB, free: 7.328 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002083/0.323, allocations: 0.929 MB / 0.8705 GB, free: 6.402 MB / 0.6856 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.005565/0.3286, allocations: 4.627 MB / 0.875 GB, free: 1.465 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003059/0.3316, allocations: 0.9405 MB / 0.8759 GB, free: 0.5156 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.3323, allocations: 338 kB / 0.8762 GB, free: 188 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006051/0.333, allocations: 0.9107 MB / 0.8771 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.333, allocations: 39 kB / 0.8771 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.943e-06/0.333, allocations: 0 / 0.8771 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.007564/0.3406, allocations: 2.213 MB / 0.8793 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.3406, allocations: 55.84 kB / 0.8794 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.342, allocations: 1.055 MB / 0.8804 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.423e-05/0.3421, allocations: 37.7 kB / 0.8804 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003879/0.3425, allocations: 0.5158 MB / 0.8809 GB, free: 11.08 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001316/0.3426, allocations: 169.5 kB / 0.8811 GB, free: 10.91 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/0.3427, allocations: 12 kB / 0.8811 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3428, allocations: 333.9 kB / 0.8814 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.3436, allocations: 332.9 kB / 0.8817 GB, free: 10.24 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009531/0.3446, allocations: 0.5313 MB / 0.8822 GB, free: 9.629 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.3454, allocations: 368.6 kB / 0.8826 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3454, allocations: 0 / 0.8826 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002448/0.3479, allocations: 1.073 MB / 0.8836 GB, free: 8.188 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001125/0.348, allocations: 191.1 kB / 0.8838 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.348, allocations: 4 kB / 0.8838 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3492, allocations: 340.5 kB / 0.8842 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005321/0.3498, allocations: 131.8 kB / 0.8843 GB, free: 7.48 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.3512, allocations: 0.9347 MB / 0.8852 GB, free: 6.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001119/0.3523, allocations: 195.3 kB / 0.8854 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.065e-05/0.3524, allocations: 31.98 kB / 0.8854 GB, free: 6.297 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.3524, allocations: 4 kB / 0.8854 GB, free: 6.293 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002235/0.3546, allocations: 0.9361 MB / 0.8863 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.3547, allocations: 4 kB / 0.8863 GB, free: 5.348 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009786/0.3556, allocations: 336.3 kB / 0.8867 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.3562, allocations: 135.8 kB / 0.8868 GB, free: 4.887 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001259/0.3574, allocations: 0.9386 MB / 0.8877 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/0.3585, allocations: 175.3 kB / 0.8879 GB, free: 3.75 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.93e-05/0.3586, allocations: 31.98 kB / 0.8879 GB, free: 3.719 MB / 0.7012 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.0004947/0.3591, allocations: 349 kB / 0.8882 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3593, allocations: 106.7 kB / 0.8883 GB, free: 3.262 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/0.3629, allocations: 1.26 MB / 0.8896 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.3629, allocations: 7.938 kB / 0.8896 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.3629, allocations: 0 / 0.8896 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.378e-06/0.3629, allocations: 3.984 kB / 0.8896 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005008/0.3679, allocations: 2.343 MB / 0.8919 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/0.368, allocations: 8 kB / 0.8919 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003083/0.3683, allocations: 79.88 kB / 0.8919 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001003/0.3693, allocations: 332.8 kB / 0.8923 GB, free: 15.14 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.17e-05/0.3694, allocations: 15.89 kB / 0.8923 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001369/0.3707, allocations: 0.9737 MB / 0.8932 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3708, allocations: 4 kB / 0.8932 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00339/0.3742, allocations: 1.318 MB / 0.8945 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004313/0.3746, allocations: 291.4 kB / 0.8948 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3747, allocations: 12 kB / 0.8948 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007954/0.3755, allocations: 115.8 kB / 0.8949 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.3756, allocations: 35.33 kB / 0.895 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.3757, allocations: 23.98 kB / 0.895 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001095/0.3768, allocations: 0.743 MB / 0.8957 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3768, allocations: 0 / 0.8957 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001399/0.3782, allocations: 0.5614 MB / 0.8963 GB, free: 10.95 MB / 0.7169 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.0006295/0.3788, allocations: 378.9 kB / 0.8966 GB, free: 10.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002961/0.3818, allocations: 1.217 MB / 0.8978 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.3818, allocations: 4 kB / 0.8978 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008671/0.3827, allocations: 391 kB / 0.8982 GB, free: 8.984 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002166/0.3849, allocations: 0.5223 MB / 0.8987 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004864/0.3897, allocations: 2.507 MB / 0.9011 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005977/0.3904, allocations: 1.062 MB / 0.9022 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008855/0.3913, allocations: 240.8 kB / 0.9024 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001788/0.3914, allocations: 87.41 kB / 0.9025 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of SimCode: time 3.01e-07/0.3914, allocations: 0 / 0.9025 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of Templates: time 0.3621/0.7536, allocations: 23.77 MB / 0.9257 GB, free: 133.6 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1) Environment - environmentSimulation: