Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.669/2.669, allocations: 287.3 MB / 302.3 MB, free: 8.223 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.001572/0.001572, allocations: 190.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001194/0.001194, allocations: 99.12 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005028, allocations: 13.03 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.07058/0.2858, allocations: 51.36 MB / 1.028 GB, free: 8.91 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.0216/0.3074, allocations: 10.21 MB / 1.038 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.3095, allocations: 51.56 kB / 1.038 GB, free: 14.64 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/0.3125, allocations: 0.6257 MB / 1.039 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.008217/0.3207, allocations: 1.907 MB / 1.041 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006145/0.3269, allocations: 1.323 MB / 1.042 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.005103/0.332, allocations: 1.839 MB / 1.044 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001977/0.3341, allocations: 0.8096 MB / 1.045 GB, free: 8.121 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003189/0.3373, allocations: 0.9925 MB / 1.046 GB, free: 7.125 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.3388, allocations: 0.6027 MB / 1.046 GB, free: 6.52 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.339, allocations: 44 kB / 1.046 GB, free: 6.477 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00377/0.3428, allocations: 1.018 MB / 1.047 GB, free: 5.457 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000575/0.3434, allocations: 195.1 kB / 1.047 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0006897/0.3442, allocations: 281.1 kB / 1.048 GB, free: 4.984 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.00383/0.348, allocations: 1.602 MB / 1.049 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3481, allocations: 0 / 1.049 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.254e-06/0.3481, allocations: 0 / 1.049 GB, free: 3.379 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.383e-05/0.3481, allocations: 0 / 1.049 GB, free: 3.379 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004482/0.3526, allocations: 1.489 MB / 1.051 GB, free: 1.832 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.3527, allocations: 16.02 kB / 1.051 GB, free: 1.816 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003028/0.3557, allocations: 378 kB / 1.051 GB, free: 1.445 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/0.3588, allocations: 1.058 MB / 1.052 GB, free: 336 kB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006655/0.3595, allocations: 133.9 kB / 1.052 GB, free: 204 kB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000215/0.3597, allocations: 80 kB / 1.052 GB, free: 124 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005647/0.3654, allocations: 0.9566 MB / 1.053 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.3656, allocations: 7.938 kB / 1.053 GB, free: 15.12 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/0.3658, allocations: 28 kB / 1.053 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.329e-05/0.3659, allocations: 24 kB / 1.053 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00665/0.3726, allocations: 0.8587 MB / 1.054 GB, free: 14.21 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.01645/0.3891, allocations: 4.548 MB / 1.059 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004731/0.3939, allocations: 0.6493 MB / 1.059 GB, free: 8.691 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003546/0.3975, allocations: 1.389 MB / 1.061 GB, free: 7.008 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/0.3976, allocations: 39 kB / 1.061 GB, free: 6.961 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 5.15e-06/0.3976, allocations: 4 kB / 1.061 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.02078/0.4184, allocations: 1.889 MB / 1.063 GB, free: 5.035 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.4185, allocations: 55.84 kB / 1.063 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002606/0.4211, allocations: 1.071 MB / 1.064 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.4213, allocations: 37.7 kB / 1.064 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006378/0.4219, allocations: 0.5157 MB / 1.064 GB, free: 3.32 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002335/0.4222, allocations: 165.7 kB / 1.064 GB, free: 3.156 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.682e-05/0.4223, allocations: 8 kB / 1.064 GB, free: 3.148 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.4224, allocations: 333.9 kB / 1.065 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.424, allocations: 292.9 kB / 1.065 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.4257, allocations: 0.4922 MB / 1.065 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001539/0.4273, allocations: 344.6 kB / 1.066 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.68e-06/0.4273, allocations: 0 / 1.066 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00643/0.4337, allocations: 1.167 MB / 1.067 GB, free: 464 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6162/1.05, allocations: 1.394 MB / 1.068 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/1.05, allocations: 3.844 kB / 1.068 GB, free: 89.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002488/1.053, allocations: 332.7 kB / 1.069 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.054, allocations: 126.8 kB / 1.069 GB, free: 89.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002682/1.056, allocations: 0.9412 MB / 1.07 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.059, allocations: 194.1 kB / 1.07 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/1.059, allocations: 29.83 kB / 1.07 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/1.059, allocations: 3.844 kB / 1.07 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005928/1.065, allocations: 1.028 MB / 1.071 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/1.065, allocations: 2.625 kB / 1.071 GB, free: 88.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001939/1.067, allocations: 320.8 kB / 1.071 GB, free: 88.77 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009869/1.068, allocations: 128.7 kB / 1.071 GB, free: 88.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/1.07, allocations: 0.9308 MB / 1.072 GB, free: 88.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/1.072, allocations: 161.4 kB / 1.072 GB, free: 88.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/1.073, allocations: 28.31 kB / 1.072 GB, free: 88.11 MB / 0.6823 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.0007396/1.073, allocations: 360.1 kB / 1.073 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/1.074, allocations: 109.1 kB / 1.073 GB, free: 87.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006933/1.081, allocations: 1.194 MB / 1.074 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.791e-05/1.081, allocations: 6.359 kB / 1.074 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.081, allocations: 0.5156 kB / 1.074 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.483e-05/1.081, allocations: 3.203 kB / 1.074 GB, free: 87.49 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009212/1.09, allocations: 2.225 MB / 1.076 GB, free: 86.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/1.09, allocations: 10.33 kB / 1.076 GB, free: 86.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005206/1.091, allocations: 66.81 kB / 1.076 GB, free: 86.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/1.092, allocations: 331.4 kB / 1.077 GB, free: 86.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.531e-05/1.093, allocations: 17.42 kB / 1.077 GB, free: 86.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002549/1.095, allocations: 0.9744 MB / 1.078 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.904e-06/1.095, allocations: 3.359 kB / 1.078 GB, free: 85.76 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006793/1.102, allocations: 1.355 MB / 1.079 GB, free: 85.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008822/1.103, allocations: 285.9 kB / 1.079 GB, free: 84.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/1.103, allocations: 20.56 kB / 1.079 GB, free: 84.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001617/1.105, allocations: 100 kB / 1.079 GB, free: 84.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.105, allocations: 41.92 kB / 1.079 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/1.105, allocations: 25.86 kB / 1.079 GB, free: 84.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002019/1.107, allocations: 0.7505 MB / 1.08 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/1.107, allocations: 0.7812 kB / 1.08 GB, free: 84.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002686/1.11, allocations: 0.5761 MB / 1.081 GB, free: 84.41 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 (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.001257/1.111, allocations: 401.7 kB / 1.081 GB, free: 84.27 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.005301/1.117, allocations: 1.099 MB / 1.082 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/1.117, allocations: 0 / 1.082 GB, free: 83.96 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001557/1.118, allocations: 356.2 kB / 1.082 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004578/1.123, allocations: 0.5138 MB / 1.083 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005739/1.129, allocations: 2.218 MB / 1.085 GB, free: 82.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/1.129, allocations: 1.089 MB / 1.086 GB, free: 81.72 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001833/1.131, allocations: 239.4 kB / 1.086 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003333/1.132, allocations: 84.41 kB / 1.086 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/1.132, allocations: 0 / 1.086 GB, free: 81.65 MB / 0.6823 GB Notification: Performance of Templates: time 0.06789/1.2, allocations: 24.11 MB / 1.11 GB, free: 72.49 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)