Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.322/1.322, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 162.2 kB / 326.5 MB, free: 2.719 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.522/1.522, allocations: 205 MB / 0.5766 GB, free: 21.05 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000759/0.000759, allocations: 88.72 kB / 0.6804 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002931/0.0002931, allocations: 9.688 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1798, allocations: 105.4 MB / 0.8967 GB, free: 68.23 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.05/0.2299, allocations: 74.41 MB / 0.9694 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01748/0.2474, allocations: 15.06 MB / 0.9841 GB, free: 10.45 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.2494, allocations: 55.62 kB / 0.9842 GB, free: 10.4 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.2512, allocations: 0.6759 MB / 0.9848 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005797/0.257, allocations: 2.354 MB / 0.9871 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002888/0.2599, allocations: 1.25 MB / 0.9884 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005493/0.2654, allocations: 5.519 MB / 0.9937 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001685/0.2671, allocations: 1.132 MB / 0.9949 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002585/0.2697, allocations: 1.345 MB / 0.9962 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001677/0.2714, allocations: 1.147 MB / 0.9973 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001762/0.2716, allocations: 56 kB / 0.9973 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002756/0.2744, allocations: 1.232 MB / 0.9985 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.2747, allocations: 294.6 kB / 0.9988 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0009394/0.2757, allocations: 0.7654 MB / 0.9996 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.2792, allocations: 2.714 MB / 1.002 GB, free: 7.844 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.2792, allocations: 4 kB / 1.002 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.714e-06/0.2793, allocations: 0 / 1.002 GB, free: 7.84 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.384e-05/0.2793, allocations: 0 / 1.002 GB, free: 7.84 MB / 0.6511 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.003004/0.2823, allocations: 1.779 MB / 1.004 GB, free: 5.992 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.2823, allocations: 8.031 kB / 1.004 GB, free: 5.984 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007176/0.2831, allocations: 242.8 kB / 1.004 GB, free: 5.746 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002167/0.2852, allocations: 1.485 MB / 1.006 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/0.2853, allocations: 74 kB / 1.006 GB, free: 4.133 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/0.2855, allocations: 108 kB / 1.006 GB, free: 4.027 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001849/0.2873, allocations: 1.112 MB / 1.007 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.2873, allocations: 0 / 1.007 GB, free: 2.883 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.59e-05/0.2874, allocations: 44 kB / 1.007 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/0.2875, allocations: 24 kB / 1.007 GB, free: 2.816 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001863/0.2893, allocations: 0.9368 MB / 1.008 GB, free: 1.875 MB / 0.6511 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.005419/0.2948, allocations: 4.903 MB / 1.013 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001357/0.2961, allocations: 0.6512 MB / 1.013 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006706/0.2968, allocations: 370.3 kB / 1.014 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/0.2975, allocations: 0.8238 MB / 1.014 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.2975, allocations: 43.12 kB / 1.015 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.2975, allocations: 0 / 1.015 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of matching and sorting (n=61): time 0.006868/0.3044, allocations: 1.896 MB / 1.016 GB, free: 8.672 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.136e-05/0.3044, allocations: 63.97 kB / 1.016 GB, free: 8.594 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/0.306, allocations: 1.206 MB / 1.018 GB, free: 7.371 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.088e-05/0.306, allocations: 41.7 kB / 1.018 GB, free: 7.324 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000475/0.3065, allocations: 0.6064 MB / 1.018 GB, free: 6.711 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/0.3067, allocations: 216.9 kB / 1.018 GB, free: 6.496 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.573e-05/0.3068, allocations: 61.69 kB / 1.019 GB, free: 6.43 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.3069, allocations: 334 kB / 1.019 GB, free: 6.098 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006305/0.3076, allocations: 301.8 kB / 1.019 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/0.3084, allocations: 0.5162 MB / 1.02 GB, free: 5.207 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.3098, allocations: 0.7519 MB / 1.02 GB, free: 4.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.3098, allocations: 7.938 kB / 1.02 GB, free: 4.402 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004444/0.3142, allocations: 1.406 MB / 1.022 GB, free: 2.984 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001157/0.3144, allocations: 198.2 kB / 1.022 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.3144, allocations: 7.984 kB / 1.022 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005382/0.3149, allocations: 144.8 kB / 1.022 GB, free: 2.586 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.3155, allocations: 163.8 kB / 1.022 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007749/0.3163, allocations: 0.7239 MB / 1.023 GB, free: 1.676 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.3174, allocations: 167.1 kB / 1.023 GB, free: 1.512 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-05/0.3175, allocations: 35.98 kB / 1.023 GB, free: 1.477 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.3175, allocations: 4 kB / 1.023 GB, free: 1.473 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004253/0.3217, allocations: 1.257 MB / 1.024 GB, free: 216 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3218, allocations: 4 kB / 1.024 GB, free: 212 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004667/0.3222, allocations: 145.1 kB / 1.024 GB, free: 64 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000564/0.3228, allocations: 167.8 kB / 1.025 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.3235, allocations: 0.7239 MB / 1.025 GB, free: 15.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/0.3246, allocations: 159.2 kB / 1.026 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.754e-05/0.3247, allocations: 39.98 kB / 1.026 GB, free: 14.95 MB / 0.6823 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.0005928/0.3253, allocations: 412.9 kB / 1.026 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002079/0.3255, allocations: 138.3 kB / 1.026 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/0.3299, allocations: 1.404 MB / 1.027 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004865/0.3348, allocations: 1.228 MB / 1.029 GB, free: 11.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3348, allocations: 7.938 kB / 1.029 GB, free: 11.71 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/0.3354, allocations: 295.2 kB / 1.029 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.3356, allocations: 12 kB / 1.029 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.3365, allocations: 105.7 kB / 1.029 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3366, allocations: 52.42 kB / 1.029 GB, free: 11.24 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002744/0.3394, allocations: 1.042 MB / 1.03 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002242/0.3416, allocations: 1.397 MB / 1.031 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006389/0.3423, allocations: 348.3 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001069/0.3434, allocations: 0.8419 MB / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of Backend: time 4.11e-07/0.3434, allocations: 0 / 1.033 GB, free: 7.59 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003283/0.3466, allocations: 1.404 MB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of SimCode: time 0.005125/0.3518, allocations: 3.608 MB / 1.038 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of Templates: time 0.3492/0.701, allocations: 31.63 MB / 1.068 GB, free: 145.7 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)