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.001347/0.001347, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.001724/0.001724, allocations: 161 kB / 24.16 MB, free: 336 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.002/1.002, allocations: 177.2 MB / 204.6 MB, free: 5.133 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.864/1.864, allocations: 389.6 MB / 0.6354 GB, free: 12.33 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.393e-06/1.393e-06, allocations: 0 / 0.7753 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.728e-05/1.868e-05, allocations: 6.312 kB / 0.7753 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004076/0.004094, allocations: 3.648 MB / 0.7788 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.00492/0.009015, allocations: 5.013 MB / 0.7837 GB, free: 12.69 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003284/0.009343, allocations: 29.47 kB / 0.7837 GB, free: 12.66 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.01046, allocations: 0.4901 MB / 0.7842 GB, free: 12.17 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 0.001031/0.01149, allocations: 0.8479 MB / 0.7851 GB, free: 11.32 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005112/0.012, allocations: 424.6 kB / 0.7855 GB, free: 10.91 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 0.0008485/0.01285, allocations: 1.302 MB / 0.7867 GB, free: 9.605 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.01305, allocations: 135.1 kB / 0.7869 GB, free: 9.453 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000859/0.01391, allocations: 0.8485 MB / 0.7877 GB, free: 8.613 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006415/0.01455, allocations: 0.7637 MB / 0.7884 GB, free: 7.848 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.0001059/0.01466, allocations: 84.81 kB / 0.7885 GB, free: 7.766 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.01491, allocations: 167.8 kB / 0.7887 GB, free: 7.602 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.000558/0.01547, allocations: 0.8838 MB / 0.7895 GB, free: 6.73 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 0.000319/0.01579, allocations: 480.8 kB / 0.79 GB, free: 6.262 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 0.000988/0.01678, allocations: 1.48 MB / 0.7914 GB, free: 4.777 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.653e-06/0.01678, allocations: 0 / 0.7914 GB, free: 4.777 MB / 0.7449 GB Notification: Performance of FrontEnd: time 7.41e-07/0.01678, allocations: 0 / 0.7914 GB, free: 4.777 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.01679, allocations: 4 kB / 0.7914 GB, free: 4.773 MB / 0.7449 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.001695/0.01849, allocations: 2.106 MB / 0.7935 GB, free: 2.629 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 2.545e-05/0.01852, allocations: 10.28 kB / 0.7935 GB, free: 2.621 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002005/0.01872, allocations: 200.7 kB / 0.7937 GB, free: 2.426 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001695/0.02041, allocations: 1.663 MB / 0.7953 GB, free: 0.7148 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.02056, allocations: 314.8 kB / 0.7956 GB, free: 368 kB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.02065, allocations: 73.44 kB / 0.7957 GB, free: 296 kB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008329/0.02148, allocations: 0.9646 MB / 0.7966 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.02149, allocations: 0 / 0.7966 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.02154, allocations: 32.62 kB / 0.7967 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.692e-06/0.02154, allocations: 8 kB / 0.7967 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004439/0.02199, allocations: 488.8 kB / 0.7971 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.02355, allocations: 1.456 MB / 0.7986 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.02405, allocations: 0.4953 MB / 0.7991 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003575/0.02441, allocations: 388.6 kB / 0.7994 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.188e-05/0.02442, allocations: 4 kB / 0.7994 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.02444, allocations: 38.5 kB / 0.7995 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=115): time 1.433e-06/0.02444, allocations: 0 / 0.7995 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of matching and sorting (n=115): time 0.002429/0.02687, allocations: 2.228 MB / 0.8016 GB, free: 10.13 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.02689, allocations: 55.41 kB / 0.8017 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.02789, allocations: 1.611 MB / 0.8033 GB, free: 8.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.828e-05/0.02795, allocations: 57.69 kB / 0.8033 GB, free: 8.355 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.02816, allocations: 433.8 kB / 0.8037 GB, free: 7.926 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.02834, allocations: 408.4 kB / 0.8041 GB, free: 7.523 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003005/0.02864, allocations: 314.3 kB / 0.8044 GB, free: 7.211 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/0.0287, allocations: 305.1 kB / 0.8047 GB, free: 6.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004882/0.02919, allocations: 0.4975 MB / 0.8052 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.02972, allocations: 0.6514 MB / 0.8058 GB, free: 5.711 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/0.03084, allocations: 1.317 MB / 0.8071 GB, free: 4.332 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.03085, allocations: 5.125 kB / 0.8071 GB, free: 4.328 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002097/0.03294, allocations: 2.073 MB / 0.8092 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.03296, allocations: 4 kB / 0.8092 GB, free: 2.219 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.03297, allocations: 11.94 kB / 0.8092 GB, free: 2.207 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002058/0.03503, allocations: 3.118 MB / 0.8122 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-05/0.03512, allocations: 43.91 kB / 0.8123 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002498/0.03762, allocations: 3.781 MB / 0.8159 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003743/0.03799, allocations: 186.4 kB / 0.8161 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.03813, allocations: 143.9 kB / 0.8163 GB, free: 10.84 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.0002523/0.03838, allocations: 180.7 kB / 0.8164 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001795/0.03856, allocations: 163.8 kB / 0.8166 GB, free: 10.49 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.03867, allocations: 132.6 kB / 0.8167 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.03867, allocations: 5.094 kB / 0.8167 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.03867, allocations: 0 / 0.8167 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.03868, allocations: 0 / 0.8167 GB, free: 10.35 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.03912, allocations: 0.5235 MB / 0.8172 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.03913, allocations: 0 / 0.8172 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.03915, allocations: 8.688 kB / 0.8172 GB, free: 9.797 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.04115, allocations: 3.096 MB / 0.8203 GB, free: 6.699 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-05/0.04121, allocations: 49.5 kB / 0.8203 GB, free: 6.652 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002442/0.04365, allocations: 3.837 MB / 0.8241 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.04366, allocations: 0 / 0.8241 GB, free: 2.703 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001624/0.04528, allocations: 1.826 MB / 0.8258 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.0454, allocations: 162.5 kB / 0.826 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.04551, allocations: 31.98 kB / 0.826 GB, free: 0.6484 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002491/0.04576, allocations: 36.95 kB / 0.8261 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.0459, allocations: 103.7 kB / 0.8262 GB, free: 0.5117 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.656e-05/0.04599, allocations: 109.1 kB / 0.8263 GB, free: 416 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005408/0.04653, allocations: 0.7768 MB / 0.827 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8.1e-08/0.04653, allocations: 0 / 0.827 GB, free: 15.61 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.000615/0.04715, allocations: 436.6 kB / 0.8274 GB, free: 15.18 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.0007162/0.04786, allocations: 350.6 kB / 0.8278 GB, free: 14.96 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003052/0.05092, allocations: 4.613 MB / 0.8323 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.455e-05/0.05093, allocations: 20 kB / 0.8323 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.05306, allocations: 4.038 MB / 0.8362 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.05389, allocations: 469 kB / 0.8367 GB, free: 5.625 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.8303155144676566]