Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 104.1 kB / 16.36 MB, free: 6.422 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.001162/0.001162, allocations: 192.6 kB / 17.3 MB, free: 5.801 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.312/1.312, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.798/1.798, allocations: 292.3 MB / 0.5496 GB, free: 17.36 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.001456/0.001456, allocations: 75.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2115/0.213, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3894/0.6024, allocations: 61.23 MB / 0.8446 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01433/0.6168, allocations: 11.91 MB / 0.8562 GB, free: 384 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002279/0.6191, allocations: 59.25 kB / 0.8563 GB, free: 360 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001884/0.621, allocations: 0.6808 MB / 0.8569 GB, free: 15.91 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005942/0.627, allocations: 1.942 MB / 0.8588 GB, free: 14.75 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.6304, allocations: 1.218 MB / 0.86 GB, free: 14.09 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0047/0.6351, allocations: 3.072 MB / 0.863 GB, free: 12.58 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001873/0.637, allocations: 1.11 MB / 0.8641 GB, free: 12.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003348/0.6404, allocations: 1.341 MB / 0.8654 GB, free: 11.43 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.6422, allocations: 0.9086 MB / 0.8663 GB, free: 11 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.6424, allocations: 124.4 kB / 0.8664 GB, free: 11 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003381/0.6458, allocations: 1.458 MB / 0.8678 GB, free: 10.5 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003587/0.6462, allocations: 289.6 kB / 0.8681 GB, free: 10.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009875/0.6472, allocations: 0.699 MB / 0.8688 GB, free: 9.879 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004061/0.6512, allocations: 2.332 MB / 0.8711 GB, free: 8.66 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6513, allocations: 0 / 0.8711 GB, free: 8.66 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6513, allocations: 1.531 kB / 0.8711 GB, free: 8.66 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.746e-05/0.6513, allocations: 0 / 0.8711 GB, free: 8.66 MB / 0.67 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.00383/0.6551, allocations: 1.738 MB / 0.8728 GB, free: 7.316 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.708e-05/0.6552, allocations: 9.594 kB / 0.8728 GB, free: 7.316 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.6574, allocations: 405.8 kB / 0.8732 GB, free: 7.133 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002478/0.6599, allocations: 1.112 MB / 0.8743 GB, free: 6.23 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003706/0.6603, allocations: 121.4 kB / 0.8744 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.6604, allocations: 84.78 kB / 0.8745 GB, free: 6.148 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002282/0.6627, allocations: 1.01 MB / 0.8754 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.6628, allocations: 1.312 kB / 0.8754 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.151e-05/0.6629, allocations: 32.69 kB / 0.8755 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.6629, allocations: 19.44 kB / 0.8755 GB, free: 5.457 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00242/0.6653, allocations: 0.8901 MB / 0.8764 GB, free: 5.016 MB / 0.67 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.007412/0.6728, allocations: 4.972 MB / 0.8812 GB, free: 0.5977 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003656/0.6764, allocations: 0.8355 MB / 0.882 GB, free: 180 kB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007849/0.6772, allocations: 321.6 kB / 0.8823 GB, free: 24 kB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007113/0.678, allocations: 0.9126 MB / 0.8832 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.049e-05/0.678, allocations: 37.53 kB / 0.8833 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.185e-06/0.678, allocations: 0 / 0.8833 GB, free: 14.91 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.009/0.687, allocations: 1.98 MB / 0.8852 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.784e-05/0.6871, allocations: 56.56 kB / 0.8853 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.6888, allocations: 1.083 MB / 0.8863 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.247e-05/0.6889, allocations: 37.98 kB / 0.8864 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.6894, allocations: 0.5179 MB / 0.8869 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.6895, allocations: 166.3 kB / 0.887 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002428/0.6898, allocations: 146.1 kB / 0.8872 GB, free: 12.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001227/0.6899, allocations: 332.3 kB / 0.8875 GB, free: 12.18 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/0.6908, allocations: 327.8 kB / 0.8878 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001136/0.692, allocations: 0.5384 MB / 0.8883 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001767/0.6938, allocations: 0.737 MB / 0.889 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.683e-06/0.6938, allocations: 1.062 kB / 0.889 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.0039/0.6977, allocations: 1.217 MB / 0.8902 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.6977, allocations: 14.06 kB / 0.8902 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.6977, allocations: 4.25 kB / 0.8902 GB, free: 10.49 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.6991, allocations: 327.4 kB / 0.8906 GB, free: 10.34 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.6997, allocations: 138 kB / 0.8907 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.7012, allocations: 0.911 MB / 0.8916 GB, free: 9.578 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.7026, allocations: 154 kB / 0.8917 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-05/0.7027, allocations: 35.38 kB / 0.8918 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.704, allocations: 0.53 MB / 0.8923 GB, free: 9.168 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001104/0.7051, allocations: 0.5362 MB / 0.8928 GB, free: 8.738 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001753/0.7069, allocations: 0.7339 MB / 0.8935 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.647e-06/0.7069, allocations: 1.312 kB / 0.8935 GB, free: 8.258 MB / 0.6856 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.003715/0.7106, allocations: 1.193 MB / 0.8947 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.7106, allocations: 8.812 kB / 0.8947 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.7107, allocations: 6 kB / 0.8947 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.7118, allocations: 313.7 kB / 0.895 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006082/0.7124, allocations: 133.4 kB / 0.8951 GB, free: 7.484 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001462/0.7139, allocations: 0.9158 MB / 0.896 GB, free: 6.754 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.7154, allocations: 133.4 kB / 0.8961 GB, free: 6.691 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.619e-05/0.7155, allocations: 30.42 kB / 0.8962 GB, free: 6.684 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (61): * Single equations (assignments): 60 * 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.0002873/0.7158, allocations: 226.5 kB / 0.8964 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002468/0.716, allocations: 113.3 kB / 0.8965 GB, free: 6.41 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004/0.72, allocations: 1.16 MB / 0.8976 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.767e-05/0.7201, allocations: 6.906 kB / 0.8976 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.7201, allocations: 0 / 0.8976 GB, free: 5.77 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.7201, allocations: 7.984 kB / 0.8976 GB, free: 5.762 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005603/0.7257, allocations: 2.243 MB / 0.8998 GB, free: 3.457 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.7258, allocations: 4.031 kB / 0.8998 GB, free: 3.453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.7261, allocations: 71.89 kB / 0.8999 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00107/0.7272, allocations: 309.8 kB / 0.9002 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-05/0.7273, allocations: 11.98 kB / 0.9002 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00152/0.7288, allocations: 0.9501 MB / 0.9011 GB, free: 2.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.7288, allocations: 4.031 kB / 0.9011 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.7328, allocations: 1.22 MB / 0.9023 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007889/0.7336, allocations: 271.4 kB / 0.9026 GB, free: 0.5312 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001796/0.7338, allocations: 20.69 kB / 0.9026 GB, free: 0.5117 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008745/0.7347, allocations: 71.86 kB / 0.9027 GB, free: 452 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.7348, allocations: 43.31 kB / 0.9027 GB, free: 412 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.005e-05/0.7348, allocations: 27.98 kB / 0.9027 GB, free: 384 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001315/0.7362, allocations: 0.7551 MB / 0.9035 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of sort global known variables: time 3.31e-07/0.7362, allocations: 0 / 0.9035 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002059/0.7382, allocations: 0.5771 MB / 0.904 GB, free: 15.03 MB / 0.7012 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 (38): * Single equations (assignments): 33 * 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.0008808/0.7391, allocations: 396.5 kB / 0.9044 GB, free: 14.65 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003452/0.7426, allocations: 1.197 MB / 0.9056 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.7426, allocations: 256 / 0.9056 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00096/0.7436, allocations: 378.5 kB / 0.906 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.7462, allocations: 0.53 MB / 0.9065 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005339/0.7516, allocations: 2.055 MB / 0.9085 GB, free: 10.49 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006756/0.7523, allocations: 1.063 MB / 0.9095 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001017/0.7533, allocations: 238.5 kB / 0.9097 GB, free: 9.172 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/0.7535, allocations: 83.42 kB / 0.9098 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of SimCode: time 2.304e-06/0.7535, allocations: 0 / 0.9098 GB, free: 9.09 MB / 0.7012 GB Notification: Performance of Templates: time 0.04195/0.7955, allocations: 25.83 MB / 0.9351 GB, free: 15.66 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)