Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.0009909, allocations: 97.56 kB / 15.36 MB, free: 0.7344 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.00781/0.00781, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437.8 MB / 0.7121 GB, free: 7 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004963/0.0004965, allocations: 8 kB / 0.8729 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6453/0.6458, allocations: 153.8 MB / 1.023 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05238/0.6982, allocations: 59.8 MB / 1.082 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01472/0.713, allocations: 11.91 MB / 1.093 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.7149, allocations: 55.62 kB / 1.093 GB, free: 7.863 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.7172, allocations: 0.5477 MB / 1.094 GB, free: 7.312 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005341/0.7226, allocations: 1.804 MB / 1.095 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.7254, allocations: 1.082 MB / 1.097 GB, free: 4.426 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004388/0.7297, allocations: 3.899 MB / 1.1 GB, free: 0.5156 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001351/0.7311, allocations: 0.8924 MB / 1.101 GB, free: 15.59 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.7333, allocations: 1.127 MB / 1.102 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001157/0.7345, allocations: 0.8475 MB / 1.103 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001015/0.7346, allocations: 44 kB / 1.103 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.7371, allocations: 1.356 MB / 1.105 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002269/0.7374, allocations: 210.9 kB / 1.105 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0006588/0.738, allocations: 0.635 MB / 1.105 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002688/0.7407, allocations: 2.204 MB / 1.108 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7407, allocations: 0 / 1.108 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7408, allocations: 0 / 1.108 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.649e-05/0.7408, allocations: 0 / 1.108 GB, free: 9.141 MB / 0.8575 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.00253/0.7433, allocations: 1.491 MB / 1.109 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.7434, allocations: 12.03 kB / 1.109 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.7435, allocations: 126.8 kB / 1.109 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.7452, allocations: 383 kB / 1.109 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.7471, allocations: 1.117 MB / 1.111 GB, free: 5.898 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/0.7475, allocations: 133.9 kB / 1.111 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.7476, allocations: 84 kB / 1.111 GB, free: 5.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001819/0.7494, allocations: 0.9699 MB / 1.112 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/0.7495, allocations: 7.938 kB / 1.112 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.675e-05/0.7495, allocations: 32 kB / 1.112 GB, free: 4.633 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/0.7496, allocations: 16 kB / 1.112 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/0.7516, allocations: 0.851 MB / 1.113 GB, free: 3.77 MB / 0.8575 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.005831/0.7575, allocations: 4.803 MB / 1.117 GB, free: 14.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.759, allocations: 0.5932 MB / 1.118 GB, free: 14 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/0.7597, allocations: 301.5 kB / 1.118 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.761, allocations: 1.384 MB / 1.119 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/0.761, allocations: 46.5 kB / 1.12 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=43): time 2.404e-06/0.7611, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43): time 0.008769/0.7698, allocations: 2.04 MB / 1.122 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/0.7699, allocations: 63.34 kB / 1.122 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001618/0.7715, allocations: 1.048 MB / 1.123 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.445e-05/0.7716, allocations: 41.7 kB / 1.123 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004056/0.772, allocations: 0.5234 MB / 1.123 GB, free: 8.191 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.7722, allocations: 153.8 kB / 1.123 GB, free: 8.039 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.804e-05/0.7723, allocations: 49.69 kB / 1.123 GB, free: 7.984 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.7724, allocations: 329.9 kB / 1.124 GB, free: 7.656 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008003/0.7732, allocations: 281 kB / 1.124 GB, free: 7.383 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009639/0.7741, allocations: 0.4981 MB / 1.124 GB, free: 6.801 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.7756, allocations: 0.6587 MB / 1.125 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.7756, allocations: 4 kB / 1.125 GB, free: 6.082 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002601/0.7782, allocations: 0.9769 MB / 1.126 GB, free: 5.094 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001216/0.7784, allocations: 212.3 kB / 1.126 GB, free: 4.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.7784, allocations: 4 kB / 1.126 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001335/0.7797, allocations: 328.6 kB / 1.127 GB, free: 4.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.7802, allocations: 115.9 kB / 1.127 GB, free: 4.387 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001525/0.7817, allocations: 0.9445 MB / 1.128 GB, free: 3.418 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.7831, allocations: 179.3 kB / 1.128 GB, free: 3.242 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.606e-05/0.7832, allocations: 31.98 kB / 1.128 GB, free: 3.211 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 9.999e-06/0.7832, allocations: 4 kB / 1.128 GB, free: 3.207 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00225/0.7854, allocations: 0.8432 MB / 1.129 GB, free: 2.359 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.7855, allocations: 7.938 kB / 1.129 GB, free: 2.352 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.7866, allocations: 325 kB / 1.129 GB, free: 2.031 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004431/0.7871, allocations: 111.8 kB / 1.129 GB, free: 1.922 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.7885, allocations: 0.9436 MB / 1.13 GB, free: 0.9531 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.7897, allocations: 156.5 kB / 1.13 GB, free: 0.8008 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.311e-05/0.7898, allocations: 31.98 kB / 1.13 GB, free: 0.7695 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (51): * Single equations (assignments): 50 * 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.000532/0.7903, allocations: 351 kB / 1.13 GB, free: 428 kB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/0.7905, allocations: 106.7 kB / 1.131 GB, free: 320 kB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003787/0.7943, allocations: 1.163 MB / 1.132 GB, free: 15.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.7943, allocations: 8 kB / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.902e-06/0.7943, allocations: 0 / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.7944, allocations: 3.984 kB / 1.132 GB, free: 15.13 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004848/0.7992, allocations: 2.161 MB / 1.134 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.614e-06/0.7992, allocations: 0 / 1.134 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002007/0.7994, allocations: 55.91 kB / 1.134 GB, free: 12.83 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001058/0.8005, allocations: 330.2 kB / 1.134 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.519e-05/0.8006, allocations: 15.98 kB / 1.134 GB, free: 12.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.8021, allocations: 0.9798 MB / 1.135 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.8021, allocations: 8.094 kB / 1.135 GB, free: 11.48 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003391/0.8055, allocations: 1.183 MB / 1.136 GB, free: 10.25 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004519/0.8059, allocations: 283.4 kB / 1.137 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/0.8061, allocations: 15.98 kB / 1.137 GB, free: 9.938 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008185/0.8069, allocations: 99.81 kB / 1.137 GB, free: 9.84 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.952e-05/0.807, allocations: 47.83 kB / 1.137 GB, free: 9.793 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.596e-05/0.807, allocations: 23.98 kB / 1.137 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001097/0.8081, allocations: 0.735 MB / 1.138 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8081, allocations: 0 / 1.138 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001456/0.8096, allocations: 0.573 MB / 1.138 GB, free: 8.453 MB / 0.8887 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004337/0.814, allocations: 2.021 MB / 1.14 GB, free: 6.383 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00273/0.8167, allocations: 1.051 MB / 1.141 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.8167, allocations: 0 / 1.141 GB, free: 5.336 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.8175, allocations: 337.1 kB / 1.141 GB, free: 5.004 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002776/0.8203, allocations: 0.5073 MB / 1.142 GB, free: 4.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.8359, allocations: 8.736 MB / 1.15 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005711/0.8365, allocations: 1.061 MB / 1.151 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0009014/0.8374, allocations: 216.1 kB / 1.152 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004816/0.8379, allocations: 399.3 kB / 1.152 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of SimCode: time 1.122e-06/0.8379, allocations: 4 kB / 1.152 GB, free: 9.641 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.09/3.927, allocations: 32.31 MB / 1.184 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/3.928, allocations: 294.5 kB / 1.184 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.891/6.819, allocations: 0 / 1.184 GB, free: 9.453 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_LimitedCapacity.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)