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.001185/0.001185, allocations: 105.2 kB / 16.36 MB, free: 6.258 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.001315/0.001315, allocations: 190.5 kB / 17.3 MB, free: 5.848 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.334/1.334, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.792/1.792, allocations: 292.3 MB / 0.5496 GB, free: 17.5 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.001387/0.001387, allocations: 71.91 kB / 0.6729 GB, free: 5.77 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1912/0.1926, allocations: 114.6 MB / 0.7848 GB, free: 3.098 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.3862/0.5789, allocations: 75.2 MB / 0.8582 GB, free: 14.69 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02161/0.6005, allocations: 15.04 MB / 0.8729 GB, free: 3.914 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003125/0.6037, allocations: 63.75 kB / 0.873 GB, free: 3.891 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.6065, allocations: 0.8335 MB / 0.8738 GB, free: 3.367 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008526/0.6151, allocations: 2.559 MB / 0.8763 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004225/0.6193, allocations: 1.412 MB / 0.8777 GB, free: 0.8477 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006813/0.6261, allocations: 4.361 MB / 0.8819 GB, free: 14.24 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002495/0.6286, allocations: 1.434 MB / 0.8833 GB, free: 13.35 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005309/0.634, allocations: 1.649 MB / 0.8849 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004008/0.638, allocations: 1.222 MB / 0.8861 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007701/0.6388, allocations: 163.9 kB / 0.8863 GB, free: 11.59 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00435/0.6432, allocations: 1.406 MB / 0.8877 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006903/0.6439, allocations: 401.4 kB / 0.888 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002104/0.646, allocations: 0.9053 MB / 0.8889 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005557/0.6516, allocations: 2.874 MB / 0.8917 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.6516, allocations: 0 / 0.8917 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6516, allocations: 0 / 0.8917 GB, free: 7.977 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.284e-05/0.6516, allocations: 0 / 0.8917 GB, free: 7.977 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.004399/0.656, allocations: 2.089 MB / 0.8938 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.074e-05/0.6561, allocations: 8.531 kB / 0.8938 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/0.6572, allocations: 230.8 kB / 0.894 GB, free: 6.285 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003059/0.6602, allocations: 1.517 MB / 0.8955 GB, free: 5.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.378e-05/0.6603, allocations: 80.5 kB / 0.8956 GB, free: 5.055 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.6605, allocations: 101.8 kB / 0.8956 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002134/0.6626, allocations: 1.1 MB / 0.8967 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.6627, allocations: 1.281 kB / 0.8967 GB, free: 4.34 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.646e-05/0.6628, allocations: 37.59 kB / 0.8968 GB, free: 4.312 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.6628, allocations: 28.5 kB / 0.8968 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.6649, allocations: 0.9019 MB / 0.8977 GB, free: 3.855 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.006727/0.6716, allocations: 4.911 MB / 0.9025 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.6731, allocations: 0.6157 MB / 0.9031 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000747/0.6739, allocations: 349.8 kB / 0.9034 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007255/0.6746, allocations: 0.8287 MB / 0.9042 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.942e-05/0.6747, allocations: 49.53 kB / 0.9043 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=61): time 3.807e-06/0.6747, allocations: 0 / 0.9043 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of matching and sorting (n=61): time 0.007654/0.6823, allocations: 1.69 MB / 0.9059 GB, free: 13.24 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.269e-05/0.6824, allocations: 58.84 kB / 0.906 GB, free: 13.18 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.6843, allocations: 1.224 MB / 0.9072 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.6844, allocations: 47.02 kB / 0.9072 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006377/0.6851, allocations: 0.6026 MB / 0.9078 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002611/0.6854, allocations: 212.9 kB / 0.908 GB, free: 11.49 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002357/0.6856, allocations: 154.6 kB / 0.9081 GB, free: 11.34 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.6857, allocations: 333.9 kB / 0.9085 GB, free: 11 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006819/0.6864, allocations: 298.5 kB / 0.9087 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000874/0.6873, allocations: 0.489 MB / 0.9092 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001491/0.6888, allocations: 0.709 MB / 0.9099 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.6888, allocations: 0 / 0.9099 GB, free: 9.383 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004911/0.6937, allocations: 1.273 MB / 0.9112 GB, free: 8.098 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/0.6938, allocations: 8.781 kB / 0.9112 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6938, allocations: 4 kB / 0.9112 GB, free: 8.086 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006561/0.6945, allocations: 142.2 kB / 0.9113 GB, free: 7.945 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/0.6952, allocations: 159.7 kB / 0.9115 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009269/0.6961, allocations: 0.7064 MB / 0.9121 GB, free: 7.059 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6975, allocations: 123 kB / 0.9123 GB, free: 6.938 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.126e-05/0.6976, allocations: 39.92 kB / 0.9123 GB, free: 6.898 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001224/0.6988, allocations: 0.5488 MB / 0.9128 GB, free: 6.344 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008745/0.6997, allocations: 0.4909 MB / 0.9133 GB, free: 5.777 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00145/0.7011, allocations: 0.705 MB / 0.914 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.946e-06/0.7012, allocations: 0 / 0.914 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005048/0.7062, allocations: 1.265 MB / 0.9152 GB, free: 3.742 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.7062, allocations: 8 kB / 0.9152 GB, free: 3.734 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.7063, allocations: 4 kB / 0.9153 GB, free: 3.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005273/0.7068, allocations: 144.9 kB / 0.9154 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.7074, allocations: 155.3 kB / 0.9155 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008347/0.7083, allocations: 0.7126 MB / 0.9162 GB, free: 2.703 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001381/0.7097, allocations: 111.5 kB / 0.9163 GB, free: 2.594 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.206e-05/0.7098, allocations: 31.98 kB / 0.9164 GB, free: 2.562 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.0002573/0.71, allocations: 224.1 kB / 0.9166 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002804/0.7103, allocations: 134.4 kB / 0.9167 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004846/0.7152, allocations: 1.268 MB / 0.918 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004364/0.7195, allocations: 1.099 MB / 0.919 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.7196, allocations: 4 kB / 0.919 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008896/0.7205, allocations: 295.2 kB / 0.9193 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.7207, allocations: 11.94 kB / 0.9193 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007726/0.7215, allocations: 55.94 kB / 0.9194 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.7216, allocations: 48.48 kB / 0.9194 GB, free: 15.36 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002753/0.7244, allocations: 0.9599 MB / 0.9204 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002494/0.7269, allocations: 1.338 MB / 0.9217 GB, free: 13.04 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007247/0.7276, allocations: 328.2 kB / 0.922 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001254/0.7289, allocations: 0.8653 MB / 0.9228 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of Backend: time 3.71e-07/0.7289, allocations: 0 / 0.9228 GB, free: 11.85 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004254/0.7332, allocations: 1.369 MB / 0.9242 GB, free: 10.49 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005522/0.7387, allocations: 3.139 MB / 0.9272 GB, free: 7.367 MB / 0.7169 GB Notification: Performance of Templates: time 0.05357/0.7923, allocations: 33.62 MB / 0.9601 GB, free: 6.18 MB / 0.7481 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)