Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",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.001472/0.001471, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002657/0.002657, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 63.58 kB / 0.8987 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2622, allocations: 157.4 MB / 1.052 GB, free: 8.629 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05469/0.3169, allocations: 60.72 MB / 1.112 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3304, allocations: 11.91 MB / 1.123 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/0.3319, allocations: 55.62 kB / 1.123 GB, free: 15.7 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.3335, allocations: 0.5829 MB / 1.124 GB, free: 15.12 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004152/0.3377, allocations: 1.819 MB / 1.126 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00241/0.3401, allocations: 1.097 MB / 1.127 GB, free: 12.2 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003258/0.3434, allocations: 3.111 MB / 1.13 GB, free: 9.086 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001392/0.3448, allocations: 1.1 MB / 1.131 GB, free: 7.957 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002517/0.3473, allocations: 1.339 MB / 1.132 GB, free: 6.617 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.3486, allocations: 0.9256 MB / 1.133 GB, free: 5.688 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002403/0.3488, allocations: 116 kB / 1.133 GB, free: 5.574 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.351, allocations: 1.446 MB / 1.135 GB, free: 4.125 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0003039/0.3513, allocations: 294.8 kB / 1.135 GB, free: 3.836 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.00081/0.3521, allocations: 0.6959 MB / 1.136 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002579/0.3547, allocations: 2.275 MB / 1.138 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3547, allocations: 0 / 1.138 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3547, allocations: 4 kB / 1.138 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.664e-05/0.3548, allocations: 0 / 1.138 GB, free: 0.8516 MB / 0.8887 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.002908/0.3577, allocations: 1.728 MB / 1.14 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3577, allocations: 12.56 kB / 1.14 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001527/0.3579, allocations: 122.9 kB / 1.14 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002089/0.36, allocations: 402.8 kB / 1.14 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.3619, allocations: 1.12 MB / 1.141 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.3622, allocations: 125.9 kB / 1.141 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.3623, allocations: 76 kB / 1.141 GB, free: 13.15 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001834/0.3642, allocations: 0.9816 MB / 1.142 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3642, allocations: 4 kB / 1.142 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.408e-05/0.3643, allocations: 36 kB / 1.142 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.3643, allocations: 16 kB / 1.142 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.3664, allocations: 0.8626 MB / 1.143 GB, free: 11.21 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.005591/0.372, allocations: 4.843 MB / 1.148 GB, free: 6.012 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003209/0.3752, allocations: 0.8036 MB / 1.149 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006586/0.3759, allocations: 296.6 kB / 1.149 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005429/0.3764, allocations: 0.9064 MB / 1.15 GB, free: 3.793 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3765, allocations: 46.5 kB / 1.15 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 1.423e-06/0.3765, allocations: 0 / 1.15 GB, free: 3.738 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.00787/0.3844, allocations: 1.914 MB / 1.152 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.3844, allocations: 59.36 kB / 1.152 GB, free: 1.723 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/0.3857, allocations: 1.051 MB / 1.153 GB, free: 0.6562 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 5.241e-05/0.3858, allocations: 33.7 kB / 1.153 GB, free: 0.6172 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003543/0.3861, allocations: 0.5352 MB / 1.153 GB, free: 80 kB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3863, allocations: 146 kB / 1.154 GB, free: 15.93 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/0.3865, allocations: 126.1 kB / 1.154 GB, free: 15.8 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.174e-05/0.3866, allocations: 326 kB / 1.154 GB, free: 15.48 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.3874, allocations: 306.9 kB / 1.154 GB, free: 15.17 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009467/0.3883, allocations: 0.5025 MB / 1.155 GB, free: 14.58 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001483/0.3898, allocations: 0.6811 MB / 1.155 GB, free: 13.84 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/0.3899, allocations: 4 kB / 1.155 GB, free: 13.84 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002419/0.3923, allocations: 0.9927 MB / 1.156 GB, free: 12.84 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.3923, allocations: 8 kB / 1.156 GB, free: 12.83 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3923, allocations: 4 kB / 1.156 GB, free: 12.82 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001153/0.3935, allocations: 313 kB / 1.157 GB, free: 12.52 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004959/0.394, allocations: 127.8 kB / 1.157 GB, free: 12.39 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.3953, allocations: 0.8997 MB / 1.158 GB, free: 11.46 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001139/0.3965, allocations: 183.2 kB / 1.158 GB, free: 11.29 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.3965, allocations: 27.98 kB / 1.158 GB, free: 11.26 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/0.3976, allocations: 0.5049 MB / 1.158 GB, free: 10.75 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009532/0.3986, allocations: 0.5022 MB / 1.159 GB, free: 10.16 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001475/0.4, allocations: 0.6797 MB / 1.16 GB, free: 9.422 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.398e-06/0.4001, allocations: 0 / 1.16 GB, free: 9.422 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002371/0.4024, allocations: 0.9847 MB / 1.161 GB, free: 8.426 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 9.958e-06/0.4025, allocations: 12.09 kB / 1.161 GB, free: 8.414 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.4025, allocations: 4 kB / 1.161 GB, free: 8.41 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009799/0.4034, allocations: 311.3 kB / 1.161 GB, free: 8.105 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004839/0.4039, allocations: 119.8 kB / 1.161 GB, free: 7.988 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/0.4052, allocations: 0.9074 MB / 1.162 GB, free: 7.055 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001118/0.4063, allocations: 159.4 kB / 1.162 GB, free: 6.902 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/0.4064, allocations: 31.98 kB / 1.162 GB, free: 6.871 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0001684/0.4066, allocations: 223.9 kB / 1.162 GB, free: 6.645 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.4068, allocations: 110.7 kB / 1.162 GB, free: 6.535 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.4102, allocations: 1.094 MB / 1.163 GB, free: 5.422 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.4102, allocations: 11.94 kB / 1.163 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4102, allocations: 0 / 1.163 GB, free: 5.41 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.4102, allocations: 7.984 kB / 1.163 GB, free: 5.402 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004525/0.4148, allocations: 2.148 MB / 1.166 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4148, allocations: 0 / 1.166 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.4151, allocations: 63.89 kB / 1.166 GB, free: 3.109 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009005/0.416, allocations: 310 kB / 1.166 GB, free: 2.805 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.726e-05/0.416, allocations: 15.98 kB / 1.166 GB, free: 2.789 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001316/0.4173, allocations: 0.9444 MB / 1.167 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.4173, allocations: 0 / 1.167 GB, free: 1.82 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003231/0.4206, allocations: 1.163 MB / 1.168 GB, free: 0.6094 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000322/0.4209, allocations: 263.5 kB / 1.168 GB, free: 340 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.4211, allocations: 19.98 kB / 1.168 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008401/0.4219, allocations: 91.83 kB / 1.168 GB, free: 228 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.664e-05/0.422, allocations: 47.83 kB / 1.168 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.343e-05/0.422, allocations: 19.98 kB / 1.168 GB, free: 160 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001002/0.4231, allocations: 0.7351 MB / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3e-07/0.4231, allocations: 0 / 1.169 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001209/0.4243, allocations: 0.5575 MB / 1.17 GB, free: 14.85 MB / 0.9356 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004111/0.4284, allocations: 1.974 MB / 1.172 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002826/0.4312, allocations: 1.116 MB / 1.173 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.4313, allocations: 7.938 kB / 1.173 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008103/0.4321, allocations: 340.5 kB / 1.173 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001974/0.4341, allocations: 0.5106 MB / 1.173 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01661/0.4507, allocations: 8.934 MB / 1.182 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.4512, allocations: 1.065 MB / 1.183 GB, free: 424 kB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0007785/0.452, allocations: 224.6 kB / 1.183 GB, free: 196 kB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004772/0.4525, allocations: 407.4 kB / 1.184 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of SimCode: time 3.6e-07/0.4525, allocations: 3.938 kB / 1.184 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.615/2.067, allocations: 32.73 MB / 1.216 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003476/2.068, allocations: 284.2 kB / 1.216 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.199/5.266, allocations: 0 / 1.216 GB, free: 15.12 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)