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.0009725/0.0009725, allocations: 84.94 kB / 19.94 MB, free: 4.543 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.0009585/0.0009585, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 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.9816/0.9816, allocations: 177.1 MB / 203.8 MB, free: 5.492 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.473/2.473, allocations: 438.8 MB / 0.6826 GB, free: 13.57 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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 1.433e-06/1.433e-06, allocations: 0 / 0.8387 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.861e-05/2.004e-05, allocations: 2.312 kB / 0.8387 GB, free: 14.08 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005319/0.005339, allocations: 3.639 MB / 0.8422 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.006736/0.01208, allocations: 5.035 MB / 0.8472 GB, free: 5.375 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003714/0.01245, allocations: 27.75 kB / 0.8472 GB, free: 5.348 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001486/0.01393, allocations: 0.4901 MB / 0.8477 GB, free: 4.855 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001589/0.01552, allocations: 0.8445 MB / 0.8485 GB, free: 4.008 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007332/0.01626, allocations: 419.1 kB / 0.8489 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001431/0.01769, allocations: 1.302 MB / 0.8502 GB, free: 2.293 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003061/0.01799, allocations: 139 kB / 0.8503 GB, free: 2.141 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001367/0.01936, allocations: 0.8419 MB / 0.8511 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00112/0.02048, allocations: 0.7676 MB / 0.8519 GB, free: 0.5273 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.02069, allocations: 80 kB / 0.8519 GB, free: 460 kB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00038/0.02107, allocations: 163.8 kB / 0.8521 GB, free: 296 kB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0008761/0.02195, allocations: 0.896 MB / 0.853 GB, free: 15.39 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005013/0.02245, allocations: 474.4 kB / 0.8534 GB, free: 14.93 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.02401, allocations: 1.486 MB / 0.8549 GB, free: 13.43 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02402, allocations: 0 / 0.8549 GB, free: 13.43 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.02402, allocations: 0 / 0.8549 GB, free: 13.43 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.475e-05/0.02404, allocations: 0 / 0.8549 GB, free: 13.43 MB / 0.823 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.002859/0.0269, allocations: 2.113 MB / 0.8569 GB, free: 11.29 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.02694, allocations: 8.625 kB / 0.8569 GB, free: 11.28 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003558/0.02729, allocations: 196.8 kB / 0.8571 GB, free: 11.09 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002733/0.03003, allocations: 1.668 MB / 0.8588 GB, free: 9.348 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.03027, allocations: 314.8 kB / 0.8591 GB, free: 8.992 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.03042, allocations: 72.36 kB / 0.8591 GB, free: 8.922 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001437/0.03186, allocations: 0.9713 MB / 0.8601 GB, free: 7.93 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.03187, allocations: 0 / 0.8601 GB, free: 7.93 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.677e-05/0.03196, allocations: 32 kB / 0.8601 GB, free: 7.898 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.03197, allocations: 8 kB / 0.8601 GB, free: 7.891 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000787/0.03275, allocations: 487.2 kB / 0.8606 GB, free: 7.406 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002542/0.0353, allocations: 1.455 MB / 0.862 GB, free: 5.918 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00085/0.03615, allocations: 0.4914 MB / 0.8625 GB, free: 5.414 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006186/0.03677, allocations: 394.7 kB / 0.8629 GB, free: 5.027 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.03678, allocations: 4 kB / 0.8629 GB, free: 5.023 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.03681, allocations: 34.5 kB / 0.8629 GB, free: 4.98 MB / 0.823 GB Notification: Performance of pre-optimization done (n=115): time 2.535e-06/0.03681, allocations: 0 / 0.8629 GB, free: 4.98 MB / 0.823 GB Notification: Performance of matching and sorting (n=115): time 0.004054/0.04086, allocations: 2.23 MB / 0.8651 GB, free: 2.73 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/0.04089, allocations: 59.39 kB / 0.8651 GB, free: 2.66 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.04261, allocations: 1.618 MB / 0.8667 GB, free: 1.004 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.764e-05/0.04271, allocations: 53.69 kB / 0.8668 GB, free: 0.9453 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003229/0.04303, allocations: 425.4 kB / 0.8672 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002934/0.04333, allocations: 408.4 kB / 0.8676 GB, free: 124 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005305/0.04386, allocations: 317.2 kB / 0.8679 GB, free: 15.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.057e-05/0.04394, allocations: 305.1 kB / 0.8682 GB, free: 15.5 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008221/0.04476, allocations: 0.4928 MB / 0.8686 GB, free: 15.01 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/0.04567, allocations: 0.6505 MB / 0.8693 GB, free: 14.31 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001906/0.04758, allocations: 1.318 MB / 0.8706 GB, free: 12.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.04758, allocations: 4 kB / 0.8706 GB, free: 12.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002913/0.0505, allocations: 2.065 MB / 0.8726 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.05051, allocations: 4.469 kB / 0.8726 GB, free: 10.82 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.05052, allocations: 8 kB / 0.8726 GB, free: 10.81 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.05271, allocations: 3.121 MB / 0.8756 GB, free: 7.672 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001088/0.05282, allocations: 43.91 kB / 0.8757 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002702/0.05552, allocations: 3.775 MB / 0.8794 GB, free: 3.742 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.05592, allocations: 194.3 kB / 0.8796 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001479/0.05607, allocations: 139.9 kB / 0.8797 GB, free: 3.414 MB / 0.8386 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.0002812/0.05635, allocations: 180.7 kB / 0.8799 GB, free: 3.227 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.05655, allocations: 171.8 kB / 0.88 GB, free: 3.059 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.05665, allocations: 132.6 kB / 0.8801 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.05665, allocations: 4.188 kB / 0.8802 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.05666, allocations: 0 / 0.8802 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.05666, allocations: 3.984 kB / 0.8802 GB, free: 2.922 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004513/0.05711, allocations: 0.5151 MB / 0.8807 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.05711, allocations: 3.984 kB / 0.8807 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.05715, allocations: 8 kB / 0.8807 GB, free: 2.375 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.05934, allocations: 3.081 MB / 0.8837 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.266e-05/0.05941, allocations: 47.94 kB / 0.8837 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002771/0.06218, allocations: 3.846 MB / 0.8875 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.06219, allocations: 0 / 0.8875 GB, free: 11.27 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001797/0.06398, allocations: 1.824 MB / 0.8893 GB, free: 9.406 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.06413, allocations: 174.4 kB / 0.8894 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.06426, allocations: 31.98 kB / 0.8895 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002675/0.06453, allocations: 43.91 kB / 0.8895 GB, free: 9.16 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001643/0.06469, allocations: 99.75 kB / 0.8896 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.06479, allocations: 99.95 kB / 0.8897 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0006189/0.06541, allocations: 0.7884 MB / 0.8905 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.06541, allocations: 0 / 0.8905 GB, free: 8.152 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007041/0.06612, allocations: 431.6 kB / 0.8909 GB, free: 7.73 MB / 0.8542 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.0007938/0.06691, allocations: 336.5 kB / 0.8912 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003311/0.07022, allocations: 4.617 MB / 0.8957 GB, free: 2.797 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.882e-05/0.07024, allocations: 28.19 kB / 0.8957 GB, free: 2.77 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002313/0.07255, allocations: 4.034 MB / 0.8997 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009544/0.07351, allocations: 469.5 kB / 0.9001 GB, free: 14.17 MB / 0.8698 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.306192379444838]