Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D,fileNamePrefix="Buildings_latest_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.004979/0.004979, allocations: 99.91 kB / 15.73 MB, free: 6.496 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.001199/0.001199, allocations: 196.5 kB / 16.68 MB, free: 6.375 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.545/2.545, allocations: 469.4 MB / 0.7421 GB, free: 7.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001368, allocations: 67.89 kB / 1.064 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.283, allocations: 159.1 MB / 1.22 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D): time 0.6961/0.9792, allocations: 81.07 MB / 1.299 GB, free: 2.207 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.02935/1.009, allocations: 18.45 MB / 1.317 GB, free: 4.863 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/1.014, allocations: 96.72 kB / 1.317 GB, free: 4.832 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.004124/1.018, allocations: 1.329 MB / 1.318 GB, free: 4.086 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.009597/1.027, allocations: 2.987 MB / 1.321 GB, free: 2.309 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006152/1.034, allocations: 2.1 MB / 1.323 GB, free: 1.102 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.008719/1.042, allocations: 5.513 MB / 1.329 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004635/1.047, allocations: 2.535 MB / 1.331 GB, free: 13.06 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005574/1.053, allocations: 2.179 MB / 1.333 GB, free: 11.95 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003457/1.056, allocations: 1.697 MB / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001055/1.057, allocations: 294 kB / 1.335 GB, free: 11.12 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006307/1.063, allocations: 1.967 MB / 1.337 GB, free: 10.45 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001417/1.065, allocations: 0.7173 MB / 1.338 GB, free: 10 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003335/1.068, allocations: 1.454 MB / 1.339 GB, free: 9.016 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.009626/1.078, allocations: 5.037 MB / 1.344 GB, free: 7.176 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.078, allocations: 1.438 kB / 1.344 GB, free: 7.176 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.794e-06/1.078, allocations: 0 / 1.344 GB, free: 7.176 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000154/1.078, allocations: 0 / 1.344 GB, free: 7.176 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.008285/1.086, allocations: 3.165 MB / 1.347 GB, free: 5.098 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/1.086, allocations: 10.09 kB / 1.347 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005178/1.087, allocations: 226.6 kB / 1.348 GB, free: 4.945 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001529/1.088, allocations: 367.8 kB / 1.348 GB, free: 4.766 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/1.094, allocations: 2.501 MB / 1.35 GB, free: 2.883 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/1.094, allocations: 129.8 kB / 1.35 GB, free: 2.824 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003392/1.094, allocations: 168.2 kB / 1.351 GB, free: 2.77 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003624/1.098, allocations: 1.725 MB / 1.352 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/1.098, allocations: 1.375 kB / 1.352 GB, free: 1.695 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/1.098, allocations: 62.94 kB / 1.352 GB, free: 1.648 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.287e-05/1.098, allocations: 48.5 kB / 1.352 GB, free: 1.641 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002852/1.101, allocations: 1.254 MB / 1.354 GB, free: 1.008 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.01061/1.111, allocations: 7.389 MB / 1.361 GB, free: 10.71 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/1.113, allocations: 0.7381 MB / 1.362 GB, free: 10.28 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/1.114, allocations: 366.6 kB / 1.362 GB, free: 10.1 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009092/1.115, allocations: 1.15 MB / 1.363 GB, free: 8.746 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.115, allocations: 42 kB / 1.363 GB, free: 8.699 MB / 1.061 GB Notification: Performance of pre-optimization done (n=58): time 2.554e-06/1.115, allocations: 1.125 kB / 1.363 GB, free: 8.699 MB / 1.061 GB Notification: Performance of matching and sorting (n=58): time 0.002961/1.118, allocations: 1.044 MB / 1.364 GB, free: 8.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.118, allocations: 109.9 kB / 1.364 GB, free: 8.055 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/1.122, allocations: 2.022 MB / 1.366 GB, free: 6.957 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001075/1.122, allocations: 45.48 kB / 1.366 GB, free: 6.914 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.001132/1.123, allocations: 1.079 MB / 1.367 GB, free: 5.965 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002385/1.123, allocations: 207.6 kB / 1.368 GB, free: 5.785 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003478/1.124, allocations: 193.2 kB / 1.368 GB, free: 5.668 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.124, allocations: 334.1 kB / 1.368 GB, free: 5.344 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007401/1.125, allocations: 323.8 kB / 1.368 GB, free: 5.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001033/1.126, allocations: 0.6342 MB / 1.369 GB, free: 4.633 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/1.127, allocations: 0.8648 MB / 1.37 GB, free: 4.016 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.017e-05/1.127, allocations: 2.344 kB / 1.37 GB, free: 4.016 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002601/1.13, allocations: 1.088 MB / 1.371 GB, free: 3.465 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/1.13, allocations: 16.2 kB / 1.371 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.13, allocations: 6.031 kB / 1.371 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.13, allocations: 12.25 kB / 1.371 GB, free: 3.457 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007471/1.131, allocations: 209.2 kB / 1.371 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/1.131, allocations: 12.22 kB / 1.371 GB, free: 3.402 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/1.132, allocations: 163.4 kB / 1.371 GB, free: 3.301 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.679e-05/1.133, allocations: 42.45 kB / 1.371 GB, free: 3.289 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0015/1.134, allocations: 0.7604 MB / 1.372 GB, free: 2.84 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009958/1.135, allocations: 0.6373 MB / 1.373 GB, free: 2.285 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001549/1.137, allocations: 0.8529 MB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.362e-06/1.137, allocations: 2.156 kB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of matching and sorting (n=102) (initialization_lambda0): time 0.002465/1.139, allocations: 1.092 MB / 1.375 GB, free: 1.121 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.139, allocations: 7.938 kB / 1.375 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.139, allocations: 7.375 kB / 1.375 GB, free: 1.121 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/1.139, allocations: 14.62 kB / 1.375 GB, free: 1.117 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/1.14, allocations: 210.1 kB / 1.375 GB, free: 1.062 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/1.14, allocations: 14.94 kB / 1.375 GB, free: 1.059 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.142, allocations: 135.8 kB / 1.375 GB, free: 0.9844 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-05/1.142, allocations: 38.23 kB / 1.375 GB, free: 0.9766 MB / 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.0002945/1.142, allocations: 242.7 kB / 1.375 GB, free: 0.75 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006124/1.143, allocations: 204 kB / 1.375 GB, free: 0.6445 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002405/1.145, allocations: 1.024 MB / 1.376 GB, free: 68 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.383e-05/1.145, allocations: 9.906 kB / 1.376 GB, free: 64 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/1.145, allocations: 5.25 kB / 1.376 GB, free: 60 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001481/1.147, allocations: 0.7509 MB / 1.377 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005196/1.152, allocations: 2.829 MB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/1.152, allocations: 2.75 kB / 1.38 GB, free: 13.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005258/1.152, allocations: 134.1 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/1.152, allocations: 2.5 kB / 1.38 GB, free: 13.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/1.152, allocations: 21.58 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/1.152, allocations: 11.28 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.152, allocations: 2.031 kB / 1.38 GB, free: 13.56 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002658/1.155, allocations: 1.469 MB / 1.382 GB, free: 12.66 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007814/1.156, allocations: 380.1 kB / 1.382 GB, free: 12.34 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004291/1.156, allocations: 20.67 kB / 1.382 GB, free: 12.32 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001067/1.157, allocations: 61.41 kB / 1.382 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001457/1.158, allocations: 71.25 kB / 1.382 GB, free: 12.25 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.562e-05/1.158, allocations: 28.33 kB / 1.382 GB, free: 12.25 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.002286/1.16, allocations: 1.42 MB / 1.383 GB, free: 11.47 MB / 1.076 GB Notification: Performance of sort global known variables: time 3e-07/1.16, allocations: 0 / 1.383 GB, free: 11.47 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002992/1.163, allocations: 0.9812 MB / 1.384 GB, free: 11.21 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.004727/1.168, allocations: 2.711 MB / 1.387 GB, free: 9.496 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002733/1.17, allocations: 1.247 MB / 1.388 GB, free: 8.324 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/1.17, allocations: 320 / 1.388 GB, free: 8.324 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0008474/1.171, allocations: 415 kB / 1.389 GB, free: 7.922 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/1.175, allocations: 0.9452 MB / 1.39 GB, free: 6.996 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02383/1.199, allocations: 14.21 MB / 1.403 GB, free: 8.293 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.201, allocations: 1.51 MB / 1.405 GB, free: 6.75 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001658/1.202, allocations: 432.8 kB / 1.405 GB, free: 6.34 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/1.204, allocations: 0.9132 MB / 1.406 GB, free: 5.426 MB / 1.092 GB Notification: Performance of SimCode: time 9.52e-07/1.204, allocations: 4 kB / 1.406 GB, free: 5.422 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0937/1.297, allocations: 57.02 MB / 1.462 GB, free: 13 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12.62, allocations: 448 / 1.462 GB, free: 13 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_Validation_Comparative_TableData2D.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.Validation.Comparative.TableData2D.pipe 2>&1)