Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL",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.001014/0.001014, allocations: 98.03 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.007861/0.007861, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.314/1.314, allocations: 223.3 MB / 240.3 MB, free: 5.344 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.496/2.496, allocations: 437.8 MB / 0.7121 GB, free: 7.039 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 12 kB / 0.8729 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5197/0.52, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05273/0.5727, allocations: 59.8 MB / 1.082 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01438/0.5872, allocations: 11.92 MB / 1.093 GB, free: 7.953 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001103/0.5883, allocations: 51.62 kB / 1.093 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001253/0.5896, allocations: 0.5477 MB / 1.094 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003585/0.5931, allocations: 1.804 MB / 1.096 GB, free: 5.543 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002187/0.5953, allocations: 1.082 MB / 1.097 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003551/0.5989, allocations: 3.906 MB / 1.1 GB, free: 0.5508 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001102/0.6, allocations: 0.8963 MB / 1.101 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.6017, allocations: 1.12 MB / 1.102 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.6027, allocations: 0.8514 MB / 1.103 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.672e-05/0.6028, allocations: 44 kB / 1.103 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002121/0.6049, allocations: 1.345 MB / 1.105 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000203/0.6051, allocations: 218.9 kB / 1.105 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0005355/0.6057, allocations: 0.6311 MB / 1.105 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.6079, allocations: 2.2 MB / 1.108 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.6079, allocations: 0 / 1.108 GB, free: 9.188 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6079, allocations: 4 kB / 1.108 GB, free: 9.184 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.6079, allocations: 0 / 1.108 GB, free: 9.184 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.002398/0.6103, allocations: 1.481 MB / 1.109 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.6104, allocations: 8.031 kB / 1.109 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001362/0.6105, allocations: 130.9 kB / 1.109 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002157/0.6127, allocations: 470.8 kB / 1.11 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.6145, allocations: 1.14 MB / 1.111 GB, free: 5.844 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003609/0.6149, allocations: 129.9 kB / 1.111 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001235/0.615, allocations: 84 kB / 1.111 GB, free: 5.637 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00195/0.617, allocations: 1.001 MB / 1.112 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.617, allocations: 0 / 1.112 GB, free: 4.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.881e-05/0.6171, allocations: 32 kB / 1.112 GB, free: 4.559 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.6171, allocations: 16 kB / 1.112 GB, free: 4.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.6194, allocations: 0.9328 MB / 1.113 GB, free: 3.613 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.005767/0.6252, allocations: 4.902 MB / 1.118 GB, free: 14.35 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003484/0.6287, allocations: 0.8984 MB / 1.118 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/0.6295, allocations: 316.7 kB / 1.119 GB, free: 13.13 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.6301, allocations: 0.918 MB / 1.12 GB, free: 12.01 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/0.6301, allocations: 42.44 kB / 1.12 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=44): time 1.603e-06/0.6301, allocations: 0 / 1.12 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44): time 0.00889/0.639, allocations: 2.172 MB / 1.122 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6391, allocations: 55.41 kB / 1.122 GB, free: 9.691 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.6405, allocations: 1.059 MB / 1.123 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.987e-05/0.6405, allocations: 33.7 kB / 1.123 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003933/0.6409, allocations: 0.5158 MB / 1.123 GB, free: 8.059 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001226/0.6411, allocations: 157.8 kB / 1.124 GB, free: 7.902 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.496e-05/0.6411, allocations: 41.7 kB / 1.124 GB, free: 7.855 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.6413, allocations: 337.9 kB / 1.124 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009178/0.6422, allocations: 324.9 kB / 1.124 GB, free: 7.203 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001062/0.6432, allocations: 0.5333 MB / 1.125 GB, free: 6.586 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00169/0.6449, allocations: 0.7289 MB / 1.125 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.645, allocations: 0 / 1.125 GB, free: 5.801 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002632/0.6476, allocations: 1.055 MB / 1.127 GB, free: 4.734 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.6477, allocations: 208.8 kB / 1.127 GB, free: 4.473 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.6477, allocations: 8 kB / 1.127 GB, free: 4.465 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.649, allocations: 324.6 kB / 1.127 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.6496, allocations: 135.8 kB / 1.127 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/0.651, allocations: 0.937 MB / 1.128 GB, free: 3.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.6522, allocations: 195.3 kB / 1.128 GB, free: 2.859 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.501e-05/0.6523, allocations: 31.98 kB / 1.128 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.873e-06/0.6523, allocations: 5.875 kB / 1.128 GB, free: 2.824 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002435/0.6548, allocations: 0.9254 MB / 1.129 GB, free: 1.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.6548, allocations: 4 kB / 1.129 GB, free: 1.891 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.6559, allocations: 328.7 kB / 1.13 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.6564, allocations: 123.8 kB / 1.13 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001398/0.6578, allocations: 0.9435 MB / 1.131 GB, free: 488 kB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6588, allocations: 171.3 kB / 1.131 GB, free: 316 kB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.6589, allocations: 31.98 kB / 1.131 GB, free: 284 kB / 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.0004028/0.6593, allocations: 349 kB / 1.131 GB, free: 15.92 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.6594, allocations: 106.7 kB / 1.131 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003925/0.6634, allocations: 1.209 MB / 1.132 GB, free: 14.59 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.6634, allocations: 8 kB / 1.132 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6634, allocations: 3.938 kB / 1.132 GB, free: 14.58 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.553e-05/0.6634, allocations: 11.92 kB / 1.132 GB, free: 14.57 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005119/0.6686, allocations: 2.292 MB / 1.135 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/0.6686, allocations: 4 kB / 1.135 GB, free: 12.19 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002835/0.6689, allocations: 72.17 kB / 1.135 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001014/0.6699, allocations: 324.6 kB / 1.135 GB, free: 11.8 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.589e-05/0.6699, allocations: 19.98 kB / 1.135 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001446/0.6714, allocations: 0.9737 MB / 1.136 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6714, allocations: 0 / 1.136 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00373/0.6751, allocations: 1.29 MB / 1.137 GB, free: 9.441 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.6755, allocations: 283.4 kB / 1.138 GB, free: 9.145 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001205/0.6756, allocations: 11.98 kB / 1.138 GB, free: 9.133 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/0.6765, allocations: 111.9 kB / 1.138 GB, free: 9.023 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.6766, allocations: 43.83 kB / 1.138 GB, free: 8.98 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.741e-05/0.6767, allocations: 23.98 kB / 1.138 GB, free: 8.957 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001035/0.6777, allocations: 0.7428 MB / 1.138 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6777, allocations: 0 / 1.138 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001309/0.679, allocations: 0.5652 MB / 1.139 GB, free: 7.641 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 (34): * Single equations (assignments): 29 * 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.004622/0.6837, allocations: 2.113 MB / 1.141 GB, free: 5.48 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003065/0.6868, allocations: 1.173 MB / 1.142 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6868, allocations: 0 / 1.142 GB, free: 4.312 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0009086/0.6877, allocations: 375.1 kB / 1.143 GB, free: 3.945 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002633/0.6903, allocations: 0.5038 MB / 1.143 GB, free: 3.449 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01829/0.7086, allocations: 9.229 MB / 1.152 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005911/0.7092, allocations: 1.065 MB / 1.153 GB, free: 8.684 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0008404/0.7101, allocations: 216.7 kB / 1.153 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.7106, allocations: 411.3 kB / 1.154 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of SimCode: time 4.6e-07/0.7106, allocations: 0 / 1.154 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.453/2.164, allocations: 32.29 MB / 1.185 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/2.164, allocations: 286.9 kB / 1.185 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.463/5.627, allocations: 0 / 1.185 GB, free: 7.852 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_etaPL.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)