Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",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.0009093/0.0009093, allocations: 98.27 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.005288/0.005288, allocations: 170.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.293/1.293, allocations: 223.3 MB / 240.3 MB, free: 5.352 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.327/2.327, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005025, allocations: 8 kB / 0.8729 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4875/0.488, allocations: 153.8 MB / 1.023 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.0463/0.5343, allocations: 59.78 MB / 1.082 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01256/0.5469, allocations: 11.92 MB / 1.093 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001266/0.5482, allocations: 51.62 kB / 1.093 GB, free: 7.887 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.5494, allocations: 0.5555 MB / 1.094 GB, free: 7.328 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003689/0.5531, allocations: 1.8 MB / 1.096 GB, free: 5.52 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.5552, allocations: 1.083 MB / 1.097 GB, free: 4.449 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003233/0.5585, allocations: 3.906 MB / 1.1 GB, free: 0.5312 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000961/0.5594, allocations: 0.9148 MB / 1.101 GB, free: 15.58 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.5608, allocations: 1.112 MB / 1.102 GB, free: 14.46 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008237/0.5617, allocations: 0.8709 MB / 1.103 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.02e-05/0.5618, allocations: 44 kB / 1.103 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001791/0.5636, allocations: 1.325 MB / 1.105 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001793/0.5637, allocations: 226.8 kB / 1.105 GB, free: 12 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000462/0.5642, allocations: 0.6272 MB / 1.105 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.5661, allocations: 2.204 MB / 1.108 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5661, allocations: 7.938 kB / 1.108 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.042e-06/0.5661, allocations: 0 / 1.108 GB, free: 9.141 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.5661, 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002197/0.5683, allocations: 1.501 MB / 1.109 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.5683, allocations: 8.031 kB / 1.109 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.5685, allocations: 126.9 kB / 1.109 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002283/0.5707, allocations: 0.5066 MB / 1.11 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001608/0.5724, allocations: 1.14 MB / 1.111 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003266/0.5727, allocations: 129.9 kB / 1.111 GB, free: 5.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.5728, allocations: 80 kB / 1.111 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.5747, allocations: 1.037 MB / 1.112 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.694e-05/0.5747, allocations: 4 kB / 1.112 GB, free: 4.457 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.432e-05/0.5748, allocations: 31.94 kB / 1.112 GB, free: 4.426 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.5748, allocations: 27.98 kB / 1.112 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002362/0.5772, allocations: 1.003 MB / 1.113 GB, free: 3.398 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.004932/0.5821, allocations: 4.727 MB / 1.118 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.586, allocations: 1.121 MB / 1.119 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001014/0.5871, allocations: 441.9 kB / 1.119 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000788/0.5879, allocations: 1.037 MB / 1.12 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.5879, allocations: 42.94 kB / 1.12 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=53): time 1.463e-06/0.5879, allocations: 0 / 1.12 GB, free: 11.45 MB / 0.8731 GB Notification: Performance of matching and sorting (n=53): time 0.009106/0.597, allocations: 2.498 MB / 1.123 GB, free: 8.914 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.597, allocations: 59.84 kB / 1.123 GB, free: 8.844 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009684/0.598, allocations: 0.9276 MB / 1.124 GB, free: 7.898 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 5.446e-05/0.5981, allocations: 45.7 kB / 1.124 GB, free: 7.848 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003304/0.5984, allocations: 0.5078 MB / 1.124 GB, free: 7.336 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001258/0.5986, allocations: 181.4 kB / 1.124 GB, free: 7.156 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.318e-05/0.5986, allocations: 49.69 kB / 1.124 GB, free: 7.102 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.98e-05/0.5987, allocations: 326 kB / 1.125 GB, free: 6.777 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009745/0.5997, allocations: 384.9 kB / 1.125 GB, free: 6.402 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/0.6008, allocations: 0.5429 MB / 1.126 GB, free: 5.797 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001933/0.6027, allocations: 0.8282 MB / 1.126 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.6028, allocations: 0 / 1.126 GB, free: 4.938 MB / 0.8731 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002635/0.6054, allocations: 1.142 MB / 1.127 GB, free: 3.781 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.6055, allocations: 168.4 kB / 1.128 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.6055, allocations: 0 / 1.128 GB, free: 3.582 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.6066, allocations: 328.6 kB / 1.128 GB, free: 3.258 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.6072, allocations: 147.8 kB / 1.128 GB, free: 3.113 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001316/0.6085, allocations: 0.9403 MB / 1.129 GB, free: 2.148 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009343/0.6095, allocations: 171.3 kB / 1.129 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.775e-05/0.6095, allocations: 31.92 kB / 1.129 GB, free: 1.949 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 7.324e-06/0.6096, allocations: 10.17 kB / 1.129 GB, free: 1.941 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002494/0.6121, allocations: 1.005 MB / 1.13 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.6121, allocations: 0 / 1.13 GB, free: 0.9297 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009964/0.6131, allocations: 324.9 kB / 1.13 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005802/0.6137, allocations: 143.8 kB / 1.131 GB, free: 480 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001276/0.615, allocations: 0.9325 MB / 1.132 GB, free: 15.51 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/0.6159, allocations: 175.4 kB / 1.132 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.6159, allocations: 27.98 kB / 1.132 GB, free: 15.31 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.00035/0.6163, allocations: 349 kB / 1.132 GB, free: 14.96 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.6164, allocations: 110.6 kB / 1.132 GB, free: 14.85 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004231/0.6207, allocations: 1.44 MB / 1.134 GB, free: 13.4 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.6207, allocations: 8 kB / 1.134 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6207, allocations: 7.922 kB / 1.134 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6207, allocations: 0 / 1.134 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005221/0.6259, allocations: 2.529 MB / 1.136 GB, free: 10.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.6259, allocations: 4 kB / 1.136 GB, free: 10.77 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005032/0.6265, allocations: 116 kB / 1.136 GB, free: 10.66 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009098/0.6274, allocations: 328.5 kB / 1.136 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.157e-05/0.6274, allocations: 19.98 kB / 1.137 GB, free: 10.32 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.6287, allocations: 0.966 MB / 1.137 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6287, allocations: 0 / 1.137 GB, free: 9.324 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003935/0.6327, allocations: 1.46 MB / 1.139 GB, free: 7.824 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003084/0.633, allocations: 287.4 kB / 1.139 GB, free: 7.523 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001075/0.6331, allocations: 12 kB / 1.139 GB, free: 7.512 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008669/0.634, allocations: 123.9 kB / 1.139 GB, free: 7.391 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.6341, allocations: 44.27 kB / 1.139 GB, free: 7.348 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.933e-05/0.6341, allocations: 27.97 kB / 1.139 GB, free: 7.32 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0007136/0.6348, allocations: 0.6557 MB / 1.14 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6349, allocations: 0 / 1.14 GB, free: 6.656 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001068/0.6359, allocations: 0.573 MB / 1.141 GB, free: 6.082 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.004713/0.6406, allocations: 2.283 MB / 1.143 GB, free: 3.762 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003337/0.644, allocations: 1.401 MB / 1.144 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.644, allocations: 0 / 1.144 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.001148/0.6452, allocations: 496.8 kB / 1.145 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002305/0.6475, allocations: 0.4912 MB / 1.145 GB, free: 1.395 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01595/0.6634, allocations: 9.296 MB / 1.154 GB, free: 7.727 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004959/0.6639, allocations: 1.07 MB / 1.155 GB, free: 6.629 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0007813/0.6647, allocations: 228.9 kB / 1.155 GB, free: 6.406 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.6652, allocations: 415.3 kB / 1.156 GB, free: 6 MB / 0.9044 GB Notification: Performance of SimCode: time 2.304e-06/0.6652, allocations: 0 / 1.156 GB, free: 6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.224/6.889, allocations: 31.63 MB / 1.187 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002449/6.889, allocations: 287.3 kB / 1.187 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.712/10.6, allocations: 0 / 1.187 GB, free: 6.473 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)