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.001439/0.001439, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001526/0.001526, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.397/3.397, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002111/0.002111, allocations: 71.53 kB / 1.187 GB, free: 13.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3762, allocations: 181.9 MB / 1.365 GB, free: 13.56 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005962/0.3821, allocations: 3.421 MB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007687/0.3898, allocations: 4.677 MB / 1.373 GB, free: 5.418 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006659/0.3905, allocations: 27.75 kB / 1.373 GB, free: 5.391 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.3926, allocations: 0.498 MB / 1.373 GB, free: 4.891 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002377/0.395, allocations: 0.8411 MB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009809/0.396, allocations: 407.4 kB / 1.374 GB, free: 3.648 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3977, allocations: 1.279 MB / 1.376 GB, free: 2.367 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.398, allocations: 130.4 kB / 1.376 GB, free: 2.223 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.3992, allocations: 0.7011 MB / 1.376 GB, free: 1.52 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001174/0.4004, allocations: 0.7746 MB / 1.377 GB, free: 0.7422 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001976/0.4006, allocations: 80 kB / 1.377 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004124/0.401, allocations: 159.9 kB / 1.377 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009896/0.402, allocations: 0.888 MB / 1.378 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.4026, allocations: 0.6444 MB / 1.379 GB, free: 14.97 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002363/0.405, allocations: 2.182 MB / 1.381 GB, free: 12.78 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.405, allocations: 0 / 1.381 GB, free: 12.78 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.254e-06/0.405, allocations: 0 / 1.381 GB, free: 12.78 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.521e-05/0.405, allocations: 0 / 1.381 GB, free: 12.78 MB / 1.076 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.003903/0.4089, allocations: 2.283 MB / 1.383 GB, free: 10.45 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.409, allocations: 8.031 kB / 1.383 GB, free: 10.45 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004521/0.4094, allocations: 239.4 kB / 1.383 GB, free: 10.21 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003708/0.4131, allocations: 1.922 MB / 1.385 GB, free: 8.234 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000337/0.4135, allocations: 334.3 kB / 1.386 GB, free: 7.859 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001545/0.4136, allocations: 72 kB / 1.386 GB, free: 7.789 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002523/0.4161, allocations: 1.429 MB / 1.387 GB, free: 6.34 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4162, allocations: 8 kB / 1.387 GB, free: 6.332 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.4163, allocations: 35.97 kB / 1.387 GB, free: 6.297 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.4163, allocations: 8 kB / 1.387 GB, free: 6.289 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.4183, allocations: 1.081 MB / 1.388 GB, free: 5.211 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0042/0.4225, allocations: 2.261 MB / 1.39 GB, free: 2.902 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001964/0.4245, allocations: 0.96 MB / 1.391 GB, free: 1.934 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/0.4261, allocations: 0.8853 MB / 1.392 GB, free: 1.047 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.4262, allocations: 4 kB / 1.392 GB, free: 1.043 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.887e-05/0.4262, allocations: 30.56 kB / 1.392 GB, free: 1.004 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.955e-06/0.4262, allocations: 0 / 1.392 GB, free: 1.004 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.00848/0.4347, allocations: 4.314 MB / 1.396 GB, free: 12.67 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.4347, allocations: 55.41 kB / 1.397 GB, free: 12.61 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003026/0.4377, allocations: 2.149 MB / 1.399 GB, free: 10.42 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.4379, allocations: 57.62 kB / 1.399 GB, free: 10.36 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007111/0.4386, allocations: 0.7518 MB / 1.399 GB, free: 9.598 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/0.439, allocations: 412.4 kB / 1.4 GB, free: 9.191 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005904/0.4396, allocations: 397.4 kB / 1.4 GB, free: 8.797 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4397, allocations: 301.1 kB / 1.4 GB, free: 8.5 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002339/0.4421, allocations: 1.361 MB / 1.402 GB, free: 7.141 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.4445, allocations: 1.529 MB / 1.403 GB, free: 5.559 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004793/0.4493, allocations: 2.885 MB / 1.406 GB, free: 2.621 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.146e-05/0.4493, allocations: 4 kB / 1.406 GB, free: 2.617 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007914/0.4572, allocations: 4.329 MB / 1.41 GB, free: 14.27 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.541e-05/0.4573, allocations: 4 kB / 1.41 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.775e-05/0.4573, allocations: 4 kB / 1.41 GB, free: 14.26 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005031/0.4623, allocations: 3.734 MB / 1.414 GB, free: 10.51 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.4625, allocations: 59.84 kB / 1.414 GB, free: 10.45 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008008/0.4705, allocations: 5.692 MB / 1.42 GB, free: 4.656 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4718, allocations: 210.7 kB / 1.42 GB, free: 4.449 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/0.4721, allocations: 179.9 kB / 1.42 GB, free: 4.273 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.0009023/0.473, allocations: 0.4902 MB / 1.42 GB, free: 3.773 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004671/0.4734, allocations: 238.5 kB / 1.421 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002099/0.4736, allocations: 152.6 kB / 1.421 GB, free: 3.383 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.4736, allocations: 4 kB / 1.421 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.4736, allocations: 0 / 1.421 GB, free: 3.379 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4736, allocations: 4 kB / 1.421 GB, free: 3.375 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.4747, allocations: 0.7664 MB / 1.422 GB, free: 2.574 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.4747, allocations: 0 / 1.422 GB, free: 2.574 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4748, allocations: 19.98 kB / 1.422 GB, free: 2.555 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004934/0.4797, allocations: 3.711 MB / 1.425 GB, free: 14.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/0.4799, allocations: 55.95 kB / 1.425 GB, free: 14.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007923/0.4878, allocations: 5.688 MB / 1.431 GB, free: 8.98 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.4878, allocations: 3.938 kB / 1.431 GB, free: 8.977 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/0.4941, allocations: 3.349 MB / 1.434 GB, free: 5.59 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.4946, allocations: 178.5 kB / 1.434 GB, free: 5.414 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002571/0.4948, allocations: 24 kB / 1.434 GB, free: 5.391 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006118/0.4954, allocations: 51.95 kB / 1.434 GB, free: 5.34 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.4957, allocations: 115.8 kB / 1.434 GB, free: 5.227 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001853/0.4959, allocations: 135.9 kB / 1.435 GB, free: 5.094 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002084/0.498, allocations: 1.43 MB / 1.436 GB, free: 3.645 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.498, allocations: 192 / 1.436 GB, free: 3.645 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001182/0.4991, allocations: 447.5 kB / 1.436 GB, free: 3.207 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.001113/0.5003, allocations: 320.6 kB / 1.437 GB, free: 2.98 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.5106, allocations: 7.267 MB / 1.444 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.5106, allocations: 192 / 1.444 GB, free: 11.61 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007629/0.5182, allocations: 5.832 MB / 1.449 GB, free: 5.68 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001831/0.5201, allocations: 373.8 kB / 1.45 GB, free: 5.316 MB / 1.139 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823: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.344779330771416] Failed to read output from testmodel.py, exit status != 0: 0.5352959572337568 0.5501366879999999 0.141855954 Calling exit ...