Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D",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.003973/0.003973, allocations: 96.94 kB / 15.73 MB, free: 6.484 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.001185/0.001185, allocations: 192 kB / 16.67 MB, free: 6.391 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.257/1.257, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.531/2.531, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001693, allocations: 67.89 kB / 1.065 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2475, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.523/0.7705, allocations: 81.07 MB / 1.299 GB, free: 1.781 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02446/0.795, allocations: 18.44 MB / 1.317 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003233/0.7983, allocations: 97.72 kB / 1.318 GB, free: 4.418 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/0.8011, allocations: 1.304 MB / 1.319 GB, free: 3.684 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006617/0.8078, allocations: 2.85 MB / 1.322 GB, free: 1.977 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004586/0.8124, allocations: 2.086 MB / 1.324 GB, free: 0.7812 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.006501/0.8189, allocations: 5.514 MB / 1.329 GB, free: 14.01 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003065/0.8219, allocations: 2.532 MB / 1.331 GB, free: 12.73 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.8259, allocations: 2.145 MB / 1.334 GB, free: 11.63 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002052/0.8279, allocations: 1.688 MB / 1.335 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0003435/0.8283, allocations: 298.8 kB / 1.336 GB, free: 10.8 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.8321, allocations: 1.966 MB / 1.337 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0007085/0.8328, allocations: 0.7146 MB / 1.338 GB, free: 9.688 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.001438/0.8343, allocations: 1.453 MB / 1.34 GB, free: 8.703 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005945/0.8402, allocations: 5.055 MB / 1.344 GB, free: 6.844 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.8403, allocations: 1.438 kB / 1.344 GB, free: 6.844 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.322e-06/0.8403, allocations: 3.938 kB / 1.344 GB, free: 6.84 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.829e-05/0.8403, allocations: 0 / 1.344 GB, free: 6.84 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.00498/0.8453, allocations: 3.247 MB / 1.348 GB, free: 4.676 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.148e-05/0.8453, allocations: 9.406 kB / 1.348 GB, free: 4.676 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002522/0.8456, allocations: 231.1 kB / 1.348 GB, free: 4.508 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009613/0.8466, allocations: 377.7 kB / 1.348 GB, free: 4.32 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003586/0.8502, allocations: 2.537 MB / 1.351 GB, free: 2.406 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.8503, allocations: 126 kB / 1.351 GB, free: 2.352 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.8505, allocations: 172.2 kB / 1.351 GB, free: 2.293 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.8532, allocations: 1.721 MB / 1.353 GB, free: 1.223 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.304e-05/0.8533, allocations: 1.25 kB / 1.353 GB, free: 1.223 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.8534, allocations: 67.09 kB / 1.353 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.8534, allocations: 40.12 kB / 1.353 GB, free: 1.172 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002394/0.8558, allocations: 1.251 MB / 1.354 GB, free: 0.543 MB / 1.045 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.008271/0.8641, allocations: 7.403 MB / 1.361 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.8657, allocations: 0.7382 MB / 1.362 GB, free: 9.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006974/0.8664, allocations: 360.7 kB / 1.362 GB, free: 9.625 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008844/0.8673, allocations: 1.158 MB / 1.363 GB, free: 8.266 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.132e-05/0.8673, allocations: 42.58 kB / 1.363 GB, free: 8.219 MB / 1.061 GB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.8673, allocations: 0 / 1.363 GB, free: 8.219 MB / 1.061 GB Notification: Performance of matching and sorting (n=58): time 0.002424/0.8697, allocations: 1.05 MB / 1.364 GB, free: 7.695 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.141e-05/0.8698, allocations: 113.1 kB / 1.365 GB, free: 7.566 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002446/0.8723, allocations: 2.023 MB / 1.367 GB, free: 6.469 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 7.1e-05/0.8723, allocations: 44.83 kB / 1.367 GB, free: 6.426 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009485/0.8733, allocations: 1.093 MB / 1.368 GB, free: 5.465 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.8735, allocations: 221.4 kB / 1.368 GB, free: 5.273 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002723/0.8738, allocations: 192.1 kB / 1.368 GB, free: 5.156 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.8739, allocations: 337.8 kB / 1.368 GB, free: 4.828 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007045/0.8746, allocations: 321.8 kB / 1.369 GB, free: 4.668 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009785/0.8756, allocations: 0.6298 MB / 1.369 GB, free: 4.121 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001556/0.8772, allocations: 0.8724 MB / 1.37 GB, free: 3.492 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.8772, allocations: 2.219 kB / 1.37 GB, free: 3.492 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002082/0.8793, allocations: 1.105 MB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/0.8793, allocations: 8.562 kB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.8793, allocations: 5.406 kB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.957e-05/0.8794, allocations: 11.56 kB / 1.371 GB, free: 2.926 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007085/0.8801, allocations: 215.4 kB / 1.371 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.403e-05/0.8801, allocations: 10.06 kB / 1.372 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.8813, allocations: 164.9 kB / 1.372 GB, free: 2.766 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.311e-05/0.8813, allocations: 43.3 kB / 1.372 GB, free: 2.754 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001244/0.8826, allocations: 0.7633 MB / 1.372 GB, free: 2.301 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009576/0.8836, allocations: 0.6292 MB / 1.373 GB, free: 1.754 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001514/0.8851, allocations: 0.8614 MB / 1.374 GB, free: 1.141 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.427e-06/0.8851, allocations: 2.312 kB / 1.374 GB, free: 1.141 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002007/0.8871, allocations: 1.097 MB / 1.375 GB, free: 0.582 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.8871, allocations: 7.938 kB / 1.375 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.8871, allocations: 6.469 kB / 1.375 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.198e-06/0.8872, allocations: 10.88 kB / 1.375 GB, free: 0.582 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006775/0.8878, allocations: 214.1 kB / 1.375 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.8879, allocations: 14.94 kB / 1.375 GB, free: 0.5195 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00108/0.8889, allocations: 135.9 kB / 1.375 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.655e-05/0.889, allocations: 46.23 kB / 1.375 GB, free: 440 kB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 5 (heaPum.conHea.y,heaPum.eff.hys.y,$PRE.heaPum.eff.hys.y,heaPum.hys.y,$PRE.heaPum.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.8892, allocations: 237.8 kB / 1.376 GB, free: 212 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002862/0.8895, allocations: 213.6 kB / 1.376 GB, free: 96 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.8915, allocations: 1.013 MB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.8915, allocations: 6.906 kB / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8915, allocations: 0 / 1.377 GB, free: 15.52 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001424/0.893, allocations: 0.7594 MB / 1.378 GB, free: 15.07 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003967/0.897, allocations: 2.824 MB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.897, allocations: 6.969 kB / 1.38 GB, free: 13.07 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004987/0.8975, allocations: 135.5 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.8975, allocations: 5.594 kB / 1.38 GB, free: 13.03 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.185e-05/0.8975, allocations: 22.61 kB / 1.38 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.328e-06/0.8975, allocations: 13.25 kB / 1.38 GB, free: 13.01 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.8976, allocations: 7.25 kB / 1.381 GB, free: 13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.9, allocations: 1.482 MB / 1.382 GB, free: 12.09 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004953/0.9005, allocations: 396.3 kB / 1.382 GB, free: 11.75 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002104/0.9007, allocations: 20.33 kB / 1.382 GB, free: 11.74 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008302/0.9015, allocations: 64.58 kB / 1.382 GB, free: 11.71 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.9017, allocations: 67.7 kB / 1.382 GB, free: 11.67 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.358e-05/0.9017, allocations: 32.14 kB / 1.383 GB, free: 11.66 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001646/0.9034, allocations: 1.413 MB / 1.384 GB, free: 10.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9034, allocations: 0 / 1.384 GB, free: 10.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001931/0.9053, allocations: 0.9977 MB / 1.385 GB, free: 10.62 MB / 1.076 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: 2 (heaPum.hys.y,heaPum.eff.hys.y) * Number of discrete states: 2 (heaPum.eff.hys.y,heaPum.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0046/0.9099, allocations: 2.709 MB / 1.388 GB, free: 8.906 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002498/0.9124, allocations: 1.254 MB / 1.389 GB, free: 7.781 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.9125, allocations: 4 kB / 1.389 GB, free: 7.777 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008607/0.9133, allocations: 411.8 kB / 1.389 GB, free: 7.375 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00354/0.9169, allocations: 0.9295 MB / 1.39 GB, free: 6.461 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02058/0.9375, allocations: 14.29 MB / 1.404 GB, free: 7.664 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.9386, allocations: 1.514 MB / 1.405 GB, free: 6.117 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001398/0.94, allocations: 435 kB / 1.406 GB, free: 5.707 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.9412, allocations: 0.917 MB / 1.407 GB, free: 4.789 MB / 1.092 GB Notification: Performance of SimCode: time 5.82e-07/0.9412, allocations: 4 kB / 1.407 GB, free: 4.785 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.079/6.02, allocations: 57.02 MB / 1.462 GB, free: 12.34 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/20.88, allocations: 4 kB / 1.462 GB, free: 12.34 MB / 1.154 GB (rm -f Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D.fmu > Buildings_11_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1)