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.0009836/0.0009836, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001023/0.001023, allocations: 169.7 kB / 23.28 MB, free: 1.219 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.9199/0.9199, allocations: 177.1 MB / 203.7 MB, free: 5.496 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.289/2.289, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 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.613e-06/1.613e-06, allocations: 0 / 0.8898 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.154e-05/2.315e-05, allocations: 9.125 kB / 0.8898 GB, free: 9.688 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003922/0.003945, allocations: 3.608 MB / 0.8933 GB, free: 6.062 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.00516/0.009105, allocations: 4.942 MB / 0.8982 GB, free: 1.098 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004418/0.009547, allocations: 27.75 kB / 0.8982 GB, free: 1.07 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.0108, allocations: 0.4902 MB / 0.8987 GB, free: 0.5781 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.01204, allocations: 0.8446 MB / 0.8995 GB, free: 15.73 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.000605/0.01264, allocations: 419.1 kB / 0.8999 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001241/0.01388, allocations: 1.313 MB / 0.9012 GB, free: 14 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002445/0.01413, allocations: 126.4 kB / 0.9013 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001191/0.01532, allocations: 0.8615 MB / 0.9021 GB, free: 13 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008831/0.0162, allocations: 0.7948 MB / 0.9029 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/0.01636, allocations: 80 kB / 0.903 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.01664, allocations: 159.8 kB / 0.9031 GB, free: 11.96 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005774/0.01722, allocations: 0.9116 MB / 0.904 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006085/0.01783, allocations: 486.3 kB / 0.9045 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001057/0.01889, allocations: 1.471 MB / 0.9059 GB, free: 9.098 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.01889, allocations: 4 kB / 0.9059 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.755e-06/0.01889, allocations: 4 kB / 0.9059 GB, free: 9.09 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.12e-05/0.01891, allocations: 0 / 0.9059 GB, free: 9.09 MB / 0.8698 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.002/0.02091, allocations: 2.388 MB / 0.9083 GB, free: 6.652 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.02095, allocations: 8.625 kB / 0.9083 GB, free: 6.645 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000303/0.02126, allocations: 299.4 kB / 0.9086 GB, free: 6.352 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001551/0.02281, allocations: 1.697 MB / 0.9102 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.02298, allocations: 326.8 kB / 0.9105 GB, free: 4.23 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.519e-05/0.02307, allocations: 68.36 kB / 0.9106 GB, free: 4.164 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.02428, allocations: 0.9798 MB / 0.9116 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.02429, allocations: 3.938 kB / 0.9116 GB, free: 3.152 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.4e-05/0.02435, allocations: 39.98 kB / 0.9116 GB, free: 3.113 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.144e-06/0.02435, allocations: 8 kB / 0.9116 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.02484, allocations: 0.512 MB / 0.9121 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001977/0.02682, allocations: 2.165 MB / 0.9142 GB, free: 388 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005747/0.02739, allocations: 0.4923 MB / 0.9147 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003827/0.02777, allocations: 429.5 kB / 0.9151 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.02779, allocations: 4 kB / 0.9151 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.076e-05/0.02781, allocations: 37.33 kB / 0.9152 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=115): time 2.725e-06/0.02781, allocations: 0 / 0.9152 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=115): time 0.002694/0.0305, allocations: 2.588 MB / 0.9177 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.578e-05/0.03053, allocations: 59.39 kB / 0.9177 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/0.03206, allocations: 1.828 MB / 0.9195 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.03212, allocations: 57.69 kB / 0.9196 GB, free: 10.78 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004585/0.03258, allocations: 0.8698 MB / 0.9204 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/0.03278, allocations: 412.5 kB / 0.9208 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003483/0.03313, allocations: 418.8 kB / 0.9212 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.506e-05/0.03323, allocations: 480.7 kB / 0.9217 GB, free: 8.605 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005071/0.03373, allocations: 0.5212 MB / 0.9222 GB, free: 8.086 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006411/0.03438, allocations: 0.7677 MB / 0.9229 GB, free: 7.246 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/0.03559, allocations: 1.366 MB / 0.9243 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.03559, allocations: 4 kB / 0.9243 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.002661/0.03825, allocations: 2.454 MB / 0.9267 GB, free: 3.324 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.03827, allocations: 10.19 kB / 0.9267 GB, free: 3.316 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.03828, allocations: 7.938 kB / 0.9267 GB, free: 3.309 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002264/0.04055, allocations: 3.18 MB / 0.9298 GB, free: 120 kB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003618/0.04091, allocations: 47.91 kB / 0.9298 GB, free: 72 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002941/0.04385, allocations: 5.076 MB / 0.9348 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005142/0.04437, allocations: 190.4 kB / 0.935 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.0445, allocations: 171.9 kB / 0.9351 GB, free: 10.51 MB / 0.9011 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.0003221/0.04483, allocations: 224.4 kB / 0.9354 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002635/0.04509, allocations: 290.4 kB / 0.9356 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.0452, allocations: 128.6 kB / 0.9358 GB, free: 9.863 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.04521, allocations: 4 kB / 0.9358 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.685e-06/0.04521, allocations: 0 / 0.9358 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.04521, allocations: 0 / 0.9358 GB, free: 9.859 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000552/0.04576, allocations: 0.6271 MB / 0.9364 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.04577, allocations: 3.984 kB / 0.9364 GB, free: 9.199 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.376e-05/0.0458, allocations: 8 kB / 0.9364 GB, free: 9.191 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/0.04807, allocations: 3.148 MB / 0.9395 GB, free: 6.023 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-05/0.04813, allocations: 67.92 kB / 0.9395 GB, free: 5.957 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003029/0.05116, allocations: 5.062 MB / 0.9445 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.05116, allocations: 0 / 0.9445 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.05315, allocations: 2.161 MB / 0.9466 GB, free: 14.56 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.05335, allocations: 174.5 kB / 0.9467 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.05348, allocations: 36.05 kB / 0.9468 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002598/0.05374, allocations: 35.92 kB / 0.9468 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001405/0.05388, allocations: 119.8 kB / 0.9469 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.892e-05/0.05398, allocations: 124 kB / 0.947 GB, free: 14.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0007014/0.05468, allocations: 0.9685 MB / 0.948 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5.1e-08/0.05468, allocations: 0 / 0.948 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000725/0.0554, allocations: 431.6 kB / 0.9484 GB, free: 12.67 MB / 0.9167 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.000625/0.05603, allocations: 291.7 kB / 0.9487 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004393/0.06042, allocations: 6.444 MB / 0.955 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.06043, allocations: 0 / 0.955 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.06355, allocations: 5.782 MB / 0.9606 GB, free: 0 / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00116/0.06471, allocations: 487.5 kB / 0.9611 GB, free: 15.52 MB / 0.9323 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:827:5-827: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.203663014341146]