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.001215/0.001215, allocations: 80.94 kB / 19.94 MB, free: 4.547 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.001063/0.001063, allocations: 177 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.9589/0.9589, allocations: 177.1 MB / 203.8 MB, free: 5.488 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.35/2.35, allocations: 438.8 MB / 0.6827 GB, free: 13.62 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.262e-06/1.262e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.726e-05/1.852e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.00366/0.003679, allocations: 3.596 MB / 0.8422 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004876/0.008555, allocations: 5.016 MB / 0.8471 GB, free: 5.535 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000293/0.008848, allocations: 27.75 kB / 0.8471 GB, free: 5.508 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.009998, allocations: 0.4901 MB / 0.8476 GB, free: 5.016 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.01121, allocations: 0.8523 MB / 0.8484 GB, free: 4.16 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005191/0.01172, allocations: 423.1 kB / 0.8488 GB, free: 3.746 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0008374/0.01256, allocations: 1.305 MB / 0.8501 GB, free: 2.438 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.01278, allocations: 139.1 kB / 0.8502 GB, free: 2.285 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007549/0.01353, allocations: 0.8419 MB / 0.851 GB, free: 1.441 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006764/0.01421, allocations: 0.7637 MB / 0.8518 GB, free: 0.6758 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.01433, allocations: 76 kB / 0.8518 GB, free: 0.6016 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/0.0146, allocations: 163.7 kB / 0.852 GB, free: 452 kB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0005803/0.01518, allocations: 0.8921 MB / 0.8529 GB, free: 15.55 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003349/0.01552, allocations: 482.3 kB / 0.8533 GB, free: 15.07 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.01657, allocations: 1.478 MB / 0.8548 GB, free: 13.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01657, allocations: 0 / 0.8548 GB, free: 13.59 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.01657, allocations: 0 / 0.8548 GB, free: 13.59 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.667e-05/0.01659, allocations: 0 / 0.8548 GB, free: 13.59 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.00213/0.01872, allocations: 2.121 MB / 0.8568 GB, free: 11.43 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.01875, allocations: 12.62 kB / 0.8569 GB, free: 11.42 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/0.01898, allocations: 192.8 kB / 0.857 GB, free: 11.23 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.02065, allocations: 1.657 MB / 0.8587 GB, free: 9.508 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001807/0.02083, allocations: 318.8 kB / 0.859 GB, free: 9.148 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.08e-05/0.02092, allocations: 76.36 kB / 0.859 GB, free: 9.074 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009162/0.02183, allocations: 0.9635 MB / 0.86 GB, free: 8.09 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.02185, allocations: 0 / 0.86 GB, free: 8.09 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.0219, allocations: 39.98 kB / 0.86 GB, free: 8.051 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.02191, allocations: 7.938 kB / 0.86 GB, free: 8.043 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005001/0.02241, allocations: 487.2 kB / 0.8605 GB, free: 7.559 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/0.02427, allocations: 1.455 MB / 0.8619 GB, free: 6.07 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005625/0.02483, allocations: 0.4913 MB / 0.8624 GB, free: 5.566 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003746/0.02521, allocations: 390.7 kB / 0.8628 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.02522, allocations: 0 / 0.8628 GB, free: 5.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.02525, allocations: 42.5 kB / 0.8628 GB, free: 5.133 MB / 0.823 GB Notification: Performance of pre-optimization done (n=115): time 2.184e-06/0.02525, allocations: 0 / 0.8628 GB, free: 5.133 MB / 0.823 GB Notification: Performance of matching and sorting (n=115): time 0.002504/0.02776, allocations: 2.234 MB / 0.865 GB, free: 2.879 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.02779, allocations: 55.41 kB / 0.865 GB, free: 2.812 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001154/0.02894, allocations: 1.618 MB / 0.8666 GB, free: 1.156 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.94e-05/0.02901, allocations: 45.7 kB / 0.8667 GB, free: 1.105 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.02924, allocations: 433.4 kB / 0.8671 GB, free: 0.6758 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002057/0.02944, allocations: 404.4 kB / 0.8675 GB, free: 284 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.02976, allocations: 325.2 kB / 0.8678 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.43e-05/0.02983, allocations: 309 kB / 0.8681 GB, free: 15.65 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005147/0.03034, allocations: 0.4928 MB / 0.8685 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007673/0.03111, allocations: 0.6466 MB / 0.8692 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001165/0.03228, allocations: 1.322 MB / 0.8705 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.03228, allocations: 0 / 0.8705 GB, free: 13.07 MB / 0.8386 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002082/0.03436, allocations: 2.07 MB / 0.8725 GB, free: 10.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.03438, allocations: 12.09 kB / 0.8725 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.03439, allocations: 4 kB / 0.8725 GB, free: 10.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002138/0.03653, allocations: 3.11 MB / 0.8755 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.03663, allocations: 47.91 kB / 0.8756 GB, free: 7.777 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.03928, allocations: 3.78 MB / 0.8793 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.03975, allocations: 190.4 kB / 0.8795 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.03989, allocations: 140 kB / 0.8796 GB, free: 3.562 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.0003412/0.04023, allocations: 180.5 kB / 0.8798 GB, free: 3.375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.04043, allocations: 171.8 kB / 0.8799 GB, free: 3.207 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.04054, allocations: 128.6 kB / 0.8801 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.04054, allocations: 4 kB / 0.8801 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.04054, allocations: 0 / 0.8801 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.04055, allocations: 3.984 kB / 0.8801 GB, free: 3.074 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.04102, allocations: 0.519 MB / 0.8806 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.04102, allocations: 0 / 0.8806 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.469e-05/0.04106, allocations: 15.98 kB / 0.8806 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002159/0.04322, allocations: 3.081 MB / 0.8836 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.04327, allocations: 47.81 kB / 0.8836 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002449/0.04572, allocations: 3.842 MB / 0.8874 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.04572, allocations: 0 / 0.8874 GB, free: 11.42 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.04747, allocations: 1.816 MB / 0.8892 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.04764, allocations: 178.5 kB / 0.8893 GB, free: 9.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/0.04778, allocations: 27.94 kB / 0.8894 GB, free: 9.359 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002716/0.04805, allocations: 43.91 kB / 0.8894 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.0482, allocations: 103.7 kB / 0.8895 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.485e-05/0.04829, allocations: 99.95 kB / 0.8896 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007364/0.04903, allocations: 0.7807 MB / 0.8904 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.04903, allocations: 0 / 0.8904 GB, free: 8.312 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007327/0.04976, allocations: 435.6 kB / 0.8908 GB, free: 7.887 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.0007961/0.05056, allocations: 347 kB / 0.8911 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.003082/0.05364, allocations: 4.621 MB / 0.8956 GB, free: 2.941 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-05/0.05365, allocations: 24 kB / 0.8956 GB, free: 2.918 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002396/0.05605, allocations: 4.039 MB / 0.8996 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009437/0.05699, allocations: 463.7 kB / 0.9 GB, free: 14.32 MB / 0.8698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:790:5-790: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.115286360960454]