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.001557/0.001557, allocations: 92.42 kB / 19.7 MB, free: 2.137 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.002127/0.002127, allocations: 214.7 kB / 22.99 MB, free: 4.953 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.148/3.148, allocations: 0.505 GB / 0.8108 GB, free: 23.56 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.002021/0.002021, allocations: 75.31 kB / 1.178 GB, free: 16.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3759/0.3779, allocations: 180.2 MB / 1.354 GB, free: 7.375 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005522/0.3834, allocations: 3.429 MB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.00709/0.3905, allocations: 4.666 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004353/0.3909, allocations: 31.75 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.3928, allocations: 494.1 kB / 1.362 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002081/0.3948, allocations: 0.8488 MB / 1.363 GB, free: 13.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009186/0.3958, allocations: 423.3 kB / 1.364 GB, free: 13.47 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001508/0.3973, allocations: 1.275 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003523/0.3976, allocations: 146.3 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001094/0.3987, allocations: 0.6934 MB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3999, allocations: 0.8106 MB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001905/0.4001, allocations: 84 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003896/0.4005, allocations: 159.9 kB / 1.367 GB, free: 10.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001044/0.4016, allocations: 0.9037 MB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.4023, allocations: 0.6521 MB / 1.368 GB, free: 8.719 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002361/0.4046, allocations: 2.174 MB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.4047, allocations: 3.938 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4047, allocations: 3.938 kB / 1.37 GB, free: 6.527 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.923e-05/0.4047, allocations: 4 kB / 1.37 GB, free: 6.523 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.004145/0.4088, allocations: 2.275 MB / 1.373 GB, free: 4.207 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.4089, allocations: 12.03 kB / 1.373 GB, free: 4.195 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005005/0.4094, allocations: 231.4 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003877/0.4132, allocations: 1.93 MB / 1.375 GB, free: 1.984 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000362/0.4136, allocations: 326.4 kB / 1.375 GB, free: 1.617 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000193/0.4138, allocations: 75.98 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002651/0.4165, allocations: 1.429 MB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4165, allocations: 3.938 kB / 1.377 GB, free: 92 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.4166, allocations: 43.97 kB / 1.377 GB, free: 48 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/0.4166, allocations: 8 kB / 1.377 GB, free: 40 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002163/0.4188, allocations: 1.081 MB / 1.378 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/0.4235, allocations: 2.249 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/0.4255, allocations: 0.9678 MB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.4272, allocations: 0.8775 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.4272, allocations: 4 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/0.4272, allocations: 46.55 kB / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 3.227e-06/0.4273, allocations: 0 / 1.382 GB, free: 10.74 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008862/0.4361, allocations: 4.314 MB / 1.386 GB, free: 6.41 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.4362, allocations: 55.39 kB / 1.386 GB, free: 6.344 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003422/0.4396, allocations: 2.149 MB / 1.388 GB, free: 4.156 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002791/0.4399, allocations: 57.69 kB / 1.388 GB, free: 4.094 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007474/0.4406, allocations: 0.7441 MB / 1.389 GB, free: 3.344 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.4411, allocations: 416.4 kB / 1.389 GB, free: 2.934 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007497/0.4418, allocations: 397.4 kB / 1.39 GB, free: 2.539 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.442, allocations: 305.1 kB / 1.39 GB, free: 2.238 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.4443, allocations: 1.353 MB / 1.391 GB, free: 0.8867 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002398/0.4467, allocations: 1.537 MB / 1.393 GB, free: 15.29 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.4514, allocations: 2.877 MB / 1.396 GB, free: 12.36 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.4514, allocations: 4 kB / 1.396 GB, free: 12.36 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008197/0.4596, allocations: 4.321 MB / 1.4 GB, free: 8.02 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.503e-05/0.4597, allocations: 11.94 kB / 1.4 GB, free: 8.008 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.4597, allocations: 4 kB / 1.4 GB, free: 8.004 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005129/0.4648, allocations: 3.737 MB / 1.403 GB, free: 4.254 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002519/0.4651, allocations: 51.84 kB / 1.404 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.4732, allocations: 5.696 MB / 1.409 GB, free: 14.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.4746, allocations: 198.5 kB / 1.409 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003008/0.4749, allocations: 187.9 kB / 1.409 GB, free: 14.02 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.000954/0.4758, allocations: 0.4976 MB / 1.41 GB, free: 13.51 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000529/0.4764, allocations: 238.4 kB / 1.41 GB, free: 13.28 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002273/0.4766, allocations: 156.6 kB / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.4766, allocations: 0 / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4766, allocations: 0 / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4766, allocations: 3.984 kB / 1.41 GB, free: 13.11 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.4776, allocations: 0.7664 MB / 1.411 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.4776, allocations: 0 / 1.411 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001208/0.4778, allocations: 11.98 kB / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004786/0.4825, allocations: 3.711 MB / 1.415 GB, free: 8.574 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001423/0.4827, allocations: 63.95 kB / 1.415 GB, free: 8.512 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007844/0.4905, allocations: 5.688 MB / 1.42 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/0.4905, allocations: 3.938 kB / 1.42 GB, free: 2.715 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006338/0.4969, allocations: 3.341 MB / 1.424 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000475/0.4974, allocations: 178.5 kB / 1.424 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002752/0.4976, allocations: 31.91 kB / 1.424 GB, free: 15.13 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006248/0.4983, allocations: 43.97 kB / 1.424 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.4985, allocations: 119.8 kB / 1.424 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.4987, allocations: 128 kB / 1.424 GB, free: 14.85 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002062/0.5008, allocations: 1.437 MB / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.5008, allocations: 0 / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001251/0.502, allocations: 431.6 kB / 1.426 GB, free: 12.97 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.001149/0.5032, allocations: 333 kB / 1.426 GB, free: 12.73 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01056/0.5137, allocations: 7.264 MB / 1.433 GB, free: 5.359 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.5137, allocations: 4 kB / 1.433 GB, free: 5.355 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00839/0.5221, allocations: 5.832 MB / 1.439 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00201/0.5241, allocations: 375.3 kB / 1.439 GB, free: 15.05 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: 6.948419746011496] Failed to read output from testmodel.py, exit status != 0: 0.5395459670107812 0.554237949 0.146309987 Calling exit ...