Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="Buildings_latest_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.001271/0.001271, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.628/2.628, allocations: 461.9 MB / 0.7346 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.25 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2397, allocations: 157.4 MB / 1.053 GB, free: 8.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05038/0.2901, allocations: 61.24 MB / 1.113 GB, free: 10.88 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0136/0.3037, allocations: 12 MB / 1.124 GB, free: 14.84 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001082/0.3049, allocations: 63.62 kB / 1.124 GB, free: 14.78 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001269/0.3062, allocations: 0.6752 MB / 1.125 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.003408/0.3096, allocations: 1.974 MB / 1.127 GB, free: 12.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.3117, allocations: 1.19 MB / 1.128 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.002497/0.3142, allocations: 3.093 MB / 1.131 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.3153, allocations: 1.116 MB / 1.132 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001933/0.3173, allocations: 1.33 MB / 1.134 GB, free: 5.359 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000864/0.3181, allocations: 0.91 MB / 1.135 GB, free: 4.445 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001504/0.3183, allocations: 120 kB / 1.135 GB, free: 4.328 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001977/0.3203, allocations: 1.447 MB / 1.136 GB, free: 2.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.3205, allocations: 298.8 kB / 1.136 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0005293/0.321, allocations: 0.6997 MB / 1.137 GB, free: 1.883 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.3231, allocations: 2.286 MB / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3231, allocations: 4 kB / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.062e-06/0.3231, allocations: 0 / 1.139 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.114e-05/0.3232, allocations: 0 / 1.139 GB, free: 15.59 MB / 0.9044 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.002412/0.3256, allocations: 1.738 MB / 1.141 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3256, allocations: 8.625 kB / 1.141 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000117/0.3257, allocations: 122.9 kB / 1.141 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002291/0.328, allocations: 458.8 kB / 1.142 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001621/0.3297, allocations: 1.116 MB / 1.143 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003299/0.33, allocations: 113.9 kB / 1.143 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3301, allocations: 84 kB / 1.143 GB, free: 11.84 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001847/0.332, allocations: 1.01 MB / 1.144 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.332, allocations: 3.938 kB / 1.144 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.351e-05/0.3321, allocations: 35.98 kB / 1.144 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.3321, allocations: 16 kB / 1.144 GB, free: 10.74 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002354/0.3345, allocations: 0.9485 MB / 1.145 GB, free: 9.793 MB / 0.9044 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.005003/0.3395, allocations: 4.711 MB / 1.149 GB, free: 4.73 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.3433, allocations: 1.016 MB / 1.15 GB, free: 3.707 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009845/0.3443, allocations: 409.9 kB / 1.151 GB, free: 3.301 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008048/0.3451, allocations: 1.017 MB / 1.152 GB, free: 2.062 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.3451, allocations: 46.94 kB / 1.152 GB, free: 2.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=53): time 3.206e-06/0.3452, allocations: 3.984 kB / 1.152 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=53): time 0.008956/0.3541, allocations: 2.232 MB / 1.154 GB, free: 15.75 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.3542, allocations: 59.78 kB / 1.154 GB, free: 15.68 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009937/0.3552, allocations: 0.9432 MB / 1.155 GB, free: 14.71 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 5.105e-05/0.3552, allocations: 37.7 kB / 1.155 GB, free: 14.67 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003391/0.3556, allocations: 0.504 MB / 1.155 GB, free: 14.16 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.000126/0.3557, allocations: 181.3 kB / 1.156 GB, free: 13.98 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002002/0.3559, allocations: 126.1 kB / 1.156 GB, free: 13.86 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.445e-05/0.356, allocations: 334 kB / 1.156 GB, free: 13.52 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009837/0.357, allocations: 358.8 kB / 1.156 GB, free: 13.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001092/0.3581, allocations: 0.5117 MB / 1.157 GB, free: 12.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00194/0.36, allocations: 0.7657 MB / 1.158 GB, free: 11.8 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3601, allocations: 4 kB / 1.158 GB, free: 11.79 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002692/0.3628, allocations: 1.072 MB / 1.159 GB, free: 10.71 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.3628, allocations: 7.938 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3628, allocations: 4 kB / 1.159 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.364, allocations: 320.7 kB / 1.159 GB, free: 10.38 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.3646, allocations: 135.8 kB / 1.159 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.366, allocations: 0.9057 MB / 1.16 GB, free: 9.316 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009064/0.3669, allocations: 135.3 kB / 1.16 GB, free: 9.184 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.768e-05/0.367, allocations: 27.98 kB / 1.16 GB, free: 9.156 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001267/0.3683, allocations: 0.5611 MB / 1.161 GB, free: 8.594 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00108/0.3694, allocations: 0.5194 MB / 1.161 GB, free: 8.008 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001912/0.3713, allocations: 0.7541 MB / 1.162 GB, free: 7.223 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.3713, allocations: 0 / 1.162 GB, free: 7.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002677/0.374, allocations: 1.057 MB / 1.163 GB, free: 6.152 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.374, allocations: 10.19 kB / 1.163 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/0.374, allocations: 0 / 1.163 GB, free: 6.145 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001005/0.375, allocations: 316.7 kB / 1.163 GB, free: 5.832 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.3756, allocations: 131.8 kB / 1.163 GB, free: 5.703 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.3769, allocations: 0.9066 MB / 1.164 GB, free: 4.773 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008942/0.3778, allocations: 115.6 kB / 1.164 GB, free: 4.66 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.473e-05/0.3779, allocations: 27.98 kB / 1.164 GB, free: 4.633 MB / 0.92 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.0001857/0.3781, allocations: 214.2 kB / 1.165 GB, free: 4.418 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001628/0.3782, allocations: 110.7 kB / 1.165 GB, free: 4.309 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004285/0.3825, allocations: 1.324 MB / 1.166 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.3826, allocations: 8 kB / 1.166 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3826, allocations: 0 / 1.166 GB, free: 2.969 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.3826, allocations: 7.922 kB / 1.166 GB, free: 2.961 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005533/0.3881, allocations: 2.412 MB / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3882, allocations: 0 / 1.168 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.3887, allocations: 112 kB / 1.169 GB, free: 372 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009594/0.3897, allocations: 304.5 kB / 1.169 GB, free: 64 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/0.3897, allocations: 15.98 kB / 1.169 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.3912, allocations: 0.9475 MB / 1.17 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.3912, allocations: 7.969 kB / 1.17 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004245/0.3955, allocations: 1.331 MB / 1.171 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.396, allocations: 283.5 kB / 1.171 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001782/0.3962, allocations: 15.92 kB / 1.171 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008413/0.397, allocations: 75.91 kB / 1.171 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.824e-05/0.3971, allocations: 40.39 kB / 1.172 GB, free: 13.26 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-05/0.3972, allocations: 23.98 kB / 1.172 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008745/0.3981, allocations: 0.6596 MB / 1.172 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.31e-07/0.3981, allocations: 0 / 1.172 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001355/0.3994, allocations: 0.5807 MB / 1.173 GB, free: 11.99 MB / 0.9356 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.005148/0.4046, allocations: 2.16 MB / 1.175 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003865/0.4085, allocations: 1.346 MB / 1.176 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.4085, allocations: 0 / 1.176 GB, free: 8.445 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.4097, allocations: 460.9 kB / 1.177 GB, free: 7.996 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002221/0.412, allocations: 495.8 kB / 1.177 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/0.4276, allocations: 8.734 MB / 1.186 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.4282, allocations: 1.066 MB / 1.187 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0009722/0.4292, allocations: 226.3 kB / 1.187 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005273/0.4298, allocations: 411.3 kB / 1.187 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of SimCode: time 5.91e-07/0.4298, allocations: 0 / 1.187 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.204/4.634, allocations: 32.98 MB / 1.219 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/16.24, allocations: 0 / 1.219 GB, free: 12.16 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)