Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001793/0.001793, allocations: 99.5 kB / 16.45 MB, free: 6.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002594/0.002594, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.579/1.579, allocations: 230.6 MB / 252.8 MB, free: 9.137 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.46/3.46, allocations: 0.5049 GB / 0.8065 GB, free: 23.12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002345/0.002345, allocations: 69.86 kB / 1.172 GB, free: 17.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4713/0.4737, allocations: 180.2 MB / 1.348 GB, free: 9.402 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.007414/0.4811, allocations: 3.729 MB / 1.352 GB, free: 5.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00881/0.4899, allocations: 4.851 MB / 1.357 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/0.4905, allocations: 31.75 kB / 1.357 GB, free: 0.7539 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.4924, allocations: 0.4941 MB / 1.357 GB, free: 264 kB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.4945, allocations: 0.8215 MB / 1.358 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008794/0.4954, allocations: 415.3 kB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001814/0.4972, allocations: 1.279 MB / 1.36 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003681/0.4975, allocations: 138 kB / 1.36 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.499, allocations: 0.6972 MB / 1.36 GB, free: 12.89 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001194/0.5002, allocations: 0.8175 MB / 1.361 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.5004, allocations: 80 kB / 1.361 GB, free: 12 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.5009, allocations: 163.9 kB / 1.361 GB, free: 11.84 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000964/0.5018, allocations: 0.8997 MB / 1.362 GB, free: 10.93 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008034/0.5026, allocations: 0.8189 MB / 1.363 GB, free: 10.11 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002558/0.5052, allocations: 2.158 MB / 1.365 GB, free: 7.941 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5052, allocations: 4 kB / 1.365 GB, free: 7.938 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.555e-06/0.5052, allocations: 0 / 1.365 GB, free: 7.938 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.657e-05/0.5052, allocations: 0 / 1.365 GB, free: 7.938 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.00469/0.5099, allocations: 2.35 MB / 1.368 GB, free: 5.527 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.51, allocations: 19.98 kB / 1.368 GB, free: 5.508 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005471/0.5105, allocations: 231.4 kB / 1.368 GB, free: 5.281 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003477/0.514, allocations: 1.994 MB / 1.37 GB, free: 3.238 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002607/0.5143, allocations: 223.5 kB / 1.37 GB, free: 2.996 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001808/0.5144, allocations: 75.98 kB / 1.37 GB, free: 2.922 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002798/0.5172, allocations: 1.437 MB / 1.371 GB, free: 1.465 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5172, allocations: 0 / 1.371 GB, free: 1.465 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001076/0.5174, allocations: 32 kB / 1.371 GB, free: 1.434 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.5174, allocations: 4 kB / 1.371 GB, free: 1.43 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002184/0.5196, allocations: 1.089 MB / 1.372 GB, free: 352 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005162/0.5247, allocations: 2.725 MB / 1.375 GB, free: 13.55 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.5268, allocations: 0.96 MB / 1.376 GB, free: 12.58 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001703/0.5285, allocations: 0.8853 MB / 1.377 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.5285, allocations: 0 / 1.377 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.5286, allocations: 38.56 kB / 1.377 GB, free: 11.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.605e-06/0.5286, allocations: 0 / 1.377 GB, free: 11.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.009516/0.5381, allocations: 4.629 MB / 1.382 GB, free: 6.926 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.657e-05/0.5381, allocations: 55.41 kB / 1.382 GB, free: 6.859 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003642/0.5418, allocations: 2.261 MB / 1.384 GB, free: 4.562 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/0.542, allocations: 49.69 kB / 1.384 GB, free: 4.508 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007285/0.5427, allocations: 0.7371 MB / 1.385 GB, free: 3.766 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000476/0.5432, allocations: 420.4 kB / 1.385 GB, free: 3.352 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006738/0.5439, allocations: 389.4 kB / 1.385 GB, free: 2.965 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5441, allocations: 305.1 kB / 1.386 GB, free: 2.664 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002446/0.5465, allocations: 1.357 MB / 1.387 GB, free: 1.309 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.549, allocations: 1.533 MB / 1.388 GB, free: 15.72 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004904/0.5539, allocations: 2.879 MB / 1.391 GB, free: 12.79 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.674e-06/0.554, allocations: 0 / 1.391 GB, free: 12.79 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008378/0.5623, allocations: 4.343 MB / 1.395 GB, free: 8.426 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.5624, allocations: 8 kB / 1.395 GB, free: 8.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.016e-05/0.5624, allocations: 4.188 kB / 1.395 GB, free: 8.414 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00517/0.5676, allocations: 3.75 MB / 1.399 GB, free: 4.648 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000251/0.5678, allocations: 55.84 kB / 1.399 GB, free: 4.594 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008551/0.5764, allocations: 5.7 MB / 1.405 GB, free: 14.79 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.5779, allocations: 218.2 kB / 1.405 GB, free: 14.57 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003049/0.5782, allocations: 183.9 kB / 1.405 GB, free: 14.39 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (hpSupLvg.coo_internal,chiRetEnt.coo_internal,chiSupLvg.coo_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 20 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,2), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.000992/0.5792, allocations: 493.3 kB / 1.406 GB, free: 13.9 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005447/0.5797, allocations: 258.4 kB / 1.406 GB, free: 13.65 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.5799, allocations: 157.8 kB / 1.406 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.5799, allocations: 0 / 1.406 GB, free: 13.49 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.58, allocations: 4 kB / 1.406 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.58, allocations: 192 / 1.406 GB, free: 13.48 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.5814, allocations: 1.102 MB / 1.407 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.5814, allocations: 3.984 kB / 1.407 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.5815, allocations: 11.98 kB / 1.407 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005398/0.5869, allocations: 3.736 MB / 1.411 GB, free: 8.562 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001772/0.5871, allocations: 75.88 kB / 1.411 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008271/0.5953, allocations: 5.692 MB / 1.416 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.5953, allocations: 0 / 1.416 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006938/0.6023, allocations: 3.353 MB / 1.42 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006345/0.6029, allocations: 271.5 kB / 1.42 GB, free: 15.02 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002877/0.6032, allocations: 20 kB / 1.42 GB, free: 15 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006634/0.6039, allocations: 51.95 kB / 1.42 GB, free: 14.95 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.6042, allocations: 111.8 kB / 1.42 GB, free: 14.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/0.6044, allocations: 135.9 kB / 1.42 GB, free: 14.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002317/0.6067, allocations: 1.511 MB / 1.422 GB, free: 13.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.6067, allocations: 4 kB / 1.422 GB, free: 13.17 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001457/0.6081, allocations: 419.8 kB / 1.422 GB, free: 12.76 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,2), (1,3), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001172/0.6093, allocations: 312.6 kB / 1.422 GB, free: 12.52 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01115/0.6205, allocations: 7.273 MB / 1.43 GB, free: 5.148 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.6205, allocations: 0 / 1.43 GB, free: 5.148 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008066/0.6285, allocations: 5.829 MB / 1.435 GB, free: 15.22 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.6307, allocations: 395.4 kB / 1.436 GB, free: 14.84 MB / 1.139 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 7.896059869322926] Failed to read output from testmodel.py, exit status != 0: 0.6469418639317155 0.659606216 0.15124386899999995 Calling exit ...