Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.189/2.189, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 194.3 kB / 499.1 MB, free: 4.637 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 0.7948 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 95.75 kB / 0.9329 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 53.02 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2385, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.04557/0.2841, allocations: 74.74 MB / 1.291 GB, free: 42.22 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01607/0.3002, allocations: 15.23 MB / 1.306 GB, free: 26.95 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.3029, allocations: 59.62 kB / 1.306 GB, free: 26.89 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001842/0.3048, allocations: 0.676 MB / 1.307 GB, free: 26.21 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.005234/0.31, allocations: 2.38 MB / 1.309 GB, free: 23.82 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.3127, allocations: 1.271 MB / 1.31 GB, free: 22.57 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004981/0.3177, allocations: 5.59 MB / 1.316 GB, free: 16.96 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001766/0.3195, allocations: 1.204 MB / 1.317 GB, free: 15.73 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.3218, allocations: 1.381 MB / 1.318 GB, free: 14.34 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001276/0.3231, allocations: 1.198 MB / 1.319 GB, free: 13.14 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.3233, allocations: 72 kB / 1.319 GB, free: 13.07 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002148/0.3254, allocations: 1.259 MB / 1.321 GB, free: 11.8 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002264/0.3257, allocations: 314.6 kB / 1.321 GB, free: 11.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006529/0.3263, allocations: 0.8122 MB / 1.322 GB, free: 10.68 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002218/0.3285, allocations: 2.781 MB / 1.324 GB, free: 7.891 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.3286, allocations: 7.984 kB / 1.324 GB, free: 7.883 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3286, allocations: 0 / 1.324 GB, free: 7.883 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.518e-05/0.3286, allocations: 0 / 1.324 GB, free: 7.883 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002912/0.3315, allocations: 2.079 MB / 1.327 GB, free: 5.734 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.3315, allocations: 11.98 kB / 1.327 GB, free: 5.723 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006668/0.3322, allocations: 238.8 kB / 1.327 GB, free: 5.488 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.3342, allocations: 1.497 MB / 1.328 GB, free: 3.938 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.184e-05/0.3343, allocations: 78 kB / 1.328 GB, free: 3.859 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.3344, allocations: 100 kB / 1.328 GB, free: 3.762 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001604/0.336, allocations: 1.104 MB / 1.329 GB, free: 2.625 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.336, allocations: 3.938 kB / 1.329 GB, free: 2.621 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.856e-05/0.3361, allocations: 40 kB / 1.33 GB, free: 2.582 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.3362, allocations: 24 kB / 1.33 GB, free: 2.559 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.3378, allocations: 0.8978 MB / 1.33 GB, free: 1.656 MB / 0.823 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.004841/0.3426, allocations: 4.907 MB / 1.335 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.344, allocations: 0.6192 MB / 1.336 GB, free: 11.84 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000665/0.3447, allocations: 351.8 kB / 1.336 GB, free: 11.49 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006361/0.3453, allocations: 0.8277 MB / 1.337 GB, free: 10.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.3454, allocations: 39.12 kB / 1.337 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.3454, allocations: 3.938 kB / 1.337 GB, free: 10.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=61): time 0.007136/0.3525, allocations: 1.701 MB / 1.339 GB, free: 8.699 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.3526, allocations: 55.97 kB / 1.339 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.3543, allocations: 1.218 MB / 1.34 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3544, allocations: 37.7 kB / 1.34 GB, free: 7.355 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004921/0.3549, allocations: 0.6104 MB / 1.341 GB, free: 6.738 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3551, allocations: 208.9 kB / 1.341 GB, free: 6.531 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002556/0.3554, allocations: 158.6 kB / 1.341 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3555, allocations: 337.9 kB / 1.341 GB, free: 6.035 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006515/0.3562, allocations: 288.7 kB / 1.341 GB, free: 5.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00081/0.357, allocations: 0.489 MB / 1.342 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/0.3583, allocations: 0.7051 MB / 1.343 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.3583, allocations: 0 / 1.343 GB, free: 4.418 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004585/0.3629, allocations: 1.277 MB / 1.344 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.022e-05/0.363, allocations: 8 kB / 1.344 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.363, allocations: 4 kB / 1.344 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005577/0.3636, allocations: 136.8 kB / 1.344 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.3641, allocations: 155.8 kB / 1.344 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007804/0.3649, allocations: 0.7122 MB / 1.345 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.366, allocations: 163 kB / 1.345 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-05/0.3661, allocations: 31.98 kB / 1.345 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/0.3671, allocations: 0.5504 MB / 1.346 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008301/0.3679, allocations: 0.489 MB / 1.346 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001312/0.3693, allocations: 0.7012 MB / 1.347 GB, free: 32 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.15e-06/0.3693, allocations: 4 kB / 1.347 GB, free: 28 kB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004624/0.3739, allocations: 1.265 MB / 1.348 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3739, allocations: 12.06 kB / 1.348 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.374, allocations: 7.938 kB / 1.348 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004691/0.3744, allocations: 140.7 kB / 1.348 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005461/0.375, allocations: 155.8 kB / 1.348 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007484/0.3757, allocations: 0.7006 MB / 1.349 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3768, allocations: 144.8 kB / 1.349 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.687e-05/0.3769, allocations: 28 kB / 1.349 GB, free: 13.54 MB / 0.8542 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002139/0.3771, allocations: 229.3 kB / 1.349 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001909/0.3773, allocations: 134.4 kB / 1.35 GB, free: 13.18 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004403/0.3817, allocations: 1.267 MB / 1.351 GB, free: 11.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.3817, allocations: 8 kB / 1.351 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.3818, allocations: 0 / 1.351 GB, free: 11.88 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00394/0.3857, allocations: 1.107 MB / 1.352 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006033/0.3917, allocations: 2.602 MB / 1.354 GB, free: 8.027 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.3918, allocations: 4.438 kB / 1.354 GB, free: 8.023 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.3922, allocations: 111.9 kB / 1.354 GB, free: 7.914 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004434/0.3927, allocations: 136.7 kB / 1.355 GB, free: 7.777 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.3927, allocations: 16 kB / 1.355 GB, free: 7.762 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004352/0.3971, allocations: 2.396 MB / 1.357 GB, free: 5.223 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.3971, allocations: 8 kB / 1.357 GB, free: 5.215 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03109/0.4282, allocations: 10.72 MB / 1.367 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004607/0.4287, allocations: 307.1 kB / 1.368 GB, free: 9.805 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001357/0.4288, allocations: 19.98 kB / 1.368 GB, free: 9.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008183/0.4297, allocations: 80.14 kB / 1.368 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.4298, allocations: 64.19 kB / 1.368 GB, free: 9.641 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.934e-05/0.4299, allocations: 31.97 kB / 1.368 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001164/0.4311, allocations: 0.8701 MB / 1.369 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4311, allocations: 0 / 1.369 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002744/0.4338, allocations: 1.104 MB / 1.37 GB, free: 7.633 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008492/0.4347, allocations: 441.7 kB / 1.37 GB, free: 7.203 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002556/0.4372, allocations: 1.114 MB / 1.371 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.718e-06/0.4373, allocations: 0 / 1.371 GB, free: 6.086 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001489/0.4388, allocations: 0.5642 MB / 1.372 GB, free: 5.512 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003597/0.4424, allocations: 0.7578 MB / 1.373 GB, free: 4.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006005/0.4484, allocations: 3.496 MB / 1.376 GB, free: 1.172 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.4491, allocations: 1.206 MB / 1.377 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001283/0.4504, allocations: 311 kB / 1.378 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002425/0.4507, allocations: 103.4 kB / 1.378 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of SimCode: time 9.72e-07/0.4507, allocations: 4 kB / 1.378 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of Templates: time 0.05197/0.5027, allocations: 33.48 MB / 1.41 GB, free: 14.33 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)