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.001385/0.001385, allocations: 88.72 kB / 19.44 MB, free: 356 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.001785/0.001785, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.514/1.514, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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 3.388/3.388, allocations: 429.6 MB / 0.673 GB, free: 3.879 MB / 0.6355 GB " [Timeout remaining time 176] 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.593e-06/1.593e-06, allocations: 0 / 0.8777 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.031e-05, allocations: 7.125 kB / 0.8777 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006084/0.006114, allocations: 3.42 MB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.008527/0.01464, allocations: 4.702 MB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001086/0.01573, allocations: 27.75 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.01812, allocations: 0.4912 MB / 0.8861 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.002556/0.02067, allocations: 0.8446 MB / 0.8869 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.0217, allocations: 423 kB / 0.8873 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001998/0.0237, allocations: 1.305 MB / 0.8886 GB, free: 11.21 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004013/0.0241, allocations: 130.4 kB / 0.8887 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/0.02622, allocations: 0.8458 MB / 0.8896 GB, free: 10.22 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001582/0.0278, allocations: 0.7285 MB / 0.8903 GB, free: 9.492 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.02822, allocations: 84 kB / 0.8903 GB, free: 9.41 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007235/0.02894, allocations: 167.8 kB / 0.8905 GB, free: 9.246 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001343/0.03029, allocations: 0.9233 MB / 0.8914 GB, free: 8.32 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009296/0.03122, allocations: 0.4983 MB / 0.8919 GB, free: 7.82 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003154/0.03437, allocations: 2.141 MB / 0.894 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.03438, allocations: 0 / 0.894 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.433e-06/0.03438, allocations: 0 / 0.894 GB, free: 5.672 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.315e-05/0.03444, allocations: 4 kB / 0.894 GB, free: 5.668 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.005184/0.03962, allocations: 2.259 MB / 0.8962 GB, free: 3.367 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.03967, allocations: 8.031 kB / 0.8962 GB, free: 3.359 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008158/0.04048, allocations: 303.4 kB / 0.8965 GB, free: 3.062 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004269/0.04475, allocations: 1.925 MB / 0.8984 GB, free: 1.082 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004037/0.04516, allocations: 318.8 kB / 0.8987 GB, free: 0.7227 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002126/0.04537, allocations: 80.36 kB / 0.8988 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003188/0.04856, allocations: 1.437 MB / 0.9002 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.04857, allocations: 0 / 0.9002 GB, free: 15.19 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001181/0.04869, allocations: 32 kB / 0.9002 GB, free: 15.16 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.0487, allocations: 8 kB / 0.9002 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002456/0.05116, allocations: 1.085 MB / 0.9013 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005064/0.05622, allocations: 2.257 MB / 0.9035 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/0.05851, allocations: 0.9639 MB / 0.9044 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001892/0.0604, allocations: 0.8891 MB / 0.9053 GB, free: 9.891 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.06043, allocations: 11.98 kB / 0.9053 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.554e-05/0.06046, allocations: 38.55 kB / 0.9053 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=115): time 3.526e-06/0.06047, allocations: 0 / 0.9053 GB, free: 9.832 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115): time 0.01007/0.07054, allocations: 4.361 MB / 0.9096 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.07059, allocations: 51.41 kB / 0.9096 GB, free: 5.391 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003925/0.07452, allocations: 2.153 MB / 0.9117 GB, free: 3.199 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002502/0.07477, allocations: 57.69 kB / 0.9118 GB, free: 3.137 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009145/0.07568, allocations: 0.7441 MB / 0.9125 GB, free: 2.387 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.07625, allocations: 404.5 kB / 0.9129 GB, free: 1.988 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008645/0.07711, allocations: 393.4 kB / 0.9133 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002859/0.0774, allocations: 305.1 kB / 0.9136 GB, free: 1.297 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00276/0.08016, allocations: 1.353 MB / 0.9149 GB, free: 15.94 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002917/0.08308, allocations: 1.529 MB / 0.9164 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005579/0.08866, allocations: 2.881 MB / 0.9192 GB, free: 11.43 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.178e-05/0.08868, allocations: 4 kB / 0.9192 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.009301/0.09798, allocations: 4.388 MB / 0.9235 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.388e-05/0.09801, allocations: 8 kB / 0.9235 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/0.09803, allocations: 0 / 0.9235 GB, free: 7.012 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00605/0.1041, allocations: 3.735 MB / 0.9271 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002661/0.1043, allocations: 59.89 kB / 0.9272 GB, free: 3.207 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00968/0.114, allocations: 5.748 MB / 0.9328 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.1153, allocations: 198.4 kB / 0.933 GB, free: 13.16 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000383/0.1157, allocations: 179.9 kB / 0.9332 GB, free: 12.98 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 (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.001095/0.1168, allocations: 493.5 kB / 0.9336 GB, free: 12.49 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007752/0.1176, allocations: 286.4 kB / 0.9339 GB, free: 12.21 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003247/0.1179, allocations: 152.6 kB / 0.9341 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1179, allocations: 4 kB / 0.9341 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.1179, allocations: 0 / 0.9341 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.1179, allocations: 0 / 0.9341 GB, free: 12.06 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001755/0.1197, allocations: 0.7587 MB / 0.9348 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.1197, allocations: 0 / 0.9348 GB, free: 11.27 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1198, allocations: 27.91 kB / 0.9348 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005902/0.1257, allocations: 3.711 MB / 0.9384 GB, free: 7.512 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.1259, allocations: 63.92 kB / 0.9385 GB, free: 7.449 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00942/0.1353, allocations: 5.735 MB / 0.9441 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.1353, allocations: 0 / 0.9441 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007475/0.1428, allocations: 3.38 MB / 0.9474 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.1432, allocations: 178.5 kB / 0.9476 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004374/0.1437, allocations: 35.98 kB / 0.9476 GB, free: 13.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007909/0.1444, allocations: 43.97 kB / 0.9477 GB, free: 13.94 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003218/0.1448, allocations: 119.8 kB / 0.9478 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002196/0.145, allocations: 135.9 kB / 0.9479 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.002639/0.1476, allocations: 1.437 MB / 0.9493 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1476, allocations: 0 / 0.9493 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001403/0.149, allocations: 439.5 kB / 0.9497 GB, free: 11.8 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.001367/0.1504, allocations: 312.1 kB / 0.95 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.01225/0.1626, allocations: 7.32 MB / 0.9572 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1627, allocations: 0 / 0.9572 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00898/0.1716, allocations: 5.871 MB / 0.9629 GB, free: 14.18 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.1741, allocations: 0.4885 MB / 0.9634 GB, free: 13.7 MB / 0.9323 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:846:5-846: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.4131539050722495]