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.001849/0.001849, allocations: 80.3 kB / 19.18 MB, free: 2.516 MB / 14.72 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.002205/0.002205, allocations: 159.1 kB / 22.45 MB, free: 5.375 MB / 14.72 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.486/1.486, allocations: 177.2 MB / 202.8 MB, free: 9.164 MB / 190.1 MB " [Timeout remaining time 178] 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.962/2.962, allocations: 389 MB / 0.633 GB, free: 1.004 MB / 0.5919 GB " [Timeout remaining time 176] 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 2.255e-06/2.255e-06, allocations: 0 / 1 GB, free: 7.223 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.558e-05/3.783e-05, allocations: 6.281 kB / 1 GB, free: 7.215 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006157/0.006195, allocations: 3.414 MB / 1.004 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.007338/0.01353, allocations: 4.697 MB / 1.008 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004958/0.01403, allocations: 27.75 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001998/0.01603, allocations: 0.4901 MB / 1.009 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.01829, allocations: 0.8485 MB / 1.009 GB, free: 13.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009144/0.01921, allocations: 423.1 kB / 1.01 GB, free: 13.29 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.00156/0.02077, allocations: 1.305 MB / 1.011 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.02108, allocations: 126.4 kB / 1.011 GB, free: 11.84 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.02232, allocations: 0.8537 MB / 1.012 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001191/0.02351, allocations: 0.7285 MB / 1.013 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002134/0.02373, allocations: 84 kB / 1.013 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004152/0.02414, allocations: 159.8 kB / 1.013 GB, free: 10.02 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/0.02519, allocations: 0.9272 MB / 1.014 GB, free: 9.086 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005984/0.02579, allocations: 0.4984 MB / 1.014 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002324/0.02811, allocations: 2.133 MB / 1.017 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.02812, allocations: 0 / 1.017 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.954e-06/0.02812, allocations: 0 / 1.017 GB, free: 6.445 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.25e-05/0.02814, allocations: 0 / 1.017 GB, free: 6.445 MB / 0.9669 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.004134/0.03228, allocations: 2.263 MB / 1.019 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/0.03234, allocations: 8.031 kB / 1.019 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005874/0.03292, allocations: 235.4 kB / 1.019 GB, free: 3.902 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.03685, allocations: 1.921 MB / 1.021 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003494/0.0372, allocations: 330.8 kB / 1.021 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001749/0.03738, allocations: 72.38 kB / 1.021 GB, free: 1.48 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/0.04, allocations: 1.437 MB / 1.023 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.04002, allocations: 0 / 1.023 GB, free: 24 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001291/0.04015, allocations: 36.03 kB / 1.023 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.04016, allocations: 8 kB / 1.023 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002164/0.04232, allocations: 1.085 MB / 1.024 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003958/0.04628, allocations: 2.253 MB / 1.026 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002094/0.04837, allocations: 0.9599 MB / 1.027 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001754/0.05013, allocations: 0.893 MB / 1.028 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.05015, allocations: 7.938 kB / 1.028 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.05018, allocations: 30.56 kB / 1.028 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=115): time 3.115e-06/0.05018, allocations: 0 / 1.028 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=115): time 0.009045/0.05923, allocations: 4.318 MB / 1.032 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.342e-05/0.05928, allocations: 55.41 kB / 1.032 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003089/0.06237, allocations: 2.157 MB / 1.034 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001906/0.06256, allocations: 53.69 kB / 1.034 GB, free: 4.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/0.06329, allocations: 0.7363 MB / 1.035 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004193/0.06371, allocations: 408.5 kB / 1.035 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006517/0.06436, allocations: 397.4 kB / 1.036 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.06451, allocations: 301.1 kB / 1.036 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002376/0.06688, allocations: 1.353 MB / 1.037 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002504/0.06939, allocations: 1.533 MB / 1.039 GB, free: 15.24 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004941/0.07433, allocations: 2.877 MB / 1.042 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.15e-05/0.07434, allocations: 4 kB / 1.042 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008716/0.08305, allocations: 4.341 MB / 1.046 GB, free: 7.949 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.281e-05/0.08308, allocations: 8 kB / 1.046 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.08309, allocations: 4 kB / 1.046 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005085/0.08818, allocations: 3.74 MB / 1.05 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.08839, allocations: 51.91 kB / 1.05 GB, free: 4.133 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00835/0.09674, allocations: 5.697 MB / 1.055 GB, free: 14.33 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001185/0.09793, allocations: 214.4 kB / 1.055 GB, free: 14.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000278/0.09821, allocations: 171.9 kB / 1.055 GB, free: 13.95 MB / 1.014 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.0009554/0.09916, allocations: 490 kB / 1.056 GB, free: 13.46 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004424/0.0996, allocations: 246.4 kB / 1.056 GB, free: 13.22 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001983/0.0998, allocations: 152.6 kB / 1.056 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.09981, allocations: 4 kB / 1.056 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.09982, allocations: 4 kB / 1.056 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.09983, allocations: 3.984 kB / 1.056 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00102/0.1008, allocations: 0.7587 MB / 1.057 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.1008, allocations: 4 kB / 1.057 GB, free: 12.26 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001035/0.101, allocations: 11.98 kB / 1.057 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005136/0.1061, allocations: 3.718 MB / 1.061 GB, free: 8.52 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001267/0.1062, allocations: 67.88 kB / 1.061 GB, free: 8.453 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/0.1148, allocations: 5.688 MB / 1.066 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.1148, allocations: 192 / 1.066 GB, free: 2.66 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/0.1221, allocations: 3.345 MB / 1.07 GB, free: 15.29 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004818/0.1226, allocations: 178.4 kB / 1.07 GB, free: 15.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003842/0.1229, allocations: 31.94 kB / 1.07 GB, free: 15.08 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007715/0.1237, allocations: 51.95 kB / 1.07 GB, free: 15.03 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/0.124, allocations: 115.8 kB / 1.07 GB, free: 14.91 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002013/0.1242, allocations: 132 kB / 1.07 GB, free: 14.79 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002152/0.1264, allocations: 1.437 MB / 1.072 GB, free: 13.33 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1264, allocations: 4 kB / 1.072 GB, free: 13.32 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0013/0.1277, allocations: 435.6 kB / 1.072 GB, free: 12.9 MB / 1.029 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.001197/0.1289, allocations: 311.6 kB / 1.072 GB, free: 12.68 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.1398, allocations: 7.268 MB / 1.079 GB, free: 5.301 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.1398, allocations: 0 / 1.079 GB, free: 5.301 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.007907/0.1477, allocations: 5.833 MB / 1.085 GB, free: 15.36 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/0.1496, allocations: 380.5 kB / 1.085 GB, free: 14.99 MB / 1.045 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 300] [Calling sys.exit(0), Time elapsed: 6.382463548332453] Failed to read output from testmodel.py, exit status != 0: 0.16521430015563965 0.17884148300000002 0.147539331 Calling exit ...