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.001219/0.001219, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001591/0.001591, allocations: 169 kB / 23.02 MB, free: 1.555 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.9971/0.9971, allocations: 177.1 MB / 203.4 MB, free: 5.656 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.101/2.101, allocations: 429.5 MB / 0.6732 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.703e-06/1.703e-06, allocations: 0 / 0.8782 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.502e-05/2.672e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004664/0.004691, allocations: 3.681 MB / 0.8818 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004936/0.009626, allocations: 4.97 MB / 0.8867 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003219/0.009948, allocations: 29.72 kB / 0.8867 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001255/0.0112, allocations: 497.9 kB / 0.8872 GB, free: 13.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.01246, allocations: 0.8551 MB / 0.888 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004949/0.01296, allocations: 424.1 kB / 0.8884 GB, free: 11.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008072/0.01377, allocations: 1.305 MB / 0.8897 GB, free: 10.49 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.01398, allocations: 130.4 kB / 0.8898 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007433/0.01473, allocations: 0.8458 MB / 0.8907 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006708/0.0154, allocations: 0.7285 MB / 0.8914 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001333/0.01553, allocations: 84 kB / 0.8914 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002729/0.01581, allocations: 155.8 kB / 0.8916 GB, free: 8.539 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0006108/0.01642, allocations: 0.931 MB / 0.8925 GB, free: 7.605 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003526/0.01677, allocations: 0.5023 MB / 0.893 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001109/0.01788, allocations: 1.479 MB / 0.8944 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.01788, allocations: 0 / 0.8944 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.252e-06/0.01788, allocations: 0 / 0.8944 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.0179, allocations: 0 / 0.8944 GB, free: 5.617 MB / 0.8542 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.002464/0.02036, allocations: 2.405 MB / 0.8968 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.02041, allocations: 8.031 kB / 0.8968 GB, free: 3.156 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003485/0.02076, allocations: 295.4 kB / 0.8971 GB, free: 2.867 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001817/0.02258, allocations: 1.76 MB / 0.8988 GB, free: 1.051 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001948/0.02277, allocations: 318.8 kB / 0.8991 GB, free: 0.6914 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.796e-05/0.02287, allocations: 76.36 kB / 0.8992 GB, free: 0.6172 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.0241, allocations: 1.062 MB / 0.9002 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.02411, allocations: 0 / 0.9002 GB, free: 15.53 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-05/0.02417, allocations: 36 kB / 0.9002 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.02419, allocations: 7.984 kB / 0.9002 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007727/0.02496, allocations: 0.6155 MB / 0.9008 GB, free: 14.86 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002615/0.02757, allocations: 2.472 MB / 0.9033 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.02838, allocations: 0.5508 MB / 0.9038 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005739/0.02895, allocations: 0.4937 MB / 0.9043 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.02897, allocations: 0 / 0.9043 GB, free: 11.27 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.548e-05/0.02899, allocations: 45.38 kB / 0.9043 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=115): time 1.673e-06/0.02899, allocations: 0 / 0.9043 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115): time 0.003558/0.03255, allocations: 2.842 MB / 0.9071 GB, free: 8.352 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.03258, allocations: 55.41 kB / 0.9072 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.03421, allocations: 1.872 MB / 0.909 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 7.282e-05/0.03428, allocations: 61.69 kB / 0.909 GB, free: 6.301 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/0.03477, allocations: 0.8467 MB / 0.9099 GB, free: 5.445 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000206/0.03498, allocations: 412.5 kB / 0.9103 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003784/0.03535, allocations: 415 kB / 0.9107 GB, free: 4.625 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.42e-05/0.03545, allocations: 476.8 kB / 0.9111 GB, free: 4.156 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007534/0.0362, allocations: 0.6111 MB / 0.9117 GB, free: 3.547 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000875/0.03708, allocations: 0.8577 MB / 0.9125 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.03878, allocations: 1.542 MB / 0.9141 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.03879, allocations: 4 kB / 0.9141 GB, free: 1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00333/0.04212, allocations: 2.705 MB / 0.9167 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.04214, allocations: 4 kB / 0.9167 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.04215, allocations: 4 kB / 0.9167 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002455/0.0446, allocations: 3.251 MB / 0.9199 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.04471, allocations: 51.91 kB / 0.9199 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003718/0.04843, allocations: 5.243 MB / 0.925 GB, free: 5.578 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.04895, allocations: 194.3 kB / 0.9252 GB, free: 5.387 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.04912, allocations: 179.9 kB / 0.9254 GB, free: 5.211 MB / 0.8855 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.0003206/0.04944, allocations: 216.5 kB / 0.9256 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/0.04972, allocations: 282.4 kB / 0.9259 GB, free: 4.711 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.04984, allocations: 132.8 kB / 0.926 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.04984, allocations: 4.062 kB / 0.926 GB, free: 4.578 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.04984, allocations: 3.984 kB / 0.926 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.04985, allocations: 0 / 0.926 GB, free: 4.574 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007527/0.0506, allocations: 0.8778 MB / 0.9269 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.0506, allocations: 0 / 0.9269 GB, free: 3.656 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.644e-05/0.05064, allocations: 11.98 kB / 0.9269 GB, free: 3.645 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002521/0.05316, allocations: 3.214 MB / 0.93 GB, free: 420 kB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/0.05323, allocations: 59.95 kB / 0.9301 GB, free: 360 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003318/0.05655, allocations: 5.227 MB / 0.9352 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.05655, allocations: 0 / 0.9352 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002708/0.05926, allocations: 2.353 MB / 0.9375 GB, free: 8.602 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001648/0.05942, allocations: 178.5 kB / 0.9377 GB, free: 8.426 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000124/0.05955, allocations: 23.98 kB / 0.9377 GB, free: 8.402 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.05982, allocations: 43.95 kB / 0.9377 GB, free: 8.359 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001644/0.05999, allocations: 119.8 kB / 0.9378 GB, free: 8.242 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001126/0.0601, allocations: 135.9 kB / 0.938 GB, free: 8.109 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009167/0.06102, allocations: 1.039 MB / 0.939 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.71e-07/0.06102, allocations: 0 / 0.939 GB, free: 7.051 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0007098/0.06173, allocations: 431.6 kB / 0.9394 GB, free: 6.629 MB / 0.9011 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.0006538/0.06238, allocations: 298.7 kB / 0.9397 GB, free: 6.402 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004691/0.06707, allocations: 6.68 MB / 0.9462 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.06707, allocations: 3.938 kB / 0.9462 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.07051, allocations: 5.953 MB / 0.952 GB, free: 9.527 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.07154, allocations: 485.4 kB / 0.9525 GB, free: 9.055 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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.3981849597766995]