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.001485/0.001485, 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.001828/0.001828, allocations: 165 kB / 24.17 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 0.957/0.957, allocations: 177.2 MB / 204.6 MB, free: 5.473 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 2.068/2.068, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 177] 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.233e-06/1.233e-06, allocations: 0 / 0.7753 GB, free: 5.305 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.217e-05/1.341e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003763/0.003776, allocations: 3.635 MB / 0.7788 GB, free: 1.688 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.005146/0.008923, allocations: 5.017 MB / 0.7837 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002771/0.0092, allocations: 27.75 kB / 0.7838 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.01036, allocations: 0.4994 MB / 0.7842 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001058/0.01142, allocations: 0.8404 MB / 0.7851 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005484/0.01196, allocations: 423.7 kB / 0.7855 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.01306, allocations: 1.306 MB / 0.7867 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002373/0.0133, allocations: 143 kB / 0.7869 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009727/0.01427, allocations: 0.8413 MB / 0.7877 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00082/0.01509, allocations: 0.7598 MB / 0.7884 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001419/0.01523, allocations: 80 kB / 0.7885 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.01552, allocations: 168.4 kB / 0.7887 GB, free: 7.594 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0008611/0.01638, allocations: 0.888 MB / 0.7895 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0003513/0.01673, allocations: 478.3 kB / 0.79 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.01784, allocations: 1.484 MB / 0.7915 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01784, allocations: 0 / 0.7915 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.282e-06/0.01784, allocations: 0 / 0.7915 GB, free: 4.766 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.064e-05/0.01787, allocations: 1.562 kB / 0.7915 GB, free: 4.766 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.001884/0.01976, allocations: 2.117 MB / 0.7935 GB, free: 2.609 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01979, allocations: 10.62 kB / 0.7935 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002175/0.02001, allocations: 192.8 kB / 0.7937 GB, free: 2.414 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.02166, allocations: 1.667 MB / 0.7953 GB, free: 0.6992 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000172/0.02183, allocations: 314.8 kB / 0.7956 GB, free: 352 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.712e-05/0.02192, allocations: 72.36 kB / 0.7957 GB, free: 280 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.02309, allocations: 0.9612 MB / 0.7966 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.0231, allocations: 0.6562 kB / 0.7967 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.527e-05/0.02316, allocations: 39.98 kB / 0.7967 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.02317, allocations: 8.75 kB / 0.7967 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004806/0.02365, allocations: 484.1 kB / 0.7972 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001619/0.02526, allocations: 1.46 MB / 0.7986 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/0.02582, allocations: 497.7 kB / 0.7991 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000382/0.0262, allocations: 394.6 kB / 0.7994 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.204e-05/0.02622, allocations: 4 kB / 0.7994 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.02624, allocations: 35.41 kB / 0.7995 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=115): time 1.793e-06/0.02624, allocations: 0 / 0.7995 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of matching and sorting (n=115): time 0.002449/0.02869, allocations: 2.232 MB / 0.8017 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.02872, allocations: 59.34 kB / 0.8017 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.03012, allocations: 1.614 MB / 0.8033 GB, free: 8.391 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.42e-05/0.03018, allocations: 50.55 kB / 0.8033 GB, free: 8.336 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.03041, allocations: 429.4 kB / 0.8037 GB, free: 7.91 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/0.03061, allocations: 413.7 kB / 0.8041 GB, free: 7.504 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003244/0.03093, allocations: 313.2 kB / 0.8044 GB, free: 7.191 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 7.047e-05/0.031, allocations: 309.1 kB / 0.8047 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005099/0.03151, allocations: 0.4895 MB / 0.8052 GB, free: 6.398 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005732/0.03208, allocations: 0.6477 MB / 0.8058 GB, free: 5.699 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.03328, allocations: 1.329 MB / 0.8071 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.03328, allocations: 0 / 0.8071 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002086/0.03537, allocations: 2.078 MB / 0.8092 GB, free: 2.199 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.03539, allocations: 4 kB / 0.8092 GB, free: 2.195 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.0354, allocations: 6.031 kB / 0.8092 GB, free: 2.191 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002435/0.03783, allocations: 3.112 MB / 0.8122 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.03794, allocations: 48.41 kB / 0.8123 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.04043, allocations: 3.774 MB / 0.8159 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003726/0.0408, allocations: 182.4 kB / 0.8161 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/0.04095, allocations: 145.5 kB / 0.8163 GB, free: 10.83 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.0002563/0.0412, allocations: 180.7 kB / 0.8164 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.0414, allocations: 176.5 kB / 0.8166 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.0415, allocations: 132.6 kB / 0.8167 GB, free: 10.34 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.04151, allocations: 4.531 kB / 0.8167 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.923e-06/0.04151, allocations: 1.656 kB / 0.8167 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.04151, allocations: 0 / 0.8167 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007253/0.04224, allocations: 0.519 MB / 0.8172 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.287e-06/0.04224, allocations: 4 kB / 0.8172 GB, free: 9.785 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.04228, allocations: 12.64 kB / 0.8173 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002079/0.04435, allocations: 3.088 MB / 0.8203 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.747e-05/0.04441, allocations: 42.55 kB / 0.8203 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002398/0.04681, allocations: 3.847 MB / 0.8241 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.04681, allocations: 0 / 0.8241 GB, free: 2.688 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.04876, allocations: 1.812 MB / 0.8258 GB, free: 0.8359 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.04888, allocations: 174.5 kB / 0.826 GB, free: 0.6641 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.04901, allocations: 28.12 kB / 0.826 GB, free: 0.6367 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002543/0.04926, allocations: 42.33 kB / 0.8261 GB, free: 0.5977 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.04942, allocations: 111.7 kB / 0.8262 GB, free: 500 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/0.04952, allocations: 103.9 kB / 0.8263 GB, free: 396 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005635/0.05008, allocations: 0.7768 MB / 0.827 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.11e-07/0.05008, allocations: 0 / 0.827 GB, free: 15.58 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0006074/0.05069, allocations: 439.5 kB / 0.8275 GB, free: 15.16 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.0008004/0.05149, allocations: 341.6 kB / 0.8278 GB, free: 14.94 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003286/0.05477, allocations: 4.613 MB / 0.8323 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.554e-05/0.05479, allocations: 20.19 kB / 0.8323 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.05701, allocations: 4.027 MB / 0.8362 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008461/0.05786, allocations: 470.8 kB / 0.8367 GB, free: 5.613 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: 4.036801483947784]