Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.601/2.601, allocations: 287.5 MB / 302.4 MB, free: 8.238 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.001374/0.001375, allocations: 166.3 kB / 371 MB, free: 10.88 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.245/2.245, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0009311/0.0009306, allocations: 89.22 kB / 0.743 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004853/0.0004856, allocations: 12.22 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2101, allocations: 115.3 MB / 0.9784 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08806/0.2983, allocations: 56.54 MB / 1.034 GB, free: 3.688 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02395/0.3223, allocations: 11.14 MB / 1.044 GB, free: 8.531 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.3247, allocations: 51.62 kB / 1.044 GB, free: 8.48 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.3275, allocations: 460.8 kB / 1.045 GB, free: 8.027 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007142/0.3347, allocations: 1.515 MB / 1.046 GB, free: 6.504 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004298/0.339, allocations: 0.8752 MB / 1.047 GB, free: 5.637 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006591/0.3456, allocations: 3.385 MB / 1.051 GB, free: 2.242 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002157/0.3478, allocations: 0.8183 MB / 1.051 GB, free: 1.402 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003423/0.3513, allocations: 1.05 MB / 1.052 GB, free: 356 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002086/0.3534, allocations: 0.8166 MB / 1.053 GB, free: 15.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0003108/0.3537, allocations: 44 kB / 1.053 GB, free: 15.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/0.3577, allocations: 1.091 MB / 1.054 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000459/0.3582, allocations: 199 kB / 1.054 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006315/0.3589, allocations: 285 kB / 1.055 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003737/0.3626, allocations: 1.641 MB / 1.056 GB, free: 12.27 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/0.3627, allocations: 4 kB / 1.056 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.716e-06/0.3627, allocations: 0 / 1.056 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.058e-05/0.3627, allocations: 0 / 1.056 GB, free: 12.26 MB / 0.6823 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.004617/0.3674, allocations: 1.518 MB / 1.058 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.3674, allocations: 12.03 kB / 1.058 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.3723, allocations: 0.5173 MB / 1.058 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003868/0.3762, allocations: 1.094 MB / 1.059 GB, free: 9.004 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006882/0.3769, allocations: 129.9 kB / 1.06 GB, free: 8.879 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002963/0.3772, allocations: 84 kB / 1.06 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003947/0.3812, allocations: 1.029 MB / 1.061 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.218e-05/0.3813, allocations: 0 / 1.061 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/0.3814, allocations: 36 kB / 1.061 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.855e-05/0.3815, allocations: 23.94 kB / 1.061 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/0.3867, allocations: 0.9993 MB / 1.062 GB, free: 6.68 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.01148/0.3982, allocations: 4.716 MB / 1.066 GB, free: 1.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007714/0.406, allocations: 1.121 MB / 1.067 GB, free: 496 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002149/0.4082, allocations: 445.9 kB / 1.068 GB, free: 48 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6441/1.052, allocations: 1.025 MB / 1.069 GB, free: 90.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.052, allocations: 37.56 kB / 1.069 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=53): time 3.426e-06/1.052, allocations: 0 / 1.069 GB, free: 90.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53): time 0.02013/1.073, allocations: 2.492 MB / 1.071 GB, free: 90.14 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/1.073, allocations: 59.66 kB / 1.071 GB, free: 90.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00221/1.075, allocations: 0.9283 MB / 1.072 GB, free: 89.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001848/1.075, allocations: 38.05 kB / 1.072 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005547/1.076, allocations: 0.5058 MB / 1.073 GB, free: 89.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/1.076, allocations: 181.7 kB / 1.073 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.202e-05/1.076, allocations: 14.22 kB / 1.073 GB, free: 89.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/1.076, allocations: 333.6 kB / 1.073 GB, free: 88.96 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/1.078, allocations: 374.1 kB / 1.074 GB, free: 88.87 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002217/1.08, allocations: 0.547 MB / 1.074 GB, free: 88.58 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002065/1.083, allocations: 401.4 kB / 1.075 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.396e-06/1.083, allocations: 0.9062 kB / 1.075 GB, free: 88.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.005499/1.088, allocations: 1.122 MB / 1.076 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001087/1.088, allocations: 164.9 kB / 1.076 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/1.088, allocations: 2.938 kB / 1.076 GB, free: 87.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002255/1.091, allocations: 330.8 kB / 1.076 GB, free: 87.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/1.092, allocations: 146 kB / 1.076 GB, free: 87.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/1.095, allocations: 0.9382 MB / 1.077 GB, free: 87.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/1.097, allocations: 174.3 kB / 1.077 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.097, allocations: 29.48 kB / 1.077 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/1.097, allocations: 3.781 kB / 1.077 GB, free: 87.09 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00519/1.102, allocations: 0.9999 MB / 1.078 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/1.102, allocations: 2.844 kB / 1.078 GB, free: 86.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/1.104, allocations: 323.7 kB / 1.079 GB, free: 86.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.106, allocations: 146 kB / 1.079 GB, free: 86.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002419/1.108, allocations: 0.9285 MB / 1.08 GB, free: 86.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.11, allocations: 170.4 kB / 1.08 GB, free: 85.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.111, allocations: 33.7 kB / 1.08 GB, free: 85.98 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.000775/1.111, allocations: 348.4 kB / 1.08 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/1.112, allocations: 111 kB / 1.08 GB, free: 85.64 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008467/1.12, allocations: 1.449 MB / 1.082 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.137e-05/1.12, allocations: 7.062 kB / 1.082 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/1.12, allocations: 0.7031 kB / 1.082 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/1.12, allocations: 2.766 kB / 1.082 GB, free: 85.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/1.131, allocations: 2.521 MB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-05/1.131, allocations: 8.906 kB / 1.084 GB, free: 84.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.132, allocations: 116.9 kB / 1.084 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00187/1.134, allocations: 335.5 kB / 1.085 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/1.134, allocations: 13.38 kB / 1.085 GB, free: 84.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/1.137, allocations: 0.9694 MB / 1.086 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/1.137, allocations: 5.578 kB / 1.086 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007852/1.144, allocations: 1.458 MB / 1.087 GB, free: 82.77 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008978/1.145, allocations: 288.8 kB / 1.087 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002769/1.146, allocations: 18.67 kB / 1.087 GB, free: 82.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001812/1.148, allocations: 124.4 kB / 1.087 GB, free: 82.53 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.148, allocations: 39.75 kB / 1.088 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.148, allocations: 24.75 kB / 1.088 GB, free: 82.52 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001499/1.149, allocations: 0.6519 MB / 1.088 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.61e-07/1.149, allocations: 0 / 1.088 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002518/1.152, allocations: 0.5639 MB / 1.089 GB, free: 82.13 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001097/1.153, allocations: 360.3 kB / 1.089 GB, free: 81.99 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006982/1.16, allocations: 1.392 MB / 1.09 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/1.16, allocations: 0 / 1.09 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002386/1.163, allocations: 492.4 kB / 1.091 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004687/1.167, allocations: 0.5121 MB / 1.091 GB, free: 81.33 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006567/1.174, allocations: 2.324 MB / 1.094 GB, free: 80.04 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007873/1.175, allocations: 1.07 MB / 1.095 GB, free: 79.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001908/1.177, allocations: 233.5 kB / 1.095 GB, free: 79.25 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004261/1.177, allocations: 82.61 kB / 1.095 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/1.177, allocations: 0 / 1.095 GB, free: 79.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.06267/1.24, allocations: 23.23 MB / 1.118 GB, free: 68.73 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)