Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000855/0.0008551, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005898/0.005898, allocations: 170 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003641, allocations: 11.5 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 162.2 MB / 1.074 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0559/0.3821, allocations: 59.78 MB / 1.133 GB, free: 11.63 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01749/0.3996, allocations: 11.94 MB / 1.144 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002417/0.4021, allocations: 51.62 kB / 1.144 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.4041, allocations: 0.5438 MB / 1.145 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.005897/0.4101, allocations: 1.804 MB / 1.147 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.002934/0.413, allocations: 1.079 MB / 1.148 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.004641/0.4176, allocations: 3.91 MB / 1.151 GB, free: 8.254 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001401/0.4191, allocations: 0.9268 MB / 1.152 GB, free: 7.297 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002345/0.4214, allocations: 1.112 MB / 1.153 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00119/0.4226, allocations: 0.867 MB / 1.154 GB, free: 5.309 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.4227, allocations: 44 kB / 1.154 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002598/0.4253, allocations: 1.325 MB / 1.156 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.4256, allocations: 222.8 kB / 1.156 GB, free: 3.719 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006273/0.4262, allocations: 0.6351 MB / 1.156 GB, free: 3.074 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.002656/0.4289, allocations: 2.204 MB / 1.159 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.4289, allocations: 0 / 1.159 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.778e-06/0.4289, allocations: 0 / 1.159 GB, free: 0.8633 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.618e-05/0.4289, allocations: 3.938 kB / 1.159 GB, free: 0.8594 MB / 0.9044 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.002733/0.4317, allocations: 1.489 MB / 1.16 GB, free: 15.31 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.4317, allocations: 12.03 kB / 1.16 GB, free: 15.3 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002578/0.4343, allocations: 0.5105 MB / 1.161 GB, free: 14.79 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002024/0.4363, allocations: 1.14 MB / 1.162 GB, free: 13.59 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003769/0.4367, allocations: 133.9 kB / 1.162 GB, free: 13.46 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.4369, allocations: 84 kB / 1.162 GB, free: 13.38 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.4392, allocations: 1.033 MB / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.4392, allocations: 0 / 1.163 GB, free: 12.31 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.4393, allocations: 32 kB / 1.163 GB, free: 12.28 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.974e-05/0.4393, allocations: 20 kB / 1.163 GB, free: 12.26 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002713/0.442, allocations: 1.011 MB / 1.164 GB, free: 11.25 MB / 0.92 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.006151/0.4482, allocations: 4.716 MB / 1.168 GB, free: 6.188 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004321/0.4525, allocations: 1.128 MB / 1.17 GB, free: 5.055 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/0.4537, allocations: 447.5 kB / 1.17 GB, free: 4.613 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009703/0.4547, allocations: 1.029 MB / 1.171 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.819e-05/0.4547, allocations: 42.94 kB / 1.171 GB, free: 3.312 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.705e-06/0.4547, allocations: 0 / 1.171 GB, free: 3.312 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.0105/0.4652, allocations: 2.502 MB / 1.174 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.4653, allocations: 59.84 kB / 1.174 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.4666, allocations: 0.9315 MB / 1.174 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.4667, allocations: 37.7 kB / 1.175 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004588/0.4672, allocations: 0.5001 MB / 1.175 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.4674, allocations: 185.3 kB / 1.175 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.4675, allocations: 57.69 kB / 1.175 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.4676, allocations: 326 kB / 1.176 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001119/0.4687, allocations: 380.8 kB / 1.176 GB, free: 14.27 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.47, allocations: 0.5429 MB / 1.176 GB, free: 13.67 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002332/0.4724, allocations: 0.8282 MB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.996e-06/0.4724, allocations: 3.984 kB / 1.177 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003144/0.4755, allocations: 1.142 MB / 1.178 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.4757, allocations: 164.4 kB / 1.179 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4757, allocations: 7.984 kB / 1.179 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.477, allocations: 324.6 kB / 1.179 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006683/0.4777, allocations: 147.8 kB / 1.179 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.4793, allocations: 0.9408 MB / 1.18 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001271/0.4806, allocations: 175.2 kB / 1.18 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.788e-05/0.4807, allocations: 31.98 kB / 1.18 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.4807, allocations: 4 kB / 1.18 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00284/0.4835, allocations: 1.005 MB / 1.181 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.4836, allocations: 4 kB / 1.181 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001107/0.4847, allocations: 320.9 kB / 1.181 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.4853, allocations: 143.8 kB / 1.182 GB, free: 8.336 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.4868, allocations: 0.9362 MB / 1.182 GB, free: 7.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001219/0.488, allocations: 163.4 kB / 1.183 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.521e-05/0.4881, allocations: 35.97 kB / 1.183 GB, free: 7.18 MB / 0.9356 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 (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.0005582/0.4887, allocations: 353.5 kB / 1.183 GB, free: 6.824 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/0.4888, allocations: 110.6 kB / 1.183 GB, free: 6.715 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004915/0.4937, allocations: 1.44 MB / 1.184 GB, free: 5.258 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.628e-05/0.4938, allocations: 7.984 kB / 1.184 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4938, allocations: 3.938 kB / 1.184 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.842e-06/0.4938, allocations: 0 / 1.184 GB, free: 5.246 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006386/0.5002, allocations: 2.534 MB / 1.187 GB, free: 2.633 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/0.5002, allocations: 4.031 kB / 1.187 GB, free: 2.629 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005815/0.5008, allocations: 111.8 kB / 1.187 GB, free: 2.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001155/0.502, allocations: 326.2 kB / 1.187 GB, free: 2.199 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.651e-05/0.502, allocations: 15.98 kB / 1.187 GB, free: 2.184 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001579/0.5036, allocations: 0.9698 MB / 1.188 GB, free: 1.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.5036, allocations: 8.016 kB / 1.188 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004749/0.5084, allocations: 1.456 MB / 1.19 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005765/0.509, allocations: 295.5 kB / 1.19 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.5091, allocations: 12 kB / 1.19 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.5102, allocations: 123.7 kB / 1.19 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.097e-05/0.5103, allocations: 44.27 kB / 1.19 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/0.5104, allocations: 27.97 kB / 1.19 GB, free: 15.17 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009575/0.5113, allocations: 0.6596 MB / 1.191 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5113, allocations: 4 kB / 1.191 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001509/0.5129, allocations: 0.5614 MB / 1.191 GB, free: 13.94 MB / 0.9512 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008451/0.5137, allocations: 388.1 kB / 1.192 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004593/0.5183, allocations: 1.393 MB / 1.193 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.5183, allocations: 4 kB / 1.193 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00135/0.5197, allocations: 492.8 kB / 1.194 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/0.5225, allocations: 0.4911 MB / 1.194 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005796/0.5283, allocations: 2.367 MB / 1.196 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001013/0.5293, allocations: 1.074 MB / 1.197 GB, free: 7.68 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001685/0.531, allocations: 230.3 kB / 1.198 GB, free: 7.457 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003835/0.5314, allocations: 83.41 kB / 1.198 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of SimCode: time 1.483e-06/0.5314, allocations: 0 / 1.198 GB, free: 7.375 MB / 0.9512 GB Notification: Performance of Templates: time 0.06205/0.5935, allocations: 23.64 MB / 1.221 GB, free: 15.99 MB / 0.9825 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)