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.001415/0.001415, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001787/0.001787, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.505/1.505, allocations: 230.6 MB / 256 MB, free: 7.992 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.391/3.391, allocations: 0.5049 GB / 0.81 GB, free: 22.07 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.002077/0.002077, allocations: 68.55 kB / 1.177 GB, free: 16.85 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3389, allocations: 180.2 MB / 1.353 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005522/0.3445, allocations: 3.741 MB / 1.357 GB, free: 4.16 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007132/0.3516, allocations: 4.954 MB / 1.362 GB, free: 15.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003067/0.3519, allocations: 27.75 kB / 1.362 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001696/0.3536, allocations: 0.5058 MB / 1.362 GB, free: 14.66 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.3555, allocations: 0.8294 MB / 1.363 GB, free: 13.83 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007905/0.3563, allocations: 411.4 kB / 1.364 GB, free: 13.43 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001421/0.3577, allocations: 1.279 MB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003181/0.358, allocations: 146.3 kB / 1.365 GB, free: 11.98 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.359, allocations: 0.7089 MB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001156/0.3602, allocations: 0.8059 MB / 1.366 GB, free: 10.46 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.3604, allocations: 80 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003432/0.3607, allocations: 163.9 kB / 1.367 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00101/0.3617, allocations: 0.9075 MB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007889/0.3625, allocations: 0.8149 MB / 1.368 GB, free: 8.492 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002233/0.3647, allocations: 2.162 MB / 1.37 GB, free: 6.32 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3647, allocations: 0 / 1.37 GB, free: 6.32 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3647, allocations: 4 kB / 1.37 GB, free: 6.316 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.246e-05/0.3648, allocations: 0 / 1.37 GB, free: 6.316 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.003911/0.3687, allocations: 2.279 MB / 1.373 GB, free: 3.996 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3687, allocations: 11.97 kB / 1.373 GB, free: 3.984 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004204/0.3691, allocations: 235.4 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00346/0.3726, allocations: 1.918 MB / 1.375 GB, free: 1.781 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003047/0.3729, allocations: 334.3 kB / 1.375 GB, free: 1.406 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.3731, allocations: 67.98 kB / 1.375 GB, free: 1.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002578/0.3756, allocations: 1.437 MB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3756, allocations: 3.938 kB / 1.377 GB, free: 15.88 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.3757, allocations: 36 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.3758, allocations: 8 kB / 1.377 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.3779, allocations: 1.089 MB / 1.378 GB, free: 14.74 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00463/0.3826, allocations: 2.679 MB / 1.38 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.3846, allocations: 0.9678 MB / 1.381 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001678/0.3863, allocations: 0.8813 MB / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.127e-05/0.3863, allocations: 0 / 1.382 GB, free: 10.14 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.3863, allocations: 34.56 kB / 1.382 GB, free: 10.1 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 1.853e-06/0.3863, allocations: 4 kB / 1.382 GB, free: 10.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008721/0.395, allocations: 4.33 MB / 1.386 GB, free: 5.746 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3951, allocations: 55.41 kB / 1.386 GB, free: 5.68 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002928/0.398, allocations: 2.265 MB / 1.389 GB, free: 3.379 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.3981, allocations: 45.7 kB / 1.389 GB, free: 3.328 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007225/0.3989, allocations: 0.7371 MB / 1.389 GB, free: 2.586 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003876/0.3993, allocations: 412.4 kB / 1.39 GB, free: 2.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006058/0.3999, allocations: 393.4 kB / 1.39 GB, free: 1.789 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.4, allocations: 305.1 kB / 1.39 GB, free: 1.488 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002344/0.4023, allocations: 1.353 MB / 1.392 GB, free: 140 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002518/0.4049, allocations: 1.533 MB / 1.393 GB, free: 14.55 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004889/0.4097, allocations: 2.881 MB / 1.396 GB, free: 11.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4097, allocations: 4 kB / 1.396 GB, free: 11.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008114/0.4179, allocations: 4.341 MB / 1.4 GB, free: 7.25 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4179, allocations: 4 kB / 1.4 GB, free: 7.246 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.4179, allocations: 4 kB / 1.4 GB, free: 7.242 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005132/0.423, allocations: 3.755 MB / 1.404 GB, free: 3.477 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002336/0.4233, allocations: 55.89 kB / 1.404 GB, free: 3.422 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/0.4314, allocations: 5.692 MB / 1.41 GB, free: 13.62 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4326, allocations: 222.1 kB / 1.41 GB, free: 13.4 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002746/0.4329, allocations: 175.9 kB / 1.41 GB, free: 13.23 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.0008583/0.4337, allocations: 497.7 kB / 1.41 GB, free: 12.73 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/0.4342, allocations: 250.4 kB / 1.411 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/0.4344, allocations: 169.8 kB / 1.411 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.4344, allocations: 4 kB / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.4344, allocations: 0 / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4344, allocations: 0 / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.4357, allocations: 1.074 MB / 1.412 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.4357, allocations: 0 / 1.412 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.4359, allocations: 23.97 kB / 1.412 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005046/0.4409, allocations: 3.736 MB / 1.416 GB, free: 7.41 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/0.441, allocations: 67.94 kB / 1.416 GB, free: 7.344 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008147/0.4492, allocations: 5.696 MB / 1.421 GB, free: 1.543 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4492, allocations: 4.031 kB / 1.421 GB, free: 1.539 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006568/0.4558, allocations: 3.353 MB / 1.425 GB, free: 14.15 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000376/0.4561, allocations: 190.4 kB / 1.425 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.4564, allocations: 24 kB / 1.425 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000655/0.457, allocations: 47.97 kB / 1.425 GB, free: 13.89 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002639/0.4573, allocations: 119.7 kB / 1.425 GB, free: 13.78 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001867/0.4575, allocations: 139.9 kB / 1.425 GB, free: 13.64 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002151/0.4597, allocations: 1.515 MB / 1.426 GB, free: 12.11 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.4597, allocations: 0 / 1.426 GB, free: 12.11 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001146/0.4608, allocations: 423.7 kB / 1.427 GB, free: 11.7 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.001079/0.4619, allocations: 294.7 kB / 1.427 GB, free: 11.48 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01069/0.4726, allocations: 7.271 MB / 1.434 GB, free: 4.098 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4726, allocations: 0 / 1.434 GB, free: 4.098 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.00823/0.4808, allocations: 5.829 MB / 1.44 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.4829, allocations: 403.1 kB / 1.44 GB, free: 13.77 MB / 1.139 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 300] [Calling sys.exit(0), Time elapsed: 7.2277092998847365] Failed to read output from testmodel.py, exit status != 0: 0.49725894210860133 0.512118852 0.144237458 Calling exit ...