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.001047/0.001047, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001237/0.001237, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 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.072/1.072, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 2.242/2.242, allocations: 429.5 MB / 0.6743 GB, free: 3.93 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 3.938 kB / 0.8795 GB, free: 5.969 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.711e-05/2.955e-05, allocations: 4.844 kB / 0.8795 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006063/0.006092, allocations: 3.603 MB / 0.883 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006972/0.01306, allocations: 4.94 MB / 0.8878 GB, free: 13.43 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003645/0.01343, allocations: 35.69 kB / 0.8878 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.01517, allocations: 490 kB / 0.8883 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.01696, allocations: 0.8561 MB / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007367/0.01769, allocations: 423.1 kB / 0.8896 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.0187, allocations: 1.309 MB / 0.8908 GB, free: 10.33 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.01893, allocations: 130.3 kB / 0.891 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007411/0.01968, allocations: 0.8615 MB / 0.8918 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006636/0.02034, allocations: 0.7948 MB / 0.8926 GB, free: 8.527 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.02045, allocations: 80 kB / 0.8926 GB, free: 8.449 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002445/0.02069, allocations: 163.8 kB / 0.8928 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005742/0.02126, allocations: 0.9038 MB / 0.8937 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.02159, allocations: 478.4 kB / 0.8941 GB, free: 6.914 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0009959/0.02259, allocations: 1.482 MB / 0.8956 GB, free: 5.426 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.02259, allocations: 4 kB / 0.8956 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.322e-06/0.02259, allocations: 0 / 0.8956 GB, free: 5.422 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.02261, allocations: 0 / 0.8956 GB, free: 5.422 MB / 0.8542 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.002263/0.02487, allocations: 2.393 MB / 0.8979 GB, free: 2.98 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.02491, allocations: 8.031 kB / 0.8979 GB, free: 2.973 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003074/0.02522, allocations: 295.4 kB / 0.8982 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.02686, allocations: 1.697 MB / 0.8999 GB, free: 0.9297 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/0.02706, allocations: 326.8 kB / 0.9002 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.889e-05/0.02715, allocations: 72.38 kB / 0.9003 GB, free: 0.4922 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.02814, allocations: 0.972 MB / 0.9012 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.02815, allocations: 7.938 kB / 0.9012 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.02821, allocations: 39.98 kB / 0.9013 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.02822, allocations: 4 kB / 0.9013 GB, free: 15.45 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005446/0.02877, allocations: 0.5121 MB / 0.9018 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/0.03085, allocations: 2.169 MB / 0.9039 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.03166, allocations: 0.4962 MB / 0.9044 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004233/0.03208, allocations: 429.5 kB / 0.9048 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.0321, allocations: 4 kB / 0.9048 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.03212, allocations: 37.33 kB / 0.9048 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=115): time 1.804e-06/0.03212, allocations: 0 / 0.9048 GB, free: 11.73 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115): time 0.002934/0.03506, allocations: 2.592 MB / 0.9073 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.03508, allocations: 51.41 kB / 0.9074 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001237/0.03632, allocations: 1.836 MB / 0.9092 GB, free: 7.168 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.03639, allocations: 53.69 kB / 0.9092 GB, free: 7.109 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005051/0.0369, allocations: 0.8698 MB / 0.9101 GB, free: 6.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.03711, allocations: 416.4 kB / 0.9105 GB, free: 5.82 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005879/0.0377, allocations: 418.8 kB / 0.9109 GB, free: 5.402 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.03781, allocations: 480.7 kB / 0.9113 GB, free: 4.93 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005561/0.03837, allocations: 0.5173 MB / 0.9118 GB, free: 4.414 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007317/0.0391, allocations: 0.7638 MB / 0.9126 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.04041, allocations: 1.378 MB / 0.9139 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.04042, allocations: 0 / 0.9139 GB, free: 2.125 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002612/0.04303, allocations: 2.454 MB / 0.9163 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.04305, allocations: 11.98 kB / 0.9163 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.229e-05/0.04306, allocations: 4 kB / 0.9163 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/0.04547, allocations: 3.188 MB / 0.9195 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.04557, allocations: 47.91 kB / 0.9195 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003272/0.04884, allocations: 5.071 MB / 0.9245 GB, free: 7.184 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.04928, allocations: 194.3 kB / 0.9246 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000169/0.04945, allocations: 171.9 kB / 0.9248 GB, free: 6.824 MB / 0.8855 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 (chiSupLvg.coo_internal,chiRetEnt.coo_internal,hpSupLvg.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,3), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004844/0.04993, allocations: 216.5 kB / 0.925 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/0.0502, allocations: 278.4 kB / 0.9253 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001081/0.05031, allocations: 140.7 kB / 0.9254 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.05031, allocations: 0 / 0.9254 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.05032, allocations: 0 / 0.9254 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.05032, allocations: 0 / 0.9254 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000568/0.05089, allocations: 0.631 MB / 0.926 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.05089, allocations: 0 / 0.926 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/0.05092, allocations: 11.98 kB / 0.926 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.05305, allocations: 3.152 MB / 0.9291 GB, free: 2.348 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.725e-05/0.05312, allocations: 63.94 kB / 0.9292 GB, free: 2.285 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003235/0.05635, allocations: 5.062 MB / 0.9341 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.05635, allocations: 3.984 kB / 0.9341 GB, free: 13.09 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.05849, allocations: 2.161 MB / 0.9362 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001377/0.05862, allocations: 178.5 kB / 0.9364 GB, free: 10.71 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.05876, allocations: 28.05 kB / 0.9364 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002712/0.05904, allocations: 43.92 kB / 0.9365 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.05919, allocations: 119.8 kB / 0.9366 GB, free: 10.52 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/0.0593, allocations: 124 kB / 0.9367 GB, free: 10.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0006815/0.05999, allocations: 0.9646 MB / 0.9377 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.05999, allocations: 0 / 0.9377 GB, free: 9.418 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006873/0.06067, allocations: 435.6 kB / 0.9381 GB, free: 8.992 MB / 0.9011 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.000665/0.06134, allocations: 294.4 kB / 0.9383 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004003/0.06534, allocations: 6.435 MB / 0.9446 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.06534, allocations: 0 / 0.9446 GB, free: 2.211 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.003233/0.06858, allocations: 5.785 MB / 0.9503 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009673/0.06954, allocations: 488.9 kB / 0.9507 GB, free: 11.82 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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: 4.841417169198394]