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.001646/0.001646, allocations: 112.6 kB / 17.13 MB, free: 6.008 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.00174/0.00174, allocations: 212.7 kB / 20.1 MB, free: 3.055 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.506/1.506, allocations: 230.6 MB / 253.5 MB, free: 15.09 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 2.984/2.984, allocations: 0.505 GB / 0.8072 GB, free: 2.059 MB / 0.6387 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.002023/0.002023, allocations: 71.89 kB / 1.173 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.024/1.026, allocations: 180.2 MB / 1.349 GB, free: 5.355 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005262/1.031, allocations: 3.73 MB / 1.353 GB, free: 2.707 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006599/1.038, allocations: 4.859 MB / 1.357 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005593/1.038, allocations: 25.91 kB / 1.357 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001941/1.04, allocations: 0.4895 MB / 1.358 GB, free: 15.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00231/1.043, allocations: 0.8262 MB / 1.359 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/1.044, allocations: 413.8 kB / 1.359 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.002181/1.046, allocations: 1.28 MB / 1.36 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003537/1.046, allocations: 144.1 kB / 1.36 GB, free: 13.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/1.048, allocations: 0.6987 MB / 1.361 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001386/1.049, allocations: 0.8161 MB / 1.362 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002066/1.049, allocations: 80.81 kB / 1.362 GB, free: 13.3 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004743/1.05, allocations: 159.2 kB / 1.362 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/1.051, allocations: 0.9023 MB / 1.363 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001/1.052, allocations: 0.8183 MB / 1.364 GB, free: 12.41 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.003312/1.055, allocations: 2.154 MB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.055, allocations: 0 / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.232e-06/1.055, allocations: 1.312 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.003e-05/1.055, allocations: 0.6562 kB / 1.366 GB, free: 11.6 MB / 1.061 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.005124/1.061, allocations: 2.357 MB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.932e-05/1.061, allocations: 14.08 kB / 1.368 GB, free: 10.08 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008194/1.061, allocations: 233.3 kB / 1.368 GB, free: 9.957 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/1.066, allocations: 1.99 MB / 1.37 GB, free: 8.566 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003247/1.066, allocations: 233.2 kB / 1.371 GB, free: 8.391 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/1.066, allocations: 69.77 kB / 1.371 GB, free: 8.363 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002975/1.069, allocations: 1.435 MB / 1.372 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/1.069, allocations: 0 / 1.372 GB, free: 7.508 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001169/1.069, allocations: 40 kB / 1.372 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/1.069, allocations: 7.844 kB / 1.372 GB, free: 7.477 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/1.072, allocations: 1.084 MB / 1.373 GB, free: 6.934 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/1.077, allocations: 2.715 MB / 1.376 GB, free: 4.855 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002231/1.079, allocations: 0.974 MB / 1.377 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001779/1.081, allocations: 0.8767 MB / 1.378 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/1.081, allocations: 1.406 kB / 1.378 GB, free: 3.91 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/1.081, allocations: 40.02 kB / 1.378 GB, free: 3.863 MB / 1.061 GB Notification: Performance of pre-optimization done (n=115): time 3.116e-06/1.081, allocations: 0 / 1.378 GB, free: 3.863 MB / 1.061 GB Notification: Performance of matching and sorting (n=115): time 0.00984/1.091, allocations: 4.634 MB / 1.382 GB, free: 1.309 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.22e-05/1.091, allocations: 53.75 kB / 1.382 GB, free: 1.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004147/1.095, allocations: 2.26 MB / 1.384 GB, free: 76 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0003804/1.096, allocations: 54.72 kB / 1.385 GB, free: 20 kB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008532/1.096, allocations: 0.737 MB / 1.385 GB, free: 15.38 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006007/1.097, allocations: 409.9 kB / 1.386 GB, free: 15.02 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007458/1.098, allocations: 395.5 kB / 1.386 GB, free: 14.82 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.098, allocations: 302.4 kB / 1.386 GB, free: 14.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00252/1.1, allocations: 1.351 MB / 1.388 GB, free: 13.89 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002667/1.103, allocations: 1.533 MB / 1.389 GB, free: 13.05 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00525/1.108, allocations: 2.886 MB / 1.392 GB, free: 11.57 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.321e-05/1.108, allocations: 1.281 kB / 1.392 GB, free: 11.57 MB / 1.076 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.009314/1.118, allocations: 4.344 MB / 1.396 GB, free: 9.445 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.928e-05/1.118, allocations: 10.77 kB / 1.396 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/1.118, allocations: 5 kB / 1.396 GB, free: 9.441 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/1.123, allocations: 3.754 MB / 1.4 GB, free: 8.543 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002631/1.123, allocations: 61.45 kB / 1.4 GB, free: 8.52 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008937/1.132, allocations: 5.694 MB / 1.405 GB, free: 4.527 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.134, allocations: 218.3 kB / 1.406 GB, free: 4.312 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003352/1.135, allocations: 187.9 kB / 1.406 GB, free: 4.129 MB / 1.076 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.001271/1.136, allocations: 499.1 kB / 1.406 GB, free: 3.633 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006451/1.136, allocations: 250.4 kB / 1.407 GB, free: 3.387 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002886/1.137, allocations: 161.8 kB / 1.407 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/1.137, allocations: 0 / 1.407 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/1.137, allocations: 0 / 1.407 GB, free: 3.223 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.137, allocations: 3.984 kB / 1.407 GB, free: 3.219 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/1.138, allocations: 1.106 MB / 1.408 GB, free: 2.059 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/1.138, allocations: 3.938 kB / 1.408 GB, free: 2.055 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/1.138, allocations: 11.98 kB / 1.408 GB, free: 2.043 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005171/1.144, allocations: 3.736 MB / 1.411 GB, free: 14.29 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001806/1.144, allocations: 59.95 kB / 1.412 GB, free: 14.23 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008382/1.152, allocations: 5.696 MB / 1.417 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.152, allocations: 0 / 1.417 GB, free: 8.434 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/1.159, allocations: 3.354 MB / 1.42 GB, free: 5.047 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006959/1.16, allocations: 263.5 kB / 1.421 GB, free: 4.77 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004004/1.16, allocations: 35.97 kB / 1.421 GB, free: 4.734 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006747/1.161, allocations: 47.97 kB / 1.421 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002804/1.161, allocations: 111.8 kB / 1.421 GB, free: 4.578 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002/1.161, allocations: 131.9 kB / 1.421 GB, free: 4.449 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002344/1.164, allocations: 1.519 MB / 1.422 GB, free: 2.914 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.164, allocations: 3.938 kB / 1.422 GB, free: 2.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001466/1.165, allocations: 427.7 kB / 1.423 GB, free: 2.492 MB / 1.092 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.001128/1.166, allocations: 295.3 kB / 1.423 GB, free: 2.27 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01093/1.177, allocations: 7.265 MB / 1.43 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.177, allocations: 4 kB / 1.43 GB, free: 10.9 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.008268/1.186, allocations: 5.826 MB / 1.436 GB, free: 4.969 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002494/1.188, allocations: 392.9 kB / 1.436 GB, free: 4.586 MB / 1.107 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818: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.491064119007206] Failed to read output from testmodel.py, exit status != 0: 1.2039596180111403 1.216443993 0.158274923 Calling exit ...