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.0007768/0.0007768, allocations: 80.48 kB / 19.93 MB, free: 4.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.0007611/0.0007611, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.866/0.866, allocations: 177.1 MB / 203.5 MB, free: 5.727 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 1.72/1.72, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.503e-06/1.503e-06, allocations: 0 / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.914e-05/2.064e-05, allocations: 2.281 kB / 1.001 GB, free: 12.94 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003625/0.003646, allocations: 3.406 MB / 1.004 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.007619, allocations: 4.7 MB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001953/0.007814, allocations: 23.81 kB / 1.009 GB, free: 4.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001147/0.008961, allocations: 0.4901 MB / 1.009 GB, free: 4.277 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009882/0.009949, allocations: 0.8562 MB / 1.01 GB, free: 3.418 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.01049, allocations: 423.1 kB / 1.011 GB, free: 3.004 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.01123, allocations: 1.309 MB / 1.012 GB, free: 1.691 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002025/0.01143, allocations: 126.4 kB / 1.012 GB, free: 1.551 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006573/0.01209, allocations: 0.8497 MB / 1.013 GB, free: 0.6992 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005673/0.01266, allocations: 0.7269 MB / 1.014 GB, free: 15.97 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001055/0.01276, allocations: 84 kB / 1.014 GB, free: 15.89 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002223/0.01299, allocations: 159.8 kB / 1.014 GB, free: 15.73 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0005455/0.01353, allocations: 0.9348 MB / 1.015 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003017/0.01383, allocations: 0.4945 MB / 1.015 GB, free: 14.3 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.0151, allocations: 2.133 MB / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.0151, allocations: 0 / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.032e-06/0.0151, allocations: 0 / 1.017 GB, free: 12.16 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.01512, allocations: 0 / 1.017 GB, free: 12.16 MB / 0.9792 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.002256/0.01738, allocations: 2.263 MB / 1.019 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.01741, allocations: 8.75 kB / 1.019 GB, free: 9.848 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002405/0.01765, allocations: 235.4 kB / 1.02 GB, free: 9.617 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001946/0.0196, allocations: 1.925 MB / 1.022 GB, free: 7.633 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001725/0.01977, allocations: 326.8 kB / 1.022 GB, free: 7.266 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.265e-05/0.01986, allocations: 68.38 kB / 1.022 GB, free: 7.199 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.0213, allocations: 1.433 MB / 1.023 GB, free: 5.746 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.02131, allocations: 4 kB / 1.023 GB, free: 5.742 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.91e-05/0.02137, allocations: 39.98 kB / 1.023 GB, free: 5.703 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.02138, allocations: 8 kB / 1.023 GB, free: 5.695 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.02256, allocations: 1.085 MB / 1.024 GB, free: 4.609 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002437/0.025, allocations: 2.257 MB / 1.027 GB, free: 2.305 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.02616, allocations: 0.9562 MB / 1.028 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009106/0.02707, allocations: 0.8852 MB / 1.028 GB, free: 464 kB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.02708, allocations: 4 kB / 1.028 GB, free: 460 kB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.0271, allocations: 34.56 kB / 1.029 GB, free: 416 kB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 2.846e-06/0.0271, allocations: 3.938 kB / 1.029 GB, free: 412 kB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.005348/0.03245, allocations: 4.318 MB / 1.033 GB, free: 12.06 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.03249, allocations: 55.41 kB / 1.033 GB, free: 12 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.03468, allocations: 2.153 MB / 1.035 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 8.789e-05/0.03476, allocations: 49.69 kB / 1.035 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005605/0.03532, allocations: 0.7441 MB / 1.036 GB, free: 9 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002653/0.03559, allocations: 408.5 kB / 1.036 GB, free: 8.598 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004939/0.03608, allocations: 389.4 kB / 1.036 GB, free: 8.211 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.89e-05/0.03616, allocations: 305.1 kB / 1.037 GB, free: 7.91 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.03797, allocations: 1.357 MB / 1.038 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002166/0.04014, allocations: 1.529 MB / 1.04 GB, free: 4.973 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003798/0.04393, allocations: 2.881 MB / 1.042 GB, free: 2.043 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.04394, allocations: 7.938 kB / 1.042 GB, free: 2.035 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.006482/0.05042, allocations: 4.337 MB / 1.047 GB, free: 13.68 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.05044, allocations: 8 kB / 1.047 GB, free: 13.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.595e-05/0.05046, allocations: 11.98 kB / 1.047 GB, free: 13.66 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/0.05397, allocations: 3.729 MB / 1.05 GB, free: 9.914 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.05409, allocations: 55.89 kB / 1.05 GB, free: 9.859 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004845/0.05894, allocations: 5.701 MB / 1.056 GB, free: 4.055 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006117/0.05955, allocations: 214.5 kB / 1.056 GB, free: 3.844 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/0.05973, allocations: 175.9 kB / 1.056 GB, free: 3.672 MB / 1.01 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 (hpSupLvg.coo_internal,chiRetEnt.coo_internal,chiSupLvg.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,2), (1,2), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006942/0.06042, allocations: 489.5 kB / 1.057 GB, free: 3.184 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000269/0.06069, allocations: 242.4 kB / 1.057 GB, free: 2.945 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001532/0.06084, allocations: 152.6 kB / 1.057 GB, free: 2.793 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.06085, allocations: 4 kB / 1.057 GB, free: 2.789 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.06085, allocations: 0 / 1.057 GB, free: 2.789 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.06086, allocations: 4 kB / 1.057 GB, free: 2.785 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007292/0.06159, allocations: 0.7626 MB / 1.058 GB, free: 1.988 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.06159, allocations: 4 kB / 1.058 GB, free: 1.984 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.038e-05/0.06164, allocations: 11.98 kB / 1.058 GB, free: 1.973 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.433/0.4947, allocations: 3.712 MB / 1.061 GB, free: 98.06 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001294/0.4948, allocations: 64.89 kB / 1.062 GB, free: 98.06 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003743/0.4985, allocations: 5.686 MB / 1.067 GB, free: 94.85 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4985, allocations: 0 / 1.067 GB, free: 94.85 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003025/0.5016, allocations: 3.35 MB / 1.07 GB, free: 93.62 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001548/0.5017, allocations: 168.7 kB / 1.071 GB, free: 93.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.5018, allocations: 26.19 kB / 1.071 GB, free: 93.5 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003136/0.5021, allocations: 52.97 kB / 1.071 GB, free: 93.48 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/0.5023, allocations: 118.2 kB / 1.071 GB, free: 93.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.76e-05/0.5024, allocations: 134.9 kB / 1.071 GB, free: 93.46 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009903/0.5034, allocations: 1.435 MB / 1.072 GB, free: 92.98 MB / 1.01 GB Notification: Performance of sort global known variables: time 4.21e-07/0.5034, allocations: 0 / 1.072 GB, free: 92.98 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0006423/0.504, allocations: 439.5 kB / 1.073 GB, free: 92.92 MB / 1.01 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.0005218/0.5045, allocations: 320.1 kB / 1.073 GB, free: 92.82 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.004851/0.5094, allocations: 7.269 MB / 1.08 GB, free: 88.66 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5094, allocations: 0.6562 kB / 1.08 GB, free: 88.66 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003352/0.5127, allocations: 5.83 MB / 1.086 GB, free: 84.93 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008868/0.5136, allocations: 387.5 kB / 1.086 GB, free: 84.78 MB / 1.01 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 4.25593101978302] Failed to read output from testmodel.py, exit status != 0: 0.5227385926991701 0.530765204 0.513925576 Calling exit ...