Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") translateModel(Buildings.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001651/0.001652, allocations: 100.8 kB / 16.29 MB, free: 6.016 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.001915/0.001915, allocations: 181.8 kB / 17.22 MB, free: 5.625 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.431/1.431, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.864/1.864, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.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.002516/0.002517, allocations: 67.91 kB / 0.6722 GB, free: 6.551 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2585/0.2611, allocations: 114.5 MB / 0.7841 GB, free: 3.887 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.4414/0.7025, allocations: 75.2 MB / 0.8575 GB, free: 14.98 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.7258, allocations: 15.06 MB / 0.8722 GB, free: 4.188 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003435/0.7292, allocations: 64.31 kB / 0.8723 GB, free: 4.164 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003003/0.7323, allocations: 0.8244 MB / 0.8731 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00986/0.7422, allocations: 2.567 MB / 0.8756 GB, free: 2.105 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004651/0.7469, allocations: 1.4 MB / 0.8769 GB, free: 1.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.007886/0.7548, allocations: 4.362 MB / 0.8812 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002722/0.7575, allocations: 1.452 MB / 0.8826 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004938/0.7625, allocations: 1.635 MB / 0.8842 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00288/0.7654, allocations: 1.218 MB / 0.8854 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004167/0.7658, allocations: 168.6 kB / 0.8856 GB, free: 12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004284/0.7701, allocations: 1.406 MB / 0.8869 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004692/0.7706, allocations: 405 kB / 0.8873 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.772, allocations: 0.9019 MB / 0.8882 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00546/0.7775, allocations: 2.878 MB / 0.891 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.396e-06/0.7775, allocations: 0 / 0.891 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7776, allocations: 1.344 kB / 0.891 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.938e-05/0.7776, allocations: 0 / 0.891 GB, free: 8.379 MB / 0.6856 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.004715/0.7823, allocations: 2.079 MB / 0.893 GB, free: 6.805 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.7824, allocations: 13.44 kB / 0.8931 GB, free: 6.801 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009727/0.7834, allocations: 235.2 kB / 0.8933 GB, free: 6.688 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.7864, allocations: 1.455 MB / 0.8947 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.7865, allocations: 76.38 kB / 0.8948 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.7866, allocations: 101.7 kB / 0.8949 GB, free: 5.461 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/0.789, allocations: 1.101 MB / 0.8959 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.741e-05/0.789, allocations: 0 / 0.8959 GB, free: 4.777 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.321e-05/0.7891, allocations: 42.69 kB / 0.896 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.485e-05/0.7892, allocations: 23.69 kB / 0.896 GB, free: 4.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001908/0.7911, allocations: 0.8929 MB / 0.8969 GB, free: 4.301 MB / 0.6856 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.006817/0.7979, allocations: 4.922 MB / 0.9017 GB, free: 60 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.7995, allocations: 0.6148 MB / 0.9023 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.8002, allocations: 348.1 kB / 0.9026 GB, free: 15.59 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007164/0.8009, allocations: 0.8302 MB / 0.9034 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.687e-05/0.801, allocations: 41.81 kB / 0.9035 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 2.495e-06/0.801, allocations: 2.656 kB / 0.9035 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.006775/0.8077, allocations: 1.692 MB / 0.9051 GB, free: 13.68 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.8078, allocations: 61.47 kB / 0.9052 GB, free: 13.62 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002006/0.8098, allocations: 1.229 MB / 0.9064 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001421/0.81, allocations: 38.73 kB / 0.9064 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005745/0.8106, allocations: 0.6021 MB / 0.907 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.8109, allocations: 212.9 kB / 0.9072 GB, free: 12.14 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/0.8111, allocations: 154.5 kB / 0.9074 GB, free: 11.99 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.8113, allocations: 337.9 kB / 0.9077 GB, free: 11.65 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006449/0.8119, allocations: 292.6 kB / 0.908 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008997/0.8128, allocations: 0.4929 MB / 0.9084 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.8142, allocations: 0.7129 MB / 0.9091 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.8142, allocations: 0 / 0.9091 GB, free: 10.03 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004393/0.8186, allocations: 1.273 MB / 0.9104 GB, free: 8.742 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.8187, allocations: 8 kB / 0.9104 GB, free: 8.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/0.8187, allocations: 4 kB / 0.9104 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/0.8193, allocations: 133.1 kB / 0.9105 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.8199, allocations: 163.7 kB / 0.9107 GB, free: 8.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008441/0.8207, allocations: 0.7091 MB / 0.9114 GB, free: 7.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/0.8221, allocations: 123 kB / 0.9115 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.8222, allocations: 34.98 kB / 0.9115 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001138/0.8234, allocations: 0.5527 MB / 0.9121 GB, free: 6.992 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008104/0.8242, allocations: 496.8 kB / 0.9125 GB, free: 6.43 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001358/0.8256, allocations: 0.705 MB / 0.9132 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.007e-06/0.8256, allocations: 0 / 0.9132 GB, free: 5.672 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004416/0.83, allocations: 1.269 MB / 0.9145 GB, free: 4.391 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.83, allocations: 10.5 kB / 0.9145 GB, free: 4.383 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.83, allocations: 3.938 kB / 0.9145 GB, free: 4.379 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005012/0.8306, allocations: 141.7 kB / 0.9146 GB, free: 4.238 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006057/0.8312, allocations: 163.7 kB / 0.9148 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008155/0.832, allocations: 0.7015 MB / 0.9155 GB, free: 3.352 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001419/0.8334, allocations: 103.4 kB / 0.9156 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.525e-05/0.8335, allocations: 31.98 kB / 0.9156 GB, free: 3.219 MB / 0.7012 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.000307/0.8338, allocations: 228.1 kB / 0.9158 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.8343, allocations: 130.4 kB / 0.9159 GB, free: 2.859 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004454/0.8388, allocations: 1.27 MB / 0.9172 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.089e-05/0.8388, allocations: 7.984 kB / 0.9172 GB, free: 1.57 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.8389, allocations: 4 kB / 0.9172 GB, free: 1.566 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003791/0.8426, allocations: 1.107 MB / 0.9183 GB, free: 436 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007086/0.8498, allocations: 2.615 MB / 0.9208 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.859e-06/0.8498, allocations: 4 kB / 0.9208 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000495/0.8503, allocations: 115.7 kB / 0.9209 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005265/0.8508, allocations: 129 kB / 0.921 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-05/0.8509, allocations: 19.98 kB / 0.9211 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005355/0.8563, allocations: 2.629 MB / 0.9236 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/0.8563, allocations: 7.938 kB / 0.9236 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005193/0.8615, allocations: 1.699 MB / 0.9253 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009197/0.8625, allocations: 303.2 kB / 0.9256 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004228/0.8629, allocations: 20 kB / 0.9256 GB, free: 8.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/0.8639, allocations: 55.98 kB / 0.9257 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.8641, allocations: 56.25 kB / 0.9257 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/0.8642, allocations: 31.98 kB / 0.9257 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001528/0.8657, allocations: 0.8855 MB / 0.9266 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8657, allocations: 0 / 0.9266 GB, free: 7.516 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002507/0.8682, allocations: 0.7252 MB / 0.9273 GB, free: 6.789 MB / 0.7169 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.00114/0.8694, allocations: 445 kB / 0.9277 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002726/0.8721, allocations: 1.127 MB / 0.9288 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.8721, allocations: 0 / 0.9288 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.8736, allocations: 0.5643 MB / 0.9294 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003924/0.8776, allocations: 0.8099 MB / 0.9302 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004265/0.8819, allocations: 2.266 MB / 0.9324 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/0.8828, allocations: 1.168 MB / 0.9335 GB, free: 400 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001244/0.8841, allocations: 314.1 kB / 0.9338 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/0.8844, allocations: 111.5 kB / 0.9339 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of SimCode: time 5.71e-07/0.8844, allocations: 0 / 0.9339 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of Templates: time 0.0537/0.9381, allocations: 32.46 MB / 0.9656 GB, free: 15.96 MB / 0.7637 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)