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.001355/0.001355, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001486/0.001486, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.398/3.398, allocations: 0.505 GB / 0.8108 GB, free: 23.52 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.002095/0.002095, allocations: 70.94 kB / 1.178 GB, free: 16.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4469/0.449, allocations: 180.2 MB / 1.354 GB, free: 7.379 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006476/0.4555, allocations: 3.429 MB / 1.357 GB, free: 3.93 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008479/0.464, allocations: 4.666 MB / 1.362 GB, free: 15.25 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005508/0.4645, allocations: 31.75 kB / 1.362 GB, free: 15.22 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.4666, allocations: 498 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002298/0.4689, allocations: 0.845 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.4699, allocations: 415.4 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001858/0.4717, allocations: 1.279 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003625/0.4721, allocations: 150.3 kB / 1.365 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.4734, allocations: 0.7011 MB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001235/0.4746, allocations: 0.8059 MB / 1.367 GB, free: 10.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002052/0.4748, allocations: 80 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004663/0.4753, allocations: 159.9 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/0.4764, allocations: 0.9075 MB / 1.368 GB, free: 9.375 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008264/0.4772, allocations: 0.6443 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002857/0.4801, allocations: 2.178 MB / 1.37 GB, free: 6.539 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.4801, allocations: 8 kB / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.996e-06/0.4801, allocations: 0 / 1.37 GB, free: 6.531 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.04e-05/0.4801, allocations: 0 / 1.37 GB, free: 6.531 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.00486/0.485, allocations: 2.279 MB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.485, allocations: 12.03 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005565/0.4856, allocations: 239.4 kB / 1.373 GB, free: 3.965 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003955/0.4895, allocations: 1.918 MB / 1.375 GB, free: 1.992 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.4899, allocations: 330.3 kB / 1.375 GB, free: 1.621 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001862/0.4901, allocations: 72 kB / 1.375 GB, free: 1.551 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.4929, allocations: 1.433 MB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4929, allocations: 3.938 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.493, allocations: 35.98 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.493, allocations: 8 kB / 1.377 GB, free: 52 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.4952, allocations: 1.089 MB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004928/0.5001, allocations: 2.249 MB / 1.38 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002088/0.5022, allocations: 0.9678 MB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.5039, allocations: 0.8814 MB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.185e-05/0.5039, allocations: 0 / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.779e-05/0.5039, allocations: 38.55 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.284e-06/0.5039, allocations: 4 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.009252/0.5132, allocations: 4.31 MB / 1.386 GB, free: 6.422 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.5132, allocations: 59.39 kB / 1.386 GB, free: 6.352 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003531/0.5168, allocations: 2.149 MB / 1.388 GB, free: 4.164 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.517, allocations: 57.62 kB / 1.388 GB, free: 4.102 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007914/0.5178, allocations: 0.748 MB / 1.389 GB, free: 3.348 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004923/0.5183, allocations: 408.5 kB / 1.389 GB, free: 2.945 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/0.5189, allocations: 397.4 kB / 1.39 GB, free: 2.551 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.5191, allocations: 301.1 kB / 1.39 GB, free: 2.254 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002453/0.5215, allocations: 1.361 MB / 1.391 GB, free: 0.8945 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00254/0.5241, allocations: 1.533 MB / 1.393 GB, free: 15.3 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004917/0.529, allocations: 2.881 MB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.529, allocations: 0 / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008342/0.5373, allocations: 4.329 MB / 1.4 GB, free: 8.023 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.5374, allocations: 8 kB / 1.4 GB, free: 8.016 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.61e-05/0.5374, allocations: 8.094 kB / 1.4 GB, free: 8.008 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005249/0.5426, allocations: 3.737 MB / 1.403 GB, free: 4.258 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002228/0.5429, allocations: 55.84 kB / 1.404 GB, free: 4.203 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008313/0.5512, allocations: 5.696 MB / 1.409 GB, free: 14.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.5524, allocations: 202.3 kB / 1.409 GB, free: 14.2 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002833/0.5527, allocations: 179.9 kB / 1.409 GB, free: 14.02 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.0009507/0.5537, allocations: 497.5 kB / 1.41 GB, free: 13.53 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/0.5541, allocations: 242.4 kB / 1.41 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002248/0.5544, allocations: 156.6 kB / 1.41 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.5544, allocations: 0 / 1.41 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.5544, allocations: 0 / 1.41 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.5544, allocations: 3.984 kB / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/0.5555, allocations: 0.7703 MB / 1.411 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.5555, allocations: 0 / 1.411 GB, free: 12.32 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.5556, allocations: 15.98 kB / 1.411 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005012/0.5606, allocations: 3.704 MB / 1.415 GB, free: 8.586 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001362/0.5607, allocations: 67.94 kB / 1.415 GB, free: 8.52 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007863/0.5686, allocations: 5.692 MB / 1.42 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5686, allocations: 3.938 kB / 1.42 GB, free: 2.719 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006267/0.5749, allocations: 3.337 MB / 1.424 GB, free: 15.34 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003977/0.5753, allocations: 182.6 kB / 1.424 GB, free: 15.16 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002582/0.5755, allocations: 24 kB / 1.424 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006922/0.5762, allocations: 51.88 kB / 1.424 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002815/0.5765, allocations: 123.7 kB / 1.424 GB, free: 14.97 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/0.5767, allocations: 128 kB / 1.424 GB, free: 14.85 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002056/0.5787, allocations: 1.434 MB / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.5787, allocations: 0 / 1.425 GB, free: 13.39 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001344/0.5801, allocations: 439.5 kB / 1.426 GB, free: 12.96 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.001198/0.5813, allocations: 317.7 kB / 1.426 GB, free: 12.74 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01089/0.5922, allocations: 7.279 MB / 1.433 GB, free: 5.355 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-05/0.5922, allocations: 0 / 1.433 GB, free: 5.355 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008237/0.6004, allocations: 5.835 MB / 1.439 GB, free: 15.41 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002044/0.6025, allocations: 375.5 kB / 1.439 GB, free: 15.05 MB / 1.139 GB [/var/lib/jenkins1/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.724407734000124] Failed to read output from testmodel.py, exit status != 0: 0.6183946210076101 0.6327848030000001 0.14945827 Calling exit ...