Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001267/0.001267, allocations: 81.41 kB / 20.83 MB, free: 3.629 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.001419/0.001419, allocations: 169 kB / 24.25 MB, free: 208 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 0.9077/0.9077, allocations: 177.1 MB / 204.7 MB, free: 5.434 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.86/1.86, allocations: 389.6 MB / 0.6355 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0.6562 kB / 0.7754 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.268e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.223 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.0036/0.003613, allocations: 3.643 MB / 0.779 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004577/0.00819, allocations: 5.018 MB / 0.7839 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002022/0.008392, allocations: 27.75 kB / 0.7839 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009307/0.009323, allocations: 0.4978 MB / 0.7844 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0008964/0.01022, allocations: 0.8446 MB / 0.7852 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.01065, allocations: 419.9 kB / 0.7856 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007702/0.01142, allocations: 1.298 MB / 0.7869 GB, free: 9.516 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001841/0.0116, allocations: 140.4 kB / 0.787 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006952/0.01229, allocations: 0.8479 MB / 0.7879 GB, free: 8.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006078/0.0129, allocations: 0.7599 MB / 0.7886 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001245/0.01303, allocations: 80 kB / 0.7887 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002419/0.01327, allocations: 164.8 kB / 0.7888 GB, free: 7.52 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0005268/0.0138, allocations: 0.887 MB / 0.7897 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/0.01409, allocations: 483.2 kB / 0.7902 GB, free: 6.172 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008925/0.01498, allocations: 1.486 MB / 0.7916 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.01498, allocations: 0 / 0.7916 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.71e-07/0.01498, allocations: 0 / 0.7916 GB, free: 4.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.653e-05/0.015, allocations: 0 / 0.7916 GB, free: 4.684 MB / 0.7448 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.001675/0.01668, allocations: 2.108 MB / 0.7937 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.01671, allocations: 9.344 kB / 0.7937 GB, free: 2.531 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.017, allocations: 192.8 kB / 0.7939 GB, free: 2.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001589/0.01859, allocations: 1.67 MB / 0.7955 GB, free: 0.625 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001705/0.01876, allocations: 315.5 kB / 0.7958 GB, free: 276 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.46e-05/0.01884, allocations: 80.34 kB / 0.7959 GB, free: 196 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008781/0.01972, allocations: 0.9615 MB / 0.7968 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01973, allocations: 3.938 kB / 0.7968 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.082e-05/0.01978, allocations: 32 kB / 0.7968 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.01979, allocations: 9.062 kB / 0.7969 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/0.02025, allocations: 480.5 kB / 0.7973 GB, free: 14.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001529/0.02178, allocations: 1.46 MB / 0.7987 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005161/0.0223, allocations: 0.4933 MB / 0.7992 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003511/0.02265, allocations: 386.7 kB / 0.7996 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.043e-05/0.02266, allocations: 0 / 0.7996 GB, free: 12.33 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.02268, allocations: 46.44 kB / 0.7996 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=115): time 1.372e-06/0.02268, allocations: 1.719 kB / 0.7996 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of matching and sorting (n=115): time 0.002312/0.02499, allocations: 2.226 MB / 0.8018 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.38e-05/0.02502, allocations: 56.28 kB / 0.8019 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001021/0.02604, allocations: 1.61 MB / 0.8034 GB, free: 8.32 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.421e-05/0.0261, allocations: 53.69 kB / 0.8035 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002123/0.02631, allocations: 434.2 kB / 0.8039 GB, free: 7.832 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.0265, allocations: 408.3 kB / 0.8043 GB, free: 7.43 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003164/0.02682, allocations: 318 kB / 0.8046 GB, free: 7.113 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.976e-05/0.02689, allocations: 309 kB / 0.8049 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005011/0.02739, allocations: 0.4934 MB / 0.8054 GB, free: 6.316 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005509/0.02794, allocations: 0.6476 MB / 0.806 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/0.0291, allocations: 1.321 MB / 0.8073 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.02911, allocations: 0 / 0.8073 GB, free: 4.234 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002049/0.03116, allocations: 2.077 MB / 0.8093 GB, free: 2.125 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.03117, allocations: 4 kB / 0.8093 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.03118, allocations: 5.062 kB / 0.8093 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002209/0.03339, allocations: 3.117 MB / 0.8124 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.03348, allocations: 45.19 kB / 0.8124 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002443/0.03593, allocations: 3.77 MB / 0.8161 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.03628, allocations: 190.4 kB / 0.8163 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.03642, allocations: 143.9 kB / 0.8164 GB, free: 10.75 MB / 0.7761 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.0002456/0.03666, allocations: 185.6 kB / 0.8166 GB, free: 10.56 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.03685, allocations: 168.4 kB / 0.8168 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/0.03695, allocations: 132.6 kB / 0.8169 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.03696, allocations: 5.438 kB / 0.8169 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-06/0.03696, allocations: 0 / 0.8169 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.03696, allocations: 3.984 kB / 0.8169 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000437/0.0374, allocations: 0.519 MB / 0.8174 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0374, allocations: 1.75 kB / 0.8174 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.03743, allocations: 8 kB / 0.8174 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002093/0.03952, allocations: 3.089 MB / 0.8204 GB, free: 6.613 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.187e-05/0.03959, allocations: 47.94 kB / 0.8205 GB, free: 6.566 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002411/0.042, allocations: 3.837 MB / 0.8242 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.042, allocations: 1.562 kB / 0.8242 GB, free: 2.617 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.04371, allocations: 1.817 MB / 0.826 GB, free: 0.7617 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.04383, allocations: 174.5 kB / 0.8262 GB, free: 0.5898 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001211/0.04395, allocations: 24.66 kB / 0.8262 GB, free: 0.5664 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002413/0.0442, allocations: 40.8 kB / 0.8262 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001338/0.04433, allocations: 104.8 kB / 0.8263 GB, free: 436 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.391e-05/0.04442, allocations: 107.9 kB / 0.8264 GB, free: 328 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005448/0.04497, allocations: 0.7846 MB / 0.8272 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of sort global known variables: time 7e-08/0.04497, allocations: 0.6562 kB / 0.8272 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006049/0.04557, allocations: 431.6 kB / 0.8276 GB, free: 15.09 MB / 0.7917 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.0007606/0.04633, allocations: 349 kB / 0.8279 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002924/0.04926, allocations: 4.613 MB / 0.8324 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/0.04927, allocations: 20 kB / 0.8325 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002097/0.05137, allocations: 4.03 MB / 0.8364 GB, free: 6 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000812/0.05218, allocations: 482.9 kB / 0.8369 GB, free: 5.531 MB / 0.7917 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:791:5-791: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: 3.813457230105996]