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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.3 MB / 308.1 MB, free: 4.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 192.5 kB / 376.9 MB, free: 1.855 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 205 MB / 0.6354 GB, free: 9.805 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009188/0.0009188, allocations: 103.7 kB / 0.748 GB, free: 61.3 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00109/0.00109, allocations: 51.91 kB / 0.8703 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2474/0.2485, allocations: 114.6 MB / 0.9822 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.4741/0.7226, allocations: 60.88 MB / 1.042 GB, free: 66.12 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.7386, allocations: 11.97 MB / 1.053 GB, free: 64.32 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002295/0.741, allocations: 55.41 kB / 1.053 GB, free: 64.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001777/0.7428, allocations: 0.5491 MB / 1.054 GB, free: 64.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.7484, allocations: 1.789 MB / 1.056 GB, free: 63.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.003241/0.7516, allocations: 1.087 MB / 1.057 GB, free: 63.37 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.005767/0.7574, allocations: 3.912 MB / 1.061 GB, free: 62.68 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00167/0.7591, allocations: 0.9259 MB / 1.061 GB, free: 62.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.7615, allocations: 1.171 MB / 1.063 GB, free: 62.1 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00106/0.7626, allocations: 0.9079 MB / 1.064 GB, free: 61.7 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001197/0.7627, allocations: 57.19 kB / 1.064 GB, free: 61.7 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002753/0.7655, allocations: 1.362 MB / 1.065 GB, free: 61.25 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002025/0.7657, allocations: 244.8 kB / 1.065 GB, free: 61.11 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0005622/0.7663, allocations: 0.6338 MB / 1.066 GB, free: 60.74 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.7687, allocations: 2.262 MB / 1.068 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.7687, allocations: 0 / 1.068 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.7687, allocations: 3.938 kB / 1.068 GB, free: 59.9 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.489e-05/0.7688, allocations: 0 / 1.068 GB, free: 59.9 MB / 0.7448 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.002664/0.7714, allocations: 1.736 MB / 1.07 GB, free: 58.71 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.7715, allocations: 9.844 kB / 1.07 GB, free: 58.71 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.773, allocations: 351.3 kB / 1.07 GB, free: 58.63 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001712/0.7747, allocations: 1.128 MB / 1.071 GB, free: 57.92 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003313/0.7751, allocations: 120.8 kB / 1.071 GB, free: 57.89 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.604e-05/0.7752, allocations: 76.75 kB / 1.071 GB, free: 57.86 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001572/0.7767, allocations: 0.9518 MB / 1.072 GB, free: 57.43 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.7768, allocations: 0 / 1.072 GB, free: 57.43 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.671e-05/0.7768, allocations: 34.41 kB / 1.072 GB, free: 57.41 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.7769, allocations: 20.34 kB / 1.072 GB, free: 57.4 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.7788, allocations: 0.8173 MB / 1.073 GB, free: 57.13 MB / 0.7448 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.004759/0.7836, allocations: 4.487 MB / 1.077 GB, free: 53.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.7851, allocations: 0.6107 MB / 1.078 GB, free: 53.64 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005911/0.7857, allocations: 285.2 kB / 1.078 GB, free: 53.55 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009725/0.7867, allocations: 1.369 MB / 1.08 GB, free: 52.03 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.06e-05/0.7867, allocations: 38.03 kB / 1.08 GB, free: 51.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=47): time 2.464e-06/0.7867, allocations: 0 / 1.08 GB, free: 51.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=47): time 0.007159/0.7939, allocations: 1.721 MB / 1.081 GB, free: 51.5 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.636e-05/0.7939, allocations: 58.56 kB / 1.081 GB, free: 51.44 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001312/0.7953, allocations: 1.048 MB / 1.082 GB, free: 51.01 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 5.937e-05/0.7953, allocations: 39.98 kB / 1.082 GB, free: 50.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.7956, allocations: 0.5228 MB / 1.083 GB, free: 50.55 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.7957, allocations: 162.2 kB / 1.083 GB, free: 50.42 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001927/0.7959, allocations: 132.6 kB / 1.083 GB, free: 50.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 4.958e-05/0.796, allocations: 331.6 kB / 1.084 GB, free: 50.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007046/0.7967, allocations: 285.1 kB / 1.084 GB, free: 49.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008397/0.7976, allocations: 489.5 kB / 1.084 GB, free: 49.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/0.7988, allocations: 0.6365 MB / 1.085 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.7988, allocations: 4 kB / 1.085 GB, free: 49.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002193/0.801, allocations: 0.9527 MB / 1.086 GB, free: 48.94 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.8011, allocations: 6.25 kB / 1.086 GB, free: 48.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.8011, allocations: 3.062 kB / 1.086 GB, free: 48.94 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.8023, allocations: 314.8 kB / 1.086 GB, free: 48.87 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004377/0.8027, allocations: 124.7 kB / 1.086 GB, free: 48.86 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00127/0.804, allocations: 0.9103 MB / 1.087 GB, free: 48.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001168/0.8052, allocations: 164.6 kB / 1.087 GB, free: 48.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.8053, allocations: 32.59 kB / 1.087 GB, free: 48.14 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009982/0.8063, allocations: 0.4913 MB / 1.088 GB, free: 47.89 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000815/0.8071, allocations: 490.3 kB / 1.088 GB, free: 47.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001282/0.8084, allocations: 0.6313 MB / 1.089 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.184e-06/0.8084, allocations: 0 / 1.089 GB, free: 47.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002168/0.8106, allocations: 0.9447 MB / 1.09 GB, free: 46.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.8106, allocations: 6.375 kB / 1.09 GB, free: 46.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8106, allocations: 4.047 kB / 1.09 GB, free: 46.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009841/0.8116, allocations: 314 kB / 1.09 GB, free: 46.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.812, allocations: 115.2 kB / 1.09 GB, free: 46.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/0.8132, allocations: 0.9058 MB / 1.091 GB, free: 46.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.8145, allocations: 153.2 kB / 1.091 GB, free: 46.1 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.977e-05/0.8145, allocations: 33.69 kB / 1.091 GB, free: 46.09 MB / 0.7448 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 (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.0002092/0.8148, allocations: 209.8 kB / 1.092 GB, free: 45.89 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.8149, allocations: 108.9 kB / 1.092 GB, free: 45.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.8185, allocations: 1.121 MB / 1.093 GB, free: 45.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/0.8185, allocations: 5.781 kB / 1.093 GB, free: 45.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.8185, allocations: 0 / 1.093 GB, free: 45.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.8185, allocations: 3.375 kB / 1.093 GB, free: 45.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004358/0.8229, allocations: 2.137 MB / 1.095 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.8229, allocations: 3.062 kB / 1.095 GB, free: 44.46 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002116/0.8231, allocations: 64.05 kB / 1.095 GB, free: 44.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009392/0.8241, allocations: 309.7 kB / 1.095 GB, free: 44.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.394e-05/0.8241, allocations: 13.78 kB / 1.095 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/0.8254, allocations: 0.9471 MB / 1.096 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.8254, allocations: 3.156 kB / 1.096 GB, free: 43.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004138/0.8295, allocations: 2.229 MB / 1.098 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004068/0.83, allocations: 259.8 kB / 1.099 GB, free: 42.18 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.8301, allocations: 15.16 kB / 1.099 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007713/0.8309, allocations: 95.12 kB / 1.099 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.336e-05/0.831, allocations: 44.83 kB / 1.099 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.831, allocations: 23.67 kB / 1.099 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009283/0.832, allocations: 0.7426 MB / 1.099 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.2e-07/0.832, allocations: 0 / 1.099 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001583/0.8336, allocations: 0.5831 MB / 1.1 GB, free: 41.69 MB / 0.7448 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.0007049/0.8343, allocations: 403.5 kB / 1.1 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00258/0.8369, allocations: 1.051 MB / 1.101 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.8369, allocations: 0 / 1.101 GB, free: 41.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007408/0.8376, allocations: 345.6 kB / 1.102 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/0.8399, allocations: 0.5201 MB / 1.102 GB, free: 40.94 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003091/0.843, allocations: 2.553 MB / 1.105 GB, free: 39.32 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.8435, allocations: 1.083 MB / 1.106 GB, free: 38.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008933/0.8444, allocations: 231 kB / 1.106 GB, free: 38.53 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/0.8445, allocations: 81.33 kB / 1.106 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.8445, allocations: 0 / 1.106 GB, free: 38.51 MB / 0.7448 GB Notification: Performance of Templates: time 0.03786/0.8824, allocations: 25.27 MB / 1.131 GB, free: 36.35 MB / 0.7448 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)