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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001467/0.001467, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.579/1.579, allocations: 230.6 MB / 256 MB, free: 7.805 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.514/3.514, allocations: 0.5107 GB / 0.8158 GB, free: 17.82 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.00213/0.00213, allocations: 71.98 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.4269, allocations: 181.9 MB / 1.364 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006281/0.4332, allocations: 3.429 MB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007678/0.4409, allocations: 4.674 MB / 1.372 GB, free: 5.398 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005439/0.4414, allocations: 27.75 kB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002063/0.4435, allocations: 498 kB / 1.372 GB, free: 4.883 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.4456, allocations: 0.8449 MB / 1.373 GB, free: 4.035 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009115/0.4465, allocations: 423.3 kB / 1.374 GB, free: 3.621 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0016/0.4481, allocations: 1.279 MB / 1.375 GB, free: 2.34 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003261/0.4485, allocations: 126.4 kB / 1.375 GB, free: 2.199 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001169/0.4496, allocations: 0.7051 MB / 1.376 GB, free: 1.492 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001152/0.4508, allocations: 0.7707 MB / 1.376 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000197/0.451, allocations: 80 kB / 1.376 GB, free: 0.6406 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004319/0.4514, allocations: 159.9 kB / 1.377 GB, free: 496 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001015/0.4524, allocations: 0.888 MB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006933/0.4531, allocations: 0.6483 MB / 1.378 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002471/0.4556, allocations: 2.174 MB / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.4556, allocations: 0 / 1.38 GB, free: 12.76 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.314e-06/0.4556, allocations: 4 kB / 1.38 GB, free: 12.75 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.855e-05/0.4556, allocations: 0 / 1.38 GB, free: 12.75 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.004503/0.4601, allocations: 2.275 MB / 1.382 GB, free: 10.44 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.4602, allocations: 12.03 kB / 1.382 GB, free: 10.43 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004942/0.4607, allocations: 235.4 kB / 1.383 GB, free: 10.2 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003859/0.4645, allocations: 1.922 MB / 1.385 GB, free: 8.219 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003495/0.4649, allocations: 342.3 kB / 1.385 GB, free: 7.836 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.465, allocations: 64 kB / 1.385 GB, free: 7.773 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002599/0.4676, allocations: 1.44 MB / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4677, allocations: 0 / 1.386 GB, free: 6.312 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/0.4678, allocations: 35.98 kB / 1.386 GB, free: 6.277 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.296e-05/0.4678, allocations: 8 kB / 1.386 GB, free: 6.27 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/0.4699, allocations: 1.089 MB / 1.387 GB, free: 5.184 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004893/0.4748, allocations: 2.257 MB / 1.39 GB, free: 2.879 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00203/0.4768, allocations: 0.9624 MB / 1.391 GB, free: 1.91 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.4784, allocations: 0.8853 MB / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4784, allocations: 0 / 1.391 GB, free: 1.023 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.134e-05/0.4785, allocations: 34.56 kB / 1.391 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.355e-06/0.4785, allocations: 0 / 1.391 GB, free: 0.9805 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008848/0.4873, allocations: 4.314 MB / 1.396 GB, free: 12.65 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/0.4874, allocations: 55.41 kB / 1.396 GB, free: 12.58 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003869/0.4913, allocations: 2.157 MB / 1.398 GB, free: 10.39 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.4914, allocations: 53.69 kB / 1.398 GB, free: 10.33 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/0.4922, allocations: 0.7441 MB / 1.399 GB, free: 9.578 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004261/0.4926, allocations: 408.5 kB / 1.399 GB, free: 9.176 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006268/0.4932, allocations: 401.3 kB / 1.399 GB, free: 8.777 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.4934, allocations: 305.1 kB / 1.4 GB, free: 8.477 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.4957, allocations: 1.353 MB / 1.401 GB, free: 7.125 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/0.4981, allocations: 1.533 MB / 1.403 GB, free: 5.539 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00482/0.5029, allocations: 2.885 MB / 1.405 GB, free: 2.602 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.5029, allocations: 0 / 1.405 GB, free: 2.602 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00812/0.511, allocations: 4.321 MB / 1.41 GB, free: 14.26 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.195e-05/0.5111, allocations: 8 kB / 1.41 GB, free: 14.25 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.5111, allocations: 12.03 kB / 1.41 GB, free: 14.24 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005352/0.5164, allocations: 3.734 MB / 1.413 GB, free: 10.49 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002397/0.5167, allocations: 63.83 kB / 1.413 GB, free: 10.43 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008103/0.5248, allocations: 5.692 MB / 1.419 GB, free: 4.633 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/0.5261, allocations: 206.3 kB / 1.419 GB, free: 4.43 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/0.5263, allocations: 179.9 kB / 1.419 GB, free: 4.254 MB / 1.107 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.0009023/0.5272, allocations: 0.4898 MB / 1.42 GB, free: 3.754 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004576/0.5277, allocations: 238.5 kB / 1.42 GB, free: 3.52 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001969/0.5279, allocations: 152.6 kB / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.5279, allocations: 0 / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.5279, allocations: 0 / 1.42 GB, free: 3.363 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.5279, allocations: 4.188 kB / 1.42 GB, free: 3.359 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.5289, allocations: 0.7625 MB / 1.421 GB, free: 2.562 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.5289, allocations: 3.938 kB / 1.421 GB, free: 2.559 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.529, allocations: 15.98 kB / 1.421 GB, free: 2.543 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004888/0.5339, allocations: 3.719 MB / 1.424 GB, free: 14.81 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001209/0.534, allocations: 59.95 kB / 1.425 GB, free: 14.75 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008058/0.5421, allocations: 5.68 MB / 1.43 GB, free: 8.965 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.5421, allocations: 3.938 kB / 1.43 GB, free: 8.961 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006438/0.5485, allocations: 3.353 MB / 1.433 GB, free: 5.57 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005771/0.5491, allocations: 186.5 kB / 1.434 GB, free: 5.387 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/0.5494, allocations: 20 kB / 1.434 GB, free: 5.367 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006207/0.55, allocations: 55.94 kB / 1.434 GB, free: 5.312 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.5503, allocations: 111.8 kB / 1.434 GB, free: 5.203 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001846/0.5504, allocations: 131.9 kB / 1.434 GB, free: 5.074 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002208/0.5526, allocations: 1.437 MB / 1.435 GB, free: 3.617 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.5526, allocations: 0 / 1.435 GB, free: 3.617 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001329/0.554, allocations: 439.5 kB / 1.436 GB, free: 3.188 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.001227/0.5552, allocations: 313.9 kB / 1.436 GB, free: 2.965 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01129/0.5665, allocations: 7.271 MB / 1.443 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.5665, allocations: 0 / 1.443 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007842/0.5743, allocations: 5.829 MB / 1.449 GB, free: 5.664 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/0.5764, allocations: 381.5 kB / 1.449 GB, free: 5.293 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: 7.7286284025758505] Failed to read output from testmodel.py, exit status != 0: 0.5925809424370527 0.606971833 0.148005575 Calling exit ...