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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001019/0.001019, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001672/0.001672, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.247/1.247, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.48/2.48, allocations: 461.9 MB / 0.7342 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001393/0.001393, allocations: 64.72 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2788, allocations: 157.4 MB / 1.052 GB, free: 8.203 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05222/0.331, allocations: 60.85 MB / 1.112 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.3469, allocations: 12.06 MB / 1.123 GB, free: 15.04 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.3487, allocations: 55.62 kB / 1.123 GB, free: 14.99 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.3503, allocations: 0.5516 MB / 1.124 GB, free: 14.43 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004063/0.3545, allocations: 1.807 MB / 1.126 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.002389/0.3569, allocations: 1.066 MB / 1.127 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.003752/0.3606, allocations: 3.91 MB / 1.131 GB, free: 7.648 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/0.3619, allocations: 0.9238 MB / 1.132 GB, free: 6.695 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002119/0.3641, allocations: 1.155 MB / 1.133 GB, free: 5.535 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.3653, allocations: 0.9021 MB / 1.134 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0002004/0.3655, allocations: 56 kB / 1.134 GB, free: 4.574 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002324/0.3679, allocations: 1.341 MB / 1.135 GB, free: 3.23 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002726/0.3681, allocations: 230.9 kB / 1.135 GB, free: 3.004 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0009227/0.3691, allocations: 0.6372 MB / 1.136 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.3717, allocations: 2.228 MB / 1.138 GB, free: 132 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.3717, allocations: 0 / 1.138 GB, free: 132 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3717, allocations: 0 / 1.138 GB, free: 132 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.172e-05/0.3718, allocations: 0 / 1.138 GB, free: 132 kB / 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.002724/0.3745, allocations: 1.723 MB / 1.14 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.3745, allocations: 11.97 kB / 1.14 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001257/0.3747, allocations: 122.9 kB / 1.14 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.3767, allocations: 406.9 kB / 1.14 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.3785, allocations: 1.136 MB / 1.141 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/0.3788, allocations: 117.8 kB / 1.141 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001072/0.379, allocations: 87.94 kB / 1.141 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3808, allocations: 0.9778 MB / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.3808, allocations: 4 kB / 1.142 GB, free: 11.39 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.3809, allocations: 28 kB / 1.142 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3809, allocations: 20 kB / 1.142 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.383, allocations: 0.8704 MB / 1.143 GB, free: 10.46 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.005354/0.3884, allocations: 4.84 MB / 1.148 GB, free: 5.27 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.3916, allocations: 0.7881 MB / 1.149 GB, free: 4.469 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006653/0.3923, allocations: 305.8 kB / 1.149 GB, free: 4.168 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006105/0.3929, allocations: 0.9064 MB / 1.15 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.3929, allocations: 42.5 kB / 1.15 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=43): time 3.065e-06/0.3929, allocations: 3.984 kB / 1.15 GB, free: 3.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=43): time 0.007909/0.4009, allocations: 1.91 MB / 1.152 GB, free: 1.062 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.916e-05/0.4009, allocations: 59.36 kB / 1.152 GB, free: 0.9922 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00127/0.4022, allocations: 1.051 MB / 1.153 GB, free: 15.92 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.768e-05/0.4022, allocations: 37.7 kB / 1.153 GB, free: 15.88 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000356/0.4026, allocations: 0.5195 MB / 1.153 GB, free: 15.36 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.4027, allocations: 149.8 kB / 1.154 GB, free: 15.21 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001939/0.4029, allocations: 126.1 kB / 1.154 GB, free: 15.08 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.529e-05/0.403, allocations: 326 kB / 1.154 GB, free: 14.76 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008251/0.4038, allocations: 306.9 kB / 1.154 GB, free: 14.45 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009668/0.4048, allocations: 0.5064 MB / 1.155 GB, free: 13.86 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.4063, allocations: 0.6811 MB / 1.156 GB, free: 13.12 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.4064, allocations: 8 kB / 1.156 GB, free: 13.11 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002376/0.4087, allocations: 0.9887 MB / 1.156 GB, free: 12.11 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4088, allocations: 8 kB / 1.156 GB, free: 12.11 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.4088, allocations: 4 kB / 1.156 GB, free: 12.1 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001177/0.41, allocations: 313 kB / 1.157 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.4105, allocations: 123.8 kB / 1.157 GB, free: 11.67 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/0.4118, allocations: 0.9134 MB / 1.158 GB, free: 10.73 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.413, allocations: 179.2 kB / 1.158 GB, free: 10.56 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.236e-05/0.413, allocations: 27.98 kB / 1.158 GB, free: 10.53 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/0.4141, allocations: 0.501 MB / 1.158 GB, free: 10.03 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009346/0.415, allocations: 0.5139 MB / 1.159 GB, free: 9.426 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001468/0.4165, allocations: 0.6638 MB / 1.16 GB, free: 8.703 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.4165, allocations: 0 / 1.16 GB, free: 8.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002362/0.4189, allocations: 0.9969 MB / 1.161 GB, free: 7.695 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.064e-05/0.4189, allocations: 8 kB / 1.161 GB, free: 7.688 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.4189, allocations: 4 kB / 1.161 GB, free: 7.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000988/0.4199, allocations: 304.7 kB / 1.161 GB, free: 7.383 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.4204, allocations: 111.8 kB / 1.161 GB, free: 7.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001293/0.4217, allocations: 0.918 MB / 1.162 GB, free: 6.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.4228, allocations: 163.4 kB / 1.162 GB, free: 6.172 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.309e-05/0.4229, allocations: 31.98 kB / 1.162 GB, free: 6.141 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.0001734/0.4231, allocations: 230.9 kB / 1.162 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.4232, allocations: 106.7 kB / 1.162 GB, free: 5.805 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003422/0.4267, allocations: 1.09 MB / 1.163 GB, free: 4.695 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.167e-05/0.4267, allocations: 7.938 kB / 1.163 GB, free: 4.688 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.4267, allocations: 7.984 kB / 1.164 GB, free: 4.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4267, allocations: 4 kB / 1.164 GB, free: 4.676 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004523/0.4312, allocations: 2.156 MB / 1.166 GB, free: 2.438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.4313, allocations: 4 kB / 1.166 GB, free: 2.434 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.4315, allocations: 63.83 kB / 1.166 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009252/0.4325, allocations: 309.9 kB / 1.166 GB, free: 2.066 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.5e-05/0.4325, allocations: 19.98 kB / 1.166 GB, free: 2.047 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001337/0.4338, allocations: 0.9364 MB / 1.167 GB, free: 1.086 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4339, allocations: 7.938 kB / 1.167 GB, free: 1.078 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/0.4371, allocations: 1.159 MB / 1.168 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003108/0.4374, allocations: 263.4 kB / 1.168 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.4375, allocations: 12 kB / 1.168 GB, free: 15.58 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008369/0.4384, allocations: 99.83 kB / 1.168 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.682e-05/0.4385, allocations: 35.89 kB / 1.168 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.414e-05/0.4385, allocations: 23.98 kB / 1.168 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0009653/0.4395, allocations: 0.7428 MB / 1.169 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4395, allocations: 0 / 1.169 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001262/0.4408, allocations: 0.5497 MB / 1.17 GB, free: 14.12 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.004055/0.4448, allocations: 1.972 MB / 1.172 GB, free: 12.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.00277/0.4476, allocations: 1.094 MB / 1.173 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4476, allocations: 128 / 1.173 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008194/0.4484, allocations: 351 kB / 1.173 GB, free: 10.67 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/0.4506, allocations: 0.4899 MB / 1.174 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01693/0.4675, allocations: 8.947 MB / 1.182 GB, free: 0.793 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.4681, allocations: 1.058 MB / 1.183 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0008394/0.4689, allocations: 224.6 kB / 1.184 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000485/0.4694, allocations: 411.3 kB / 1.184 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of SimCode: time 4.31e-07/0.4694, allocations: 0 / 1.184 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.011/1.48, allocations: 31.94 MB / 1.215 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.481, allocations: 275 kB / 1.215 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/4.04, allocations: 4.062 kB / 1.215 GB, free: 15.2 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)