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.001311/0.001311, allocations: 102.1 kB / 16.27 MB, free: 6.418 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.001333/0.001333, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.833/1.833, allocations: 292.3 MB / 0.5495 GB, free: 17.55 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.001432/0.001432, allocations: 71.91 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2458, allocations: 114.6 MB / 0.784 GB, free: 3.859 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4532/0.6991, allocations: 61.24 MB / 0.8438 GB, free: 9.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.7155, allocations: 11.89 MB / 0.8554 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003271/0.7189, allocations: 63.72 kB / 0.8555 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.7215, allocations: 0.6755 MB / 0.8562 GB, free: 92 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00795/0.7296, allocations: 1.955 MB / 0.8581 GB, free: 14.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004323/0.7339, allocations: 1.219 MB / 0.8593 GB, free: 14.26 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006145/0.7401, allocations: 3.069 MB / 0.8623 GB, free: 12.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.7425, allocations: 1.109 MB / 0.8633 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004477/0.747, allocations: 1.332 MB / 0.8646 GB, free: 11.59 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002517/0.7495, allocations: 0.9102 MB / 0.8655 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004311/0.75, allocations: 117.4 kB / 0.8656 GB, free: 11.16 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004602/0.7546, allocations: 1.449 MB / 0.8671 GB, free: 10.68 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.7552, allocations: 301 kB / 0.8673 GB, free: 10.48 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001583/0.7568, allocations: 0.7022 MB / 0.868 GB, free: 10.04 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005698/0.7625, allocations: 2.307 MB / 0.8703 GB, free: 8.938 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.7626, allocations: 0 / 0.8703 GB, free: 8.938 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.114e-06/0.7626, allocations: 1.062 kB / 0.8703 GB, free: 8.938 MB / 0.67 GB Notification: Performance of Transformations before backend: time 5.809e-05/0.7627, allocations: 0 / 0.8703 GB, free: 8.938 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.004596/0.7673, allocations: 1.738 MB / 0.872 GB, free: 7.594 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/0.7674, allocations: 9.5 kB / 0.872 GB, free: 7.594 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/0.7694, allocations: 349.2 kB / 0.8723 GB, free: 7.434 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002666/0.772, allocations: 1.103 MB / 0.8734 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003774/0.7724, allocations: 121.8 kB / 0.8735 GB, free: 6.484 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.7726, allocations: 79.47 kB / 0.8736 GB, free: 6.461 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002153/0.7748, allocations: 0.9677 MB / 0.8745 GB, free: 5.828 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/0.7748, allocations: 5.062 kB / 0.8745 GB, free: 5.824 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/0.7749, allocations: 32.19 kB / 0.8746 GB, free: 5.801 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.109e-05/0.775, allocations: 23 kB / 0.8746 GB, free: 5.797 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002275/0.7772, allocations: 0.8267 MB / 0.8754 GB, free: 5.387 MB / 0.67 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.007662/0.7849, allocations: 4.908 MB / 0.8802 GB, free: 1.016 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001753/0.7867, allocations: 0.6222 MB / 0.8808 GB, free: 0.7031 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000691/0.7874, allocations: 282.8 kB / 0.8811 GB, free: 0.5703 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.789, allocations: 1.365 MB / 0.8824 GB, free: 15 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.789, allocations: 41.78 kB / 0.8824 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 3.006e-06/0.789, allocations: 0 / 0.8824 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.00796/0.797, allocations: 1.717 MB / 0.8841 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.7971, allocations: 58.56 kB / 0.8842 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001926/0.799, allocations: 1.078 MB / 0.8852 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/0.7991, allocations: 38.61 kB / 0.8853 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000501/0.7996, allocations: 0.5174 MB / 0.8858 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/0.7998, allocations: 170.8 kB / 0.8859 GB, free: 12.76 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.8001, allocations: 146.3 kB / 0.8861 GB, free: 12.67 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.8002, allocations: 322.8 kB / 0.8864 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.8011, allocations: 296.9 kB / 0.8867 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.8022, allocations: 0.5138 MB / 0.8872 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001622/0.8038, allocations: 0.6815 MB / 0.8878 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.8039, allocations: 1.406 kB / 0.8878 GB, free: 11.33 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.003912/0.8078, allocations: 1.143 MB / 0.889 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.8078, allocations: 7.375 kB / 0.889 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.8078, allocations: 5.438 kB / 0.889 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001338/0.8092, allocations: 312.7 kB / 0.8893 GB, free: 10.62 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005521/0.8098, allocations: 130.6 kB / 0.8894 GB, free: 10.59 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.8114, allocations: 0.9112 MB / 0.8903 GB, free: 9.867 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/0.813, allocations: 151 kB / 0.8904 GB, free: 9.785 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001133/0.8131, allocations: 32.39 kB / 0.8905 GB, free: 9.777 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001321/0.8144, allocations: 0.4951 MB / 0.8909 GB, free: 9.48 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001142/0.8156, allocations: 0.5081 MB / 0.8914 GB, free: 9.066 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001644/0.8172, allocations: 0.6859 MB / 0.8921 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.813e-06/0.8172, allocations: 1.062 kB / 0.8921 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003977/0.8212, allocations: 1.124 MB / 0.8932 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.8213, allocations: 6.594 kB / 0.8932 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.8213, allocations: 4.875 kB / 0.8932 GB, free: 8.055 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.8225, allocations: 316.2 kB / 0.8935 GB, free: 7.906 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.8231, allocations: 125.9 kB / 0.8936 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001567/0.8246, allocations: 0.9118 MB / 0.8945 GB, free: 7.148 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00157/0.8262, allocations: 133 kB / 0.8947 GB, free: 7.082 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.8264, allocations: 31.64 kB / 0.8947 GB, free: 7.074 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003308/0.8267, allocations: 225.7 kB / 0.8949 GB, free: 6.859 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004444/0.8272, allocations: 116 kB / 0.895 GB, free: 6.797 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.8314, allocations: 1.117 MB / 0.8961 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.739e-05/0.8314, allocations: 5.5 kB / 0.8961 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/0.8315, allocations: 1.375 kB / 0.8961 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.8315, allocations: 3.984 kB / 0.8961 GB, free: 6.18 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.8383, allocations: 2.116 MB / 0.8982 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.387e-05/0.8384, allocations: 9.25 kB / 0.8982 GB, free: 4.727 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002776/0.8387, allocations: 59.89 kB / 0.8982 GB, free: 4.668 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001161/0.8399, allocations: 317.8 kB / 0.8985 GB, free: 4.355 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.58e-05/0.8399, allocations: 15.94 kB / 0.8986 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.8416, allocations: 0.9443 MB / 0.8995 GB, free: 3.371 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.195e-06/0.8417, allocations: 5.562 kB / 0.8995 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004072/0.8457, allocations: 1.157 MB / 0.9006 GB, free: 2.16 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/0.8466, allocations: 267.5 kB / 0.9009 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004241/0.8471, allocations: 15.98 kB / 0.9009 GB, free: 1.863 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/0.8482, allocations: 69.98 kB / 0.901 GB, free: 1.797 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.8483, allocations: 39.83 kB / 0.901 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.041e-05/0.8484, allocations: 29.11 kB / 0.901 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001619/0.85, allocations: 0.7512 MB / 0.9018 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.7e-07/0.85, allocations: 0 / 0.9018 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002729/0.8528, allocations: 0.581 MB / 0.9023 GB, free: 400 kB / 0.6856 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 (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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001285/0.8541, allocations: 413.8 kB / 0.9027 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003589/0.8577, allocations: 1.114 MB / 0.9038 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.252e-06/0.8577, allocations: 0 / 0.9038 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0009445/0.8587, allocations: 346.8 kB / 0.9041 GB, free: 14.54 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.862, allocations: 0.5281 MB / 0.9046 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.8663, allocations: 1.886 MB / 0.9065 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008651/0.8672, allocations: 1.066 MB / 0.9075 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.8676, allocations: 87.41 kB / 0.9076 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of SimCode: time 1.192e-06/0.8676, allocations: 0 / 0.9076 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of Templates: time 0.04021/0.9078, allocations: 24.46 MB / 0.9315 GB, free: 2.723 MB / 0.7169 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (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)