Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.773/1.773, allocations: 288.3 MB / 303.2 MB, free: 8.109 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.001222/0.001222, allocations: 189 kB / 371.9 MB, free: 10.28 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.761/1.761, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008408/0.0008408, allocations: 94.86 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004283/0.0004283, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.04223/0.2517, allocations: 51.39 MB / 1.03 GB, free: 8.176 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01504/0.2668, allocations: 10.23 MB / 1.04 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.2688, allocations: 51.62 kB / 1.04 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002055/0.2709, allocations: 0.6219 MB / 1.04 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00586/0.2768, allocations: 1.914 MB / 1.042 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.003819/0.2806, allocations: 1.325 MB / 1.043 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003561/0.2842, allocations: 1.862 MB / 1.045 GB, free: 8.176 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.2856, allocations: 0.8186 MB / 1.046 GB, free: 7.336 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002331/0.2879, allocations: 1 MB / 1.047 GB, free: 6.332 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009927/0.2889, allocations: 0.6066 MB / 1.048 GB, free: 5.723 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001039/0.289, allocations: 44 kB / 1.048 GB, free: 5.68 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002215/0.2913, allocations: 0.9868 MB / 1.049 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.2915, allocations: 207.1 kB / 1.049 GB, free: 4.488 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.2919, allocations: 285 kB / 1.049 GB, free: 4.203 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002221/0.2941, allocations: 1.598 MB / 1.051 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 2.856e-06/0.2941, allocations: 0 / 1.051 GB, free: 2.602 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.074e-06/0.2941, allocations: 3.938 kB / 1.051 GB, free: 2.598 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.581e-05/0.2941, allocations: 0 / 1.051 GB, free: 2.598 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002965/0.2971, allocations: 1.512 MB / 1.052 GB, free: 1.027 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.2972, allocations: 8.031 kB / 1.052 GB, free: 1.02 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002093/0.2993, allocations: 469.9 kB / 1.053 GB, free: 0.5586 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.3012, allocations: 1.063 MB / 1.054 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/0.3015, allocations: 125.9 kB / 1.054 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.3017, allocations: 95.92 kB / 1.054 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002078/0.3037, allocations: 1.015 MB / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.3038, allocations: 3.938 kB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.781e-05/0.3039, allocations: 32 kB / 1.055 GB, free: 14.13 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.3039, allocations: 20 kB / 1.055 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002457/0.3063, allocations: 0.9641 MB / 1.056 GB, free: 13.15 MB / 0.6823 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.006877/0.3132, allocations: 4.678 MB / 1.06 GB, free: 8.16 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003588/0.3168, allocations: 0.954 MB / 1.061 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00068/0.3175, allocations: 0.899 MB / 1.062 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/0.3176, allocations: 46.98 kB / 1.062 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=48): time 4.088e-06/0.3176, allocations: 0 / 1.062 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of matching and sorting (n=48): time 0.009018/0.3266, allocations: 2.252 MB / 1.064 GB, free: 3.758 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.3267, allocations: 59.78 kB / 1.064 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3284, allocations: 1.068 MB / 1.066 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000103/0.3286, allocations: 37.7 kB / 1.066 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004492/0.329, allocations: 0.5274 MB / 1.066 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.3292, allocations: 173.6 kB / 1.066 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.3292, allocations: 8 kB / 1.066 GB, free: 1.852 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.3294, allocations: 337.9 kB / 1.067 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009643/0.3303, allocations: 348.9 kB / 1.067 GB, free: 1.172 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.3315, allocations: 0.5524 MB / 1.067 GB, free: 0.5391 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.3325, allocations: 380.6 kB / 1.068 GB, free: 168 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.3325, allocations: 0 / 1.068 GB, free: 168 kB / 0.6823 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.3849/0.7174, allocations: 1.105 MB / 1.069 GB, free: 90.43 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.7177, allocations: 1.497 MB / 1.07 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/0.7177, allocations: 3.531 kB / 1.07 GB, free: 88.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/0.719, allocations: 332 kB / 1.071 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006064/0.7197, allocations: 143.6 kB / 1.071 GB, free: 88.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001313/0.721, allocations: 0.937 MB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/0.7225, allocations: 203.6 kB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/0.7226, allocations: 34.95 kB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.7226, allocations: 4.75 kB / 1.072 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002791/0.7254, allocations: 0.9824 MB / 1.073 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.7254, allocations: 3.781 kB / 1.073 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.7265, allocations: 324.9 kB / 1.073 GB, free: 88.08 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/0.7271, allocations: 141.3 kB / 1.073 GB, free: 88.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.7286, allocations: 0.9327 MB / 1.074 GB, free: 87.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.7298, allocations: 185.1 kB / 1.074 GB, free: 87.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.62e-05/0.7298, allocations: 29.55 kB / 1.074 GB, free: 87.42 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0004836/0.7303, allocations: 356.8 kB / 1.075 GB, free: 87.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001713/0.7305, allocations: 113.9 kB / 1.075 GB, free: 87.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.7347, allocations: 1.312 MB / 1.076 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.7347, allocations: 7.406 kB / 1.076 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.7347, allocations: 1.375 kB / 1.076 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.7347, allocations: 3.672 kB / 1.076 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00557/0.7403, allocations: 2.405 MB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.7403, allocations: 3.406 kB / 1.079 GB, free: 85.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003553/0.7407, allocations: 82.88 kB / 1.079 GB, free: 85.67 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.7418, allocations: 331.5 kB / 1.079 GB, free: 85.59 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.674e-05/0.7418, allocations: 17.91 kB / 1.079 GB, free: 85.58 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001436/0.7433, allocations: 0.9588 MB / 1.08 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.7433, allocations: 7.531 kB / 1.08 GB, free: 84.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004102/0.7474, allocations: 1.461 MB / 1.081 GB, free: 84.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000562/0.748, allocations: 299.7 kB / 1.082 GB, free: 83.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.7481, allocations: 10.11 kB / 1.082 GB, free: 83.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009416/0.7491, allocations: 118.4 kB / 1.082 GB, free: 83.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.7492, allocations: 55.08 kB / 1.082 GB, free: 83.95 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.228e-05/0.7493, allocations: 24.44 kB / 1.082 GB, free: 83.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001329/0.7506, allocations: 0.7529 MB / 1.083 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.7506, allocations: 2.906 kB / 1.083 GB, free: 83.62 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001685/0.7523, allocations: 0.5747 MB / 1.083 GB, free: 83.52 MB / 0.6823 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.0008354/0.7532, allocations: 388.2 kB / 1.084 GB, free: 83.38 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003553/0.7567, allocations: 1.265 MB / 1.085 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.7567, allocations: 5.312 kB / 1.085 GB, free: 83.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001038/0.7578, allocations: 412.9 kB / 1.085 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002299/0.7601, allocations: 0.5199 MB / 1.086 GB, free: 82.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005519/0.7656, allocations: 2.521 MB / 1.088 GB, free: 81.48 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007029/0.7664, allocations: 1.093 MB / 1.089 GB, free: 80.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001188/0.7676, allocations: 237 kB / 1.089 GB, free: 80.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.7678, allocations: 82.5 kB / 1.089 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of SimCode: time 5.91e-07/0.7678, allocations: 0 / 1.089 GB, free: 80.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.04133/0.8091, allocations: 24.12 MB / 1.113 GB, free: 70.52 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)