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.001642/0.001642, allocations: 105.1 kB / 18.99 MB, free: 2.617 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.001789/0.001789, allocations: 220.1 kB / 22.29 MB, free: 5.285 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.566/1.566, allocations: 230.6 MB / 256.1 MB, free: 7.789 MB / 206.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 3.652/3.652, allocations: 0.5096 GB / 0.8148 GB, free: 18.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 68.09 kB / 1.184 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5015/0.5036, allocations: 181.4 MB / 1.362 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006908/0.5105, allocations: 3.413 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00921/0.5197, allocations: 4.677 MB / 1.369 GB, free: 7.508 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007716/0.5205, allocations: 27.75 kB / 1.369 GB, free: 7.48 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002043/0.5226, allocations: 0.4903 MB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.5254, allocations: 0.8566 MB / 1.371 GB, free: 6.129 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.5265, allocations: 407.4 kB / 1.371 GB, free: 5.73 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002182/0.5287, allocations: 1.282 MB / 1.372 GB, free: 4.445 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000439/0.5292, allocations: 130.4 kB / 1.373 GB, free: 4.301 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.5308, allocations: 0.6973 MB / 1.373 GB, free: 3.602 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.5325, allocations: 0.7668 MB / 1.374 GB, free: 2.832 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0004563/0.533, allocations: 84 kB / 1.374 GB, free: 2.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00078/0.5338, allocations: 163.9 kB / 1.374 GB, free: 2.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001349/0.5351, allocations: 0.8803 MB / 1.375 GB, free: 1.707 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.5365, allocations: 0.6521 MB / 1.376 GB, free: 1.051 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003395/0.5399, allocations: 2.182 MB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.5399, allocations: 4 kB / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5399, allocations: 0 / 1.378 GB, free: 14.86 MB / 1.076 GB Notification: Performance of Transformations before backend: time 9.137e-05/0.54, allocations: 0 / 1.378 GB, free: 14.86 MB / 1.076 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.004848/0.5449, allocations: 2.295 MB / 1.38 GB, free: 12.52 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5449, allocations: 8.031 kB / 1.38 GB, free: 12.51 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005519/0.5455, allocations: 235.4 kB / 1.38 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003886/0.5493, allocations: 1.918 MB / 1.382 GB, free: 10.31 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003574/0.5497, allocations: 330.3 kB / 1.383 GB, free: 9.938 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.5499, allocations: 79.97 kB / 1.383 GB, free: 9.859 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00272/0.5526, allocations: 1.437 MB / 1.384 GB, free: 8.402 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.5526, allocations: 0 / 1.384 GB, free: 8.402 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.934e-05/0.5527, allocations: 35.98 kB / 1.384 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.5527, allocations: 4 kB / 1.384 GB, free: 8.363 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.5549, allocations: 1.085 MB / 1.385 GB, free: 7.281 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00502/0.56, allocations: 2.253 MB / 1.387 GB, free: 4.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.5621, allocations: 0.964 MB / 1.388 GB, free: 4.008 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.5638, allocations: 0.8775 MB / 1.389 GB, free: 3.129 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.478e-05/0.5638, allocations: 7.984 kB / 1.389 GB, free: 3.121 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.5638, allocations: 38.44 kB / 1.389 GB, free: 3.074 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 4.088e-06/0.5638, allocations: 0 / 1.389 GB, free: 3.074 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008972/0.5728, allocations: 4.322 MB / 1.393 GB, free: 14.73 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.5728, allocations: 59.41 kB / 1.393 GB, free: 14.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00359/0.5764, allocations: 2.149 MB / 1.395 GB, free: 12.47 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.5767, allocations: 49.69 kB / 1.396 GB, free: 12.42 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007604/0.5774, allocations: 0.748 MB / 1.396 GB, free: 11.66 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/0.5779, allocations: 412.4 kB / 1.397 GB, free: 11.26 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006467/0.5786, allocations: 397.4 kB / 1.397 GB, free: 10.86 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5787, allocations: 305.1 kB / 1.397 GB, free: 10.56 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002329/0.581, allocations: 1.353 MB / 1.399 GB, free: 9.211 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.5836, allocations: 1.537 MB / 1.4 GB, free: 7.621 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005/0.5886, allocations: 2.877 MB / 1.403 GB, free: 4.688 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/0.5886, allocations: 4 kB / 1.403 GB, free: 4.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008448/0.597, allocations: 4.329 MB / 1.407 GB, free: 340 kB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.769e-05/0.5971, allocations: 8 kB / 1.407 GB, free: 332 kB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.832e-05/0.5971, allocations: 4 kB / 1.407 GB, free: 328 kB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005573/0.6027, allocations: 3.724 MB / 1.411 GB, free: 12.58 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.6029, allocations: 59.84 kB / 1.411 GB, free: 12.52 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/0.6119, allocations: 5.698 MB / 1.416 GB, free: 6.723 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.6134, allocations: 206.4 kB / 1.417 GB, free: 6.52 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004229/0.6138, allocations: 179.9 kB / 1.417 GB, free: 6.344 MB / 1.108 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.001214/0.615, allocations: 498 kB / 1.417 GB, free: 5.848 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007228/0.6157, allocations: 238.5 kB / 1.418 GB, free: 5.613 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004/0.6161, allocations: 148.6 kB / 1.418 GB, free: 5.461 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.6161, allocations: 12.05 kB / 1.418 GB, free: 5.449 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.6161, allocations: 0 / 1.418 GB, free: 5.449 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.6161, allocations: 4 kB / 1.418 GB, free: 5.445 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001666/0.6178, allocations: 0.7703 MB / 1.418 GB, free: 4.637 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6178, allocations: 4 kB / 1.418 GB, free: 4.633 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.6179, allocations: 15.92 kB / 1.418 GB, free: 4.617 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005638/0.6236, allocations: 3.707 MB / 1.422 GB, free: 0.8945 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/0.6237, allocations: 55.95 kB / 1.422 GB, free: 0.8398 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008751/0.6325, allocations: 5.704 MB / 1.428 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.6325, allocations: 3.938 kB / 1.428 GB, free: 11.03 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007109/0.6396, allocations: 3.345 MB / 1.431 GB, free: 7.652 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/0.6402, allocations: 174.7 kB / 1.431 GB, free: 7.48 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005242/0.6407, allocations: 24 kB / 1.431 GB, free: 7.457 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.6416, allocations: 51.91 kB / 1.431 GB, free: 7.406 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002784/0.6419, allocations: 119.8 kB / 1.431 GB, free: 7.289 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002015/0.6421, allocations: 135.9 kB / 1.431 GB, free: 7.156 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002893/0.6449, allocations: 1.43 MB / 1.433 GB, free: 5.707 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.6449, allocations: 4 kB / 1.433 GB, free: 5.703 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001606/0.6466, allocations: 435.6 kB / 1.433 GB, free: 5.277 MB / 1.123 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.001256/0.6478, allocations: 319.1 kB / 1.434 GB, free: 5.051 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01111/0.6589, allocations: 7.271 MB / 1.441 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.6589, allocations: 0.75 kB / 1.441 GB, free: 13.68 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.008295/0.6672, allocations: 5.834 MB / 1.446 GB, free: 7.738 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002441/0.6697, allocations: 376.3 kB / 1.447 GB, free: 7.371 MB / 1.139 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:823:5-823:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 8.246638965792954] Failed to read output from testmodel.py, exit status != 0: 0.6870061266236007 0.702833605 0.159446204 Calling exit ...