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.0007029/0.0007029, allocations: 76.27 kB / 9.879 MB, free: 0.8203 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009964/0.001699, allocations: 449.6 kB / 10.32 MB, free: 392 kB / 10.45 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.0008101/0.0008101, allocations: 149.9 kB / 11.2 MB, free: 2.98 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009715/0.001782, allocations: 476.2 kB / 11.66 MB, free: 2.512 MB / 13.93 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.8636/0.8636, allocations: 177.1 MB / 189.5 MB, free: 3.758 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1643/1.028, allocations: 53.65 MB / 243.2 MB, free: 2.379 MB / 234.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.835/1.835, allocations: 389.9 MB / 0.619 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2058/2.04, allocations: 127.2 MB / 0.7431 GB, free: 13.53 MB / 0.7292 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.7444 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.074e-05/1.216e-05, allocations: 2.312 kB / 0.7444 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.00328/0.003292, allocations: 3.65 MB / 0.748 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.004285/0.007577, allocations: 5.012 MB / 0.7529 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002406/0.007818, allocations: 23.81 kB / 0.7529 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0008728/0.008691, allocations: 489.9 kB / 0.7534 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0009021/0.009593, allocations: 0.8523 MB / 0.7542 GB, free: 2.172 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004612/0.01005, allocations: 419.1 kB / 0.7546 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.001032/0.01109, allocations: 1.282 MB / 0.7558 GB, free: 488 kB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.01129, allocations: 139.1 kB / 0.756 GB, free: 332 kB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008768/0.01216, allocations: 0.9501 MB / 0.7569 GB, free: 15.38 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006709/0.01284, allocations: 0.7753 MB / 0.7577 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.01297, allocations: 76 kB / 0.7577 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00025/0.01322, allocations: 167.8 kB / 0.7579 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0004882/0.01371, allocations: 0.8143 MB / 0.7587 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002693/0.01398, allocations: 366.7 kB / 0.759 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008731/0.01485, allocations: 1.377 MB / 0.7604 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.076e-06/0.01486, allocations: 0 / 0.7604 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.21e-07/0.01486, allocations: 0 / 0.7604 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.753e-05/0.01489, allocations: 0 / 0.7604 GB, free: 11.8 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.001914/0.0168, allocations: 2.117 MB / 0.7624 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.01683, allocations: 12.03 kB / 0.7625 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.01693, allocations: 126.6 kB / 0.7626 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002039/0.01714, allocations: 184.8 kB / 0.7628 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.01864, allocations: 1.676 MB / 0.7644 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.01881, allocations: 310.8 kB / 0.7647 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.01889, allocations: 80.09 kB / 0.7648 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008341/0.01972, allocations: 0.9597 MB / 0.7657 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.01973, allocations: 0 / 0.7657 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.01978, allocations: 36 kB / 0.7657 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.01979, allocations: 8 kB / 0.7657 GB, free: 6.121 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004467/0.02023, allocations: 491.2 kB / 0.7662 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001591/0.02183, allocations: 1.582 MB / 0.7678 GB, free: 4.008 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005937/0.02242, allocations: 499.2 kB / 0.7682 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003491/0.02277, allocations: 394.6 kB / 0.7686 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.02278, allocations: 4 kB / 0.7686 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.737e-05/0.0228, allocations: 38.55 kB / 0.7686 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=115): time 1.633e-06/0.0228, allocations: 0 / 0.7686 GB, free: 3.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=115): time 0.00243/0.02523, allocations: 2.238 MB / 0.7708 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/0.02525, allocations: 55.41 kB / 0.7709 GB, free: 0.7422 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001067/0.02632, allocations: 1.703 MB / 0.7725 GB, free: 15 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.293e-05/0.02638, allocations: 57.69 kB / 0.7726 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.02657, allocations: 398.5 kB / 0.773 GB, free: 14.54 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/0.02674, allocations: 404.5 kB / 0.7734 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002958/0.02704, allocations: 325 kB / 0.7737 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.0271, allocations: 305.1 kB / 0.774 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.02756, allocations: 496.6 kB / 0.7744 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005442/0.02811, allocations: 0.6658 MB / 0.7751 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001303/0.02941, allocations: 1.322 MB / 0.7764 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.02941, allocations: 0 / 0.7764 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00196/0.03137, allocations: 2.073 MB / 0.7784 GB, free: 8.816 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.03139, allocations: 15.58 kB / 0.7784 GB, free: 8.805 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.0314, allocations: 7.938 kB / 0.7784 GB, free: 8.797 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002009/0.03341, allocations: 3.115 MB / 0.7815 GB, free: 5.664 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001019/0.03351, allocations: 47.91 kB / 0.7815 GB, free: 5.617 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00247/0.03598, allocations: 3.778 MB / 0.7852 GB, free: 1.727 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000387/0.03637, allocations: 202.2 kB / 0.7854 GB, free: 1.527 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.0365, allocations: 143.9 kB / 0.7855 GB, free: 1.387 MB / 0.7605 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.0002529/0.03675, allocations: 176.5 kB / 0.7857 GB, free: 1.203 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001843/0.03694, allocations: 175.8 kB / 0.7859 GB, free: 1.031 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.03705, allocations: 137.8 kB / 0.786 GB, free: 0.8867 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.03705, allocations: 4 kB / 0.786 GB, free: 0.8828 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.03705, allocations: 3.984 kB / 0.786 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.03706, allocations: 4.031 kB / 0.786 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.0375, allocations: 0.5997 MB / 0.7866 GB, free: 248 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.0375, allocations: 0 / 0.7866 GB, free: 248 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.03753, allocations: 12 kB / 0.7866 GB, free: 236 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.3255/0.363, allocations: 3.083 MB / 0.7896 GB, free: 32.83 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.782e-05/0.3631, allocations: 44.62 kB / 0.7897 GB, free: 32.83 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002622/0.3657, allocations: 3.839 MB / 0.7934 GB, free: 30.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3657, allocations: 0 / 0.7934 GB, free: 30.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3677, allocations: 1.827 MB / 0.7952 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.368, allocations: 183.2 kB / 0.7954 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.3681, allocations: 27.36 kB / 0.7954 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3684, allocations: 37.72 kB / 0.7954 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.3686, allocations: 102.9 kB / 0.7955 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/0.3687, allocations: 104.8 kB / 0.7956 GB, free: 30.47 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007908/0.3695, allocations: 0.8307 MB / 0.7964 GB, free: 30.38 MB / 0.7605 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3695, allocations: 0.5625 kB / 0.7964 GB, free: 30.38 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0007291/0.3702, allocations: 428.5 kB / 0.7969 GB, free: 30.38 MB / 0.7605 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.0008804/0.3711, allocations: 0.879 MB / 0.7977 GB, free: 29.78 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.003309/0.3744, allocations: 4.618 MB / 0.8022 GB, free: 26.97 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.803e-05/0.3744, allocations: 19.84 kB / 0.8022 GB, free: 26.97 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.3765, allocations: 4.03 MB / 0.8062 GB, free: 24.15 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3777, allocations: 485.8 kB / 0.8066 GB, free: 24.12 MB / 0.7605 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:742:5-742: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.774873667396605]