Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y",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.004186/0.004186, allocations: 102 kB / 15.73 MB, free: 6.062 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.001161/0.001161, allocations: 192 kB / 16.67 MB, free: 5.973 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.39/2.39, allocations: 437.1 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.89 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7527/0.7545, allocations: 151.6 MB / 1.166 GB, free: 3.77 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.07792/0.8325, allocations: 75.22 MB / 1.24 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02265/0.8552, allocations: 15.15 MB / 1.254 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003357/0.8586, allocations: 67.62 kB / 1.255 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.002684/0.8613, allocations: 0.8267 MB / 1.255 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.00725/0.8686, allocations: 2.591 MB / 1.258 GB, free: 5.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003353/0.872, allocations: 1.393 MB / 1.259 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.005835/0.8778, allocations: 4.408 MB / 1.264 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002153/0.88, allocations: 1.441 MB / 1.265 GB, free: 14.31 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003866/0.8839, allocations: 1.633 MB / 1.267 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002511/0.8864, allocations: 1.212 MB / 1.268 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003255/0.8867, allocations: 160 kB / 1.268 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003169/0.8899, allocations: 1.404 MB / 1.269 GB, free: 9.902 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.8903, allocations: 402.6 kB / 1.27 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001092/0.8914, allocations: 0.9138 MB / 1.27 GB, free: 8.59 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/0.8954, allocations: 2.861 MB / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8954, allocations: 0 / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.8954, allocations: 0 / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.73e-05/0.8954, allocations: 0 / 1.273 GB, free: 5.723 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003589/0.899, allocations: 2.135 MB / 1.275 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.8991, allocations: 12.92 kB / 1.275 GB, free: 3.504 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.8993, allocations: 152.1 kB / 1.276 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.9, allocations: 239.8 kB / 1.276 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.9024, allocations: 1.529 MB / 1.277 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/0.9025, allocations: 85.98 kB / 1.277 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.9026, allocations: 104 kB / 1.277 GB, free: 1.344 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/0.9045, allocations: 1.1 MB / 1.279 GB, free: 216 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.703e-05/0.9046, allocations: 4 kB / 1.279 GB, free: 212 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.739e-05/0.9047, allocations: 40 kB / 1.279 GB, free: 172 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.572e-05/0.9047, allocations: 31.98 kB / 1.279 GB, free: 140 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/0.9066, allocations: 0.89 MB / 1.279 GB, free: 15.24 MB / 1.014 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.005549/0.9121, allocations: 4.905 MB / 1.284 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.9136, allocations: 0.6275 MB / 1.285 GB, free: 9.418 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007067/0.9143, allocations: 350.8 kB / 1.285 GB, free: 9.074 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/0.9149, allocations: 0.8277 MB / 1.286 GB, free: 8.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.915, allocations: 47.11 kB / 1.286 GB, free: 8.008 MB / 1.014 GB Notification: Performance of pre-optimization done (n=61): time 1.994e-06/0.915, allocations: 0 / 1.286 GB, free: 8.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=61): time 0.007005/0.922, allocations: 1.69 MB / 1.288 GB, free: 6.293 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.16e-05/0.9221, allocations: 63.91 kB / 1.288 GB, free: 6.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.9236, allocations: 1.23 MB / 1.289 GB, free: 4.973 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.9237, allocations: 37.7 kB / 1.289 GB, free: 4.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/0.9242, allocations: 0.6191 MB / 1.29 GB, free: 4.305 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002022/0.9245, allocations: 222.1 kB / 1.29 GB, free: 4.086 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002367/0.9247, allocations: 158.6 kB / 1.29 GB, free: 3.926 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9249, allocations: 333.9 kB / 1.29 GB, free: 3.594 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006754/0.9255, allocations: 296.6 kB / 1.291 GB, free: 3.301 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000859/0.9264, allocations: 0.4966 MB / 1.291 GB, free: 2.727 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.9278, allocations: 0.7051 MB / 1.292 GB, free: 1.973 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.9279, allocations: 0 / 1.292 GB, free: 1.973 MB / 1.014 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00461/0.9325, allocations: 1.274 MB / 1.293 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.432e-05/0.9325, allocations: 14.28 kB / 1.293 GB, free: 0.6758 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.9325, allocations: 7.984 kB / 1.293 GB, free: 0.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006063/0.9331, allocations: 133.1 kB / 1.293 GB, free: 0.5352 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006155/0.9338, allocations: 163.8 kB / 1.293 GB, free: 384 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009146/0.9347, allocations: 0.6967 MB / 1.294 GB, free: 15.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00103/0.9357, allocations: 131.3 kB / 1.294 GB, free: 15.52 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.299e-05/0.9358, allocations: 35.98 kB / 1.294 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001119/0.9369, allocations: 0.5448 MB / 1.295 GB, free: 14.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000866/0.9378, allocations: 0.4929 MB / 1.295 GB, free: 14.37 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001438/0.9393, allocations: 0.7012 MB / 1.296 GB, free: 13.62 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.9393, allocations: 0 / 1.296 GB, free: 13.62 MB / 1.029 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004608/0.9439, allocations: 1.274 MB / 1.297 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9439, allocations: 11.98 kB / 1.297 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9439, allocations: 11.94 kB / 1.297 GB, free: 12.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004874/0.9444, allocations: 137.1 kB / 1.297 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005586/0.945, allocations: 155.8 kB / 1.297 GB, free: 12.02 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008235/0.9458, allocations: 0.7045 MB / 1.298 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.9468, allocations: 111.6 kB / 1.298 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.083e-05/0.9469, allocations: 28 kB / 1.298 GB, free: 11.15 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000262/0.9472, allocations: 228.1 kB / 1.298 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002282/0.9474, allocations: 135.2 kB / 1.299 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004577/0.952, allocations: 1.267 MB / 1.3 GB, free: 9.504 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/0.952, allocations: 8 kB / 1.3 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.952, allocations: 0 / 1.3 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004012/0.9561, allocations: 1.103 MB / 1.301 GB, free: 8.359 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006323/0.9624, allocations: 2.618 MB / 1.303 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.9624, allocations: 7.938 kB / 1.303 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004477/0.9629, allocations: 116.3 kB / 1.304 GB, free: 5.508 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004626/0.9633, allocations: 128.7 kB / 1.304 GB, free: 5.379 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.295e-05/0.9634, allocations: 16 kB / 1.304 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004984/0.9684, allocations: 2.641 MB / 1.306 GB, free: 2.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.9684, allocations: 7.938 kB / 1.306 GB, free: 2.562 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005235/0.9736, allocations: 1.7 MB / 1.308 GB, free: 0.7891 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005826/0.9742, allocations: 316 kB / 1.308 GB, free: 472 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/0.9745, allocations: 15.98 kB / 1.308 GB, free: 456 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.9753, allocations: 59.88 kB / 1.308 GB, free: 396 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.9755, allocations: 64.31 kB / 1.308 GB, free: 332 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.777e-05/0.9755, allocations: 31.97 kB / 1.308 GB, free: 300 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001395/0.9769, allocations: 0.8818 MB / 1.309 GB, free: 15.41 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.41e-07/0.977, allocations: 0 / 1.309 GB, free: 15.41 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.001936/0.9789, allocations: 0.7174 MB / 1.31 GB, free: 14.69 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006495/0.9854, allocations: 2.612 MB / 1.312 GB, free: 12.02 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002766/0.9882, allocations: 1.117 MB / 1.314 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.9882, allocations: 0 / 1.314 GB, free: 10.89 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001544/0.9898, allocations: 0.5686 MB / 1.314 GB, free: 10.32 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003849/0.9936, allocations: 0.7908 MB / 1.315 GB, free: 9.547 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02067/1.014, allocations: 9.86 MB / 1.325 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008726/1.015, allocations: 1.179 MB / 1.326 GB, free: 14.18 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.001077/1.016, allocations: 307 kB / 1.326 GB, free: 13.87 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007113/1.017, allocations: 0.5149 MB / 1.326 GB, free: 13.36 MB / 1.061 GB Notification: Performance of SimCode: time 7.82e-07/1.017, allocations: 0 / 1.326 GB, free: 13.36 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.11/6.127, allocations: 42.55 MB / 1.368 GB, free: 3.234 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.59/26.72, allocations: 19.67 kB / 1.368 GB, free: 3.215 MB / 1.092 GB (rm -f Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatPumps_Examples_Carnot_y.fmu > Buildings_10_Buildings.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)