Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009759/0.000976, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001175/0.001175, allocations: 177.3 kB / 15.95 MB, free: 216 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.327/1.327, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.617/1.617, allocations: 292.5 MB / 0.5497 GB, free: 14.62 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.0005064/0.0005064, allocations: 13.22 kB / 0.6735 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.04676/0.265, allocations: 51.35 MB / 0.8373 GB, free: 8.477 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01427/0.2793, allocations: 10.23 MB / 0.8472 GB, free: 14.23 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002076/0.2814, allocations: 43.69 kB / 0.8473 GB, free: 14.19 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.2837, allocations: 0.6297 MB / 0.8479 GB, free: 13.56 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006787/0.2905, allocations: 1.905 MB / 0.8498 GB, free: 11.65 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00409/0.2946, allocations: 1.323 MB / 0.8511 GB, free: 10.35 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003891/0.2985, allocations: 1.847 MB / 0.8529 GB, free: 8.5 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001443/0.3, allocations: 0.8055 MB / 0.8536 GB, free: 7.668 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.3022, allocations: 0.9925 MB / 0.8546 GB, free: 6.672 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008842/0.3031, allocations: 0.6066 MB / 0.8552 GB, free: 6.062 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 9.796e-05/0.3032, allocations: 44 kB / 0.8552 GB, free: 6.02 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002437/0.3057, allocations: 1.002 MB / 0.8562 GB, free: 5.016 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/0.306, allocations: 199 kB / 0.8564 GB, free: 4.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003737/0.3064, allocations: 289 kB / 0.8567 GB, free: 4.531 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002368/0.3087, allocations: 1.594 MB / 0.8582 GB, free: 2.934 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3088, allocations: 0 / 0.8582 GB, free: 2.934 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.324e-06/0.3088, allocations: 0 / 0.8582 GB, free: 2.934 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.426e-05/0.3088, allocations: 4 kB / 0.8583 GB, free: 2.93 MB / 0.67 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.003/0.3118, allocations: 1.493 MB / 0.8597 GB, free: 1.379 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/0.3119, allocations: 12.03 kB / 0.8597 GB, free: 1.367 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001632/0.3135, allocations: 386 kB / 0.8601 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.3156, allocations: 1.051 MB / 0.8611 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003555/0.316, allocations: 129.9 kB / 0.8612 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.3161, allocations: 84 kB / 0.8613 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001954/0.3181, allocations: 0.9566 MB / 0.8623 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.3181, allocations: 4 kB / 0.8623 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.3182, allocations: 28 kB / 0.8623 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.3182, allocations: 20 kB / 0.8623 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.3203, allocations: 0.8626 MB / 0.8631 GB, free: 13.77 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.006423/0.3268, allocations: 4.563 MB / 0.8676 GB, free: 8.891 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001741/0.3285, allocations: 0.6417 MB / 0.8682 GB, free: 8.242 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001465/0.33, allocations: 1.393 MB / 0.8696 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.3301, allocations: 46.92 kB / 0.8696 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.935e-06/0.3301, allocations: 0 / 0.8696 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007706/0.3378, allocations: 1.886 MB / 0.8715 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3379, allocations: 55.84 kB / 0.8715 GB, free: 4.516 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.3395, allocations: 1.071 MB / 0.8726 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.388e-05/0.3397, allocations: 37.7 kB / 0.8726 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000479/0.3401, allocations: 0.5157 MB / 0.8731 GB, free: 2.867 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.3403, allocations: 165.7 kB / 0.8733 GB, free: 2.703 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.3403, allocations: 15.94 kB / 0.8733 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.3405, allocations: 337.8 kB / 0.8736 GB, free: 2.352 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007714/0.3413, allocations: 292.9 kB / 0.8739 GB, free: 2.066 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009279/0.3422, allocations: 496.1 kB / 0.8744 GB, free: 1.5 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.3431, allocations: 340.5 kB / 0.8747 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.3431, allocations: 0 / 0.8747 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003529/0.3466, allocations: 1.171 MB / 0.8758 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005735/0.3472, allocations: 1.399 MB / 0.8772 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3472, allocations: 8 kB / 0.8772 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.3485, allocations: 339.7 kB / 0.8775 GB, free: 14.14 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004778/0.349, allocations: 119.9 kB / 0.8776 GB, free: 14.03 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001486/0.3505, allocations: 0.9348 MB / 0.8786 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.3518, allocations: 187.2 kB / 0.8787 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.274e-05/0.3519, allocations: 27.98 kB / 0.8788 GB, free: 12.86 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3519, allocations: 4 kB / 0.8788 GB, free: 12.85 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002992/0.3549, allocations: 1.041 MB / 0.8798 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3549, allocations: 0 / 0.8798 GB, free: 11.8 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00111/0.356, allocations: 320.9 kB / 0.8801 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.3565, allocations: 127.8 kB / 0.8802 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.3579, allocations: 0.9309 MB / 0.8811 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.3592, allocations: 162.2 kB / 0.8813 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.835e-05/0.3593, allocations: 31.98 kB / 0.8813 GB, free: 10.22 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.0007314/0.3601, allocations: 348.9 kB / 0.8816 GB, free: 9.867 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.3604, allocations: 118.6 kB / 0.8817 GB, free: 9.75 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003635/0.364, allocations: 1.2 MB / 0.8829 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.364, allocations: 7.984 kB / 0.8829 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.364, allocations: 0 / 0.8829 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.3641, allocations: 0 / 0.8829 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005043/0.3691, allocations: 2.227 MB / 0.8851 GB, free: 6.227 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.3691, allocations: 8 kB / 0.8851 GB, free: 6.219 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002429/0.3694, allocations: 59.91 kB / 0.8852 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.3704, allocations: 328.9 kB / 0.8855 GB, free: 5.836 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.3705, allocations: 12 kB / 0.8855 GB, free: 5.824 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/0.372, allocations: 0.9729 MB / 0.8864 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.3721, allocations: 0 / 0.8864 GB, free: 4.828 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003597/0.3757, allocations: 1.361 MB / 0.8878 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005718/0.3762, allocations: 291.4 kB / 0.888 GB, free: 3.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.3764, allocations: 15.95 kB / 0.8881 GB, free: 3.055 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008168/0.3772, allocations: 99.81 kB / 0.8882 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.964e-05/0.3773, allocations: 43.86 kB / 0.8882 GB, free: 2.914 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.845e-05/0.3774, allocations: 23.98 kB / 0.8882 GB, free: 2.891 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001136/0.3785, allocations: 0.7508 MB / 0.889 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3785, allocations: 0 / 0.889 GB, free: 2.133 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001468/0.38, allocations: 0.577 MB / 0.8895 GB, free: 1.555 MB / 0.7012 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 (37): * Single equations (assignments): 32 * 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 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006671/0.3806, allocations: 401.1 kB / 0.8899 GB, free: 1.16 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002718/0.3834, allocations: 1.093 MB / 0.891 GB, free: 68 kB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.3834, allocations: 0 / 0.891 GB, free: 68 kB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.3842, allocations: 353.9 kB / 0.8913 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002294/0.3865, allocations: 0.5206 MB / 0.8918 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.3899, allocations: 2.216 MB / 0.894 GB, free: 12.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006421/0.3906, allocations: 1.089 MB / 0.895 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009735/0.3915, allocations: 239 kB / 0.8953 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001711/0.3917, allocations: 79.42 kB / 0.8953 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of SimCode: time 2.054e-06/0.3917, allocations: 0 / 0.8953 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.0395/0.4312, allocations: 24.11 MB / 0.9189 GB, free: 3.699 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1) Environment - environmentSimulation: