Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00142/0.00142, allocations: 193.9 kB / 16.14 MB, free: 6.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.521/1.521, allocations: 251.7 MB / 0.5088 GB, free: 3.367 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 60.48 kB / 0.6215 GB, free: 2.004 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5071/0.5086, allocations: 104.7 MB / 0.7238 GB, free: 13.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05404/0.5627, allocations: 60.85 MB / 0.7832 GB, free: 360 kB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.5798, allocations: 11.94 MB / 0.7949 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002554/0.5824, allocations: 55.62 kB / 0.7949 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002088/0.5845, allocations: 0.5555 MB / 0.7955 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005609/0.5901, allocations: 1.784 MB / 0.7972 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00342/0.5936, allocations: 1.096 MB / 0.7983 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004977/0.5986, allocations: 3.895 MB / 0.8021 GB, free: 12.98 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001527/0.6001, allocations: 0.9196 MB / 0.803 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.6027, allocations: 1.139 MB / 0.8041 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001548/0.6043, allocations: 0.9021 MB / 0.805 GB, free: 9.98 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001694/0.6045, allocations: 56 kB / 0.805 GB, free: 9.926 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.6074, allocations: 1.321 MB / 0.8063 GB, free: 8.602 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002999/0.6077, allocations: 234.8 kB / 0.8065 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.00096/0.6087, allocations: 0.6334 MB / 0.8072 GB, free: 7.734 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003262/0.6119, allocations: 2.228 MB / 0.8093 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.612, allocations: 0 / 0.8093 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.62e-07/0.612, allocations: 0 / 0.8093 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.612, allocations: 0 / 0.8093 GB, free: 5.5 MB / 0.6231 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.003112/0.6151, allocations: 1.734 MB / 0.811 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6152, allocations: 8.031 kB / 0.811 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.6173, allocations: 410.8 kB / 0.8114 GB, free: 3.293 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002145/0.6195, allocations: 1.128 MB / 0.8125 GB, free: 2.109 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003343/0.6198, allocations: 117.8 kB / 0.8127 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.6199, allocations: 84 kB / 0.8127 GB, free: 1.91 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002053/0.622, allocations: 0.9838 MB / 0.8137 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.622, allocations: 3.984 kB / 0.8137 GB, free: 0.8867 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-05/0.6221, allocations: 32 kB / 0.8137 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.6221, allocations: 16 kB / 0.8137 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.6243, allocations: 0.8782 MB / 0.8146 GB, free: 15.96 MB / 0.6387 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.006315/0.6307, allocations: 4.601 MB / 0.8191 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003338/0.634, allocations: 0.8397 MB / 0.8199 GB, free: 10.2 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007319/0.6348, allocations: 319.7 kB / 0.8202 GB, free: 9.883 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006219/0.6354, allocations: 0.9029 MB / 0.8211 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.6355, allocations: 35 kB / 0.8211 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=47): time 2.344e-06/0.6355, allocations: 0 / 0.8211 GB, free: 8.734 MB / 0.6387 GB Notification: Performance of matching and sorting (n=47): time 0.007603/0.6431, allocations: 1.803 MB / 0.8229 GB, free: 6.898 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6432, allocations: 59.84 kB / 0.8229 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/0.6448, allocations: 1.048 MB / 0.824 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.6449, allocations: 41.7 kB / 0.824 GB, free: 5.719 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/0.6454, allocations: 0.5235 MB / 0.8245 GB, free: 5.191 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001536/0.6455, allocations: 157.7 kB / 0.8247 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002425/0.6458, allocations: 134.1 kB / 0.8248 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001113/0.6459, allocations: 334 kB / 0.8251 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/0.6468, allocations: 314.8 kB / 0.8254 GB, free: 4.258 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/0.6479, allocations: 0.5179 MB / 0.8259 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001591/0.6495, allocations: 0.6942 MB / 0.8266 GB, free: 2.914 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.204e-06/0.6495, allocations: 7.938 kB / 0.8266 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003785/0.6533, allocations: 1.17 MB / 0.8278 GB, free: 1.727 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.6533, allocations: 8 kB / 0.8278 GB, free: 1.719 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.6533, allocations: 7.938 kB / 0.8278 GB, free: 1.711 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.6546, allocations: 315.9 kB / 0.8281 GB, free: 1.402 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005443/0.6551, allocations: 123.8 kB / 0.8282 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.6566, allocations: 0.9152 MB / 0.8291 GB, free: 348 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.6579, allocations: 167.3 kB / 0.8292 GB, free: 180 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.802e-05/0.658, allocations: 31.98 kB / 0.8293 GB, free: 148 kB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001263/0.6593, allocations: 0.5167 MB / 0.8298 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00103/0.6603, allocations: 0.517 MB / 0.8303 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001539/0.6619, allocations: 0.6863 MB / 0.831 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.52e-06/0.6619, allocations: 0 / 0.831 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003504/0.6654, allocations: 1.159 MB / 0.8321 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.6654, allocations: 8 kB / 0.8321 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6654, allocations: 4 kB / 0.8321 GB, free: 13.1 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.6665, allocations: 308.9 kB / 0.8324 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005211/0.667, allocations: 127.8 kB / 0.8325 GB, free: 12.67 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.6684, allocations: 0.9067 MB / 0.8334 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/0.6698, allocations: 163.5 kB / 0.8336 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.671e-05/0.6698, allocations: 31.92 kB / 0.8336 GB, free: 11.55 MB / 0.6544 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 (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.000274/0.6701, allocations: 208.2 kB / 0.8338 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.6703, allocations: 114.6 kB / 0.8339 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003709/0.674, allocations: 1.147 MB / 0.835 GB, free: 10.06 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.6741, allocations: 8 kB / 0.835 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.6741, allocations: 0 / 0.835 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6741, allocations: 3.984 kB / 0.835 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005109/0.6792, allocations: 2.216 MB / 0.8372 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.351e-05/0.6793, allocations: 0 / 0.8372 GB, free: 7.754 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/0.6796, allocations: 71.88 kB / 0.8373 GB, free: 7.684 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00106/0.6807, allocations: 308.8 kB / 0.8376 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.37e-05/0.6807, allocations: 19.94 kB / 0.8376 GB, free: 7.359 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00138/0.6821, allocations: 0.9438 MB / 0.8385 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6821, allocations: 4 kB / 0.8385 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004215/0.6863, allocations: 1.355 MB / 0.8398 GB, free: 4.984 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000542/0.6869, allocations: 263.5 kB / 0.8401 GB, free: 4.707 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/0.6871, allocations: 12 kB / 0.8401 GB, free: 4.695 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008651/0.6879, allocations: 99.73 kB / 0.8402 GB, free: 4.598 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.688, allocations: 47.83 kB / 0.8402 GB, free: 4.551 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.394e-05/0.6881, allocations: 23.98 kB / 0.8402 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00114/0.6892, allocations: 0.7391 MB / 0.841 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.433e-06/0.6893, allocations: 0 / 0.841 GB, free: 3.781 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001482/0.6907, allocations: 0.5614 MB / 0.8415 GB, free: 3.219 MB / 0.6544 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 (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.0007435/0.6915, allocations: 368.6 kB / 0.8419 GB, free: 2.852 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003147/0.6946, allocations: 1.143 MB / 0.843 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.6947, allocations: 0 / 0.843 GB, free: 1.715 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008931/0.6956, allocations: 363 kB / 0.8433 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.6981, allocations: 0.5202 MB / 0.8438 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005527/0.7036, allocations: 2.45 MB / 0.8462 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006123/0.7043, allocations: 1.066 MB / 0.8473 GB, free: 13.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001107/0.7054, allocations: 240.8 kB / 0.8475 GB, free: 13.01 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.7056, allocations: 75.42 kB / 0.8476 GB, free: 12.93 MB / 0.67 GB Notification: Performance of SimCode: time 1.182e-06/0.7056, allocations: 0 / 0.8476 GB, free: 12.93 MB / 0.67 GB Notification: Performance of Templates: time 0.03977/0.7454, allocations: 24.32 MB / 0.8713 GB, free: 4.914 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)