Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.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_3.0.0_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.0007845/0.0007845, allocations: 97.33 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.005148/0.005148, allocations: 169.7 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.835/2.835, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003555/0.0003554, allocations: 9.375 kB / 0.9158 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3604, allocations: 162.2 MB / 1.074 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.06822/0.4287, allocations: 59.78 MB / 1.133 GB, free: 11.56 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01761/0.4463, allocations: 11.95 MB / 1.144 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002508/0.4489, allocations: 47.69 kB / 1.144 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.00218/0.4511, allocations: 0.5516 MB / 1.145 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.006233/0.4573, allocations: 1.796 MB / 1.147 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.4605, allocations: 1.073 MB / 1.148 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.005241/0.4657, allocations: 3.912 MB / 1.151 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.4674, allocations: 0.9268 MB / 1.152 GB, free: 7.234 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.47, allocations: 1.112 MB / 1.153 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.4714, allocations: 0.8709 MB / 1.154 GB, free: 5.242 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001376/0.4716, allocations: 44 kB / 1.154 GB, free: 5.199 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002815/0.4744, allocations: 1.325 MB / 1.156 GB, free: 3.871 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.4747, allocations: 226.8 kB / 1.156 GB, free: 3.648 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0007764/0.4755, allocations: 0.635 MB / 1.156 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.003275/0.4788, allocations: 2.2 MB / 1.159 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4788, allocations: 0 / 1.159 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4788, allocations: 0 / 1.159 GB, free: 0.7969 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.683e-05/0.4788, allocations: 0 / 1.159 GB, free: 0.7969 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.002953/0.4818, allocations: 1.485 MB / 1.16 GB, free: 15.25 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/0.4818, allocations: 12.02 kB / 1.16 GB, free: 15.24 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002649/0.4845, allocations: 0.5144 MB / 1.161 GB, free: 14.73 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002214/0.4867, allocations: 1.144 MB / 1.162 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/0.4871, allocations: 129.9 kB / 1.162 GB, free: 13.4 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.4873, allocations: 80 kB / 1.162 GB, free: 13.32 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00229/0.4896, allocations: 1.037 MB / 1.163 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/0.4896, allocations: 0 / 1.163 GB, free: 12.25 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.66e-05/0.4897, allocations: 35.94 kB / 1.163 GB, free: 12.21 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4897, allocations: 20 kB / 1.163 GB, free: 12.2 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/0.4925, allocations: 1.007 MB / 1.164 GB, free: 11.19 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.006439/0.499, allocations: 4.719 MB / 1.168 GB, free: 6.121 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004353/0.5033, allocations: 1.121 MB / 1.17 GB, free: 4.992 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/0.5045, allocations: 448.7 kB / 1.17 GB, free: 4.551 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/0.5055, allocations: 1.033 MB / 1.171 GB, free: 3.297 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.5056, allocations: 42.98 kB / 1.171 GB, free: 3.246 MB / 0.92 GB Notification: Performance of pre-optimization done (n=53): time 2.675e-06/0.5056, allocations: 0 / 1.171 GB, free: 3.246 MB / 0.92 GB Notification: Performance of matching and sorting (n=53): time 0.01045/0.5161, allocations: 2.498 MB / 1.173 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.5162, allocations: 59.84 kB / 1.174 GB, free: 0.6484 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.5176, allocations: 0.9314 MB / 1.174 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.135e-05/0.5177, allocations: 37.7 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.5182, allocations: 0.5079 MB / 1.175 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.5184, allocations: 185.3 kB / 1.175 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.574e-05/0.5185, allocations: 49.69 kB / 1.175 GB, free: 14.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5186, allocations: 330 kB / 1.176 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.5197, allocations: 380.9 kB / 1.176 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.521, allocations: 0.5468 MB / 1.176 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002215/0.5232, allocations: 0.8204 MB / 1.177 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.5232, allocations: 4 kB / 1.177 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003248/0.5265, allocations: 1.142 MB / 1.178 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/0.5266, allocations: 164.4 kB / 1.179 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.5266, allocations: 4 kB / 1.179 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.528, allocations: 328.6 kB / 1.179 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.5287, allocations: 147.8 kB / 1.179 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/0.5304, allocations: 0.9322 MB / 1.18 GB, free: 9.957 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5317, allocations: 179.3 kB / 1.18 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.5318, allocations: 31.92 kB / 1.18 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.5318, allocations: 5.562 kB / 1.18 GB, free: 9.746 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002943/0.5347, allocations: 1.005 MB / 1.181 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.5347, allocations: 3.938 kB / 1.181 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.5359, allocations: 320.9 kB / 1.181 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006673/0.5366, allocations: 139.8 kB / 1.182 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.5381, allocations: 0.9365 MB / 1.182 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.5395, allocations: 176 kB / 1.183 GB, free: 7.148 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.836e-05/0.5396, allocations: 27.98 kB / 1.183 GB, free: 7.121 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.0006348/0.5402, allocations: 353.4 kB / 1.183 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002083/0.5404, allocations: 110.6 kB / 1.183 GB, free: 6.656 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005015/0.5454, allocations: 1.451 MB / 1.184 GB, free: 5.191 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.655e-05/0.5455, allocations: 7.938 kB / 1.184 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.5455, allocations: 4 kB / 1.184 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/0.5455, allocations: 3.984 kB / 1.184 GB, free: 5.176 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/0.5518, allocations: 2.526 MB / 1.187 GB, free: 2.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.014e-05/0.5519, allocations: 4.188 kB / 1.187 GB, free: 2.566 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005702/0.5524, allocations: 119.8 kB / 1.187 GB, free: 2.449 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001139/0.5536, allocations: 324.5 kB / 1.187 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-05/0.5537, allocations: 15.98 kB / 1.187 GB, free: 2.113 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001607/0.5553, allocations: 0.9631 MB / 1.188 GB, free: 1.125 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.5553, allocations: 8.094 kB / 1.188 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004659/0.56, allocations: 1.456 MB / 1.19 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006457/0.5606, allocations: 291.5 kB / 1.19 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5608, allocations: 12 kB / 1.19 GB, free: 15.3 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009844/0.5618, allocations: 127.7 kB / 1.19 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.5619, allocations: 44.27 kB / 1.19 GB, free: 15.14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.847e-05/0.562, allocations: 23.98 kB / 1.19 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009526/0.5629, allocations: 0.6635 MB / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5629, allocations: 0 / 1.191 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001477/0.5644, allocations: 0.5692 MB / 1.191 GB, free: 13.87 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.0007811/0.5652, allocations: 382.5 kB / 1.192 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.003957/0.5692, allocations: 1.393 MB / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5692, allocations: 0 / 1.193 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.5705, allocations: 488.8 kB / 1.194 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002932/0.5735, allocations: 0.4992 MB / 1.194 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004225/0.5777, allocations: 2.371 MB / 1.196 GB, free: 8.715 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006713/0.5784, allocations: 1.07 MB / 1.197 GB, free: 7.617 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00112/0.5795, allocations: 239.9 kB / 1.198 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.5798, allocations: 79.41 kB / 1.198 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of SimCode: time 4.11e-07/0.5798, allocations: 0 / 1.198 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of Templates: time 0.04149/0.6213, allocations: 23.64 MB / 1.221 GB, free: 15.93 MB / 0.9825 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)