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.001589/0.001589, 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.001764/0.001764, allocations: 210.1 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.449/1.449, 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.204/3.204, allocations: 0.505 GB / 0.8109 GB, free: 23.55 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.002096/0.002096, allocations: 66.44 kB / 1.178 GB, free: 16.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3076/0.3097, allocations: 180.2 MB / 1.354 GB, free: 7.387 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.00527/0.3149, allocations: 3.418 MB / 1.357 GB, free: 3.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006648/0.3216, allocations: 4.681 MB / 1.362 GB, free: 15.26 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/0.3219, allocations: 23.81 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001603/0.3235, allocations: 0.4941 MB / 1.363 GB, free: 14.74 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3253, allocations: 0.845 MB / 1.363 GB, free: 13.89 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007813/0.3261, allocations: 415.3 kB / 1.364 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0013/0.3274, allocations: 1.282 MB / 1.365 GB, free: 12.2 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.3277, allocations: 146.3 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009664/0.3287, allocations: 0.6972 MB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001055/0.3297, allocations: 0.802 MB / 1.367 GB, free: 10.53 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.3299, allocations: 83.94 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003837/0.3303, allocations: 167.9 kB / 1.367 GB, free: 10.29 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000961/0.3313, allocations: 0.8998 MB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006431/0.3319, allocations: 0.6521 MB / 1.368 GB, free: 8.727 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002175/0.3341, allocations: 2.182 MB / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3341, allocations: 0 / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3341, allocations: 0 / 1.37 GB, free: 6.535 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.199e-05/0.3341, allocations: 0 / 1.37 GB, free: 6.535 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.003885/0.338, allocations: 2.283 MB / 1.373 GB, free: 4.211 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.338, allocations: 8.031 kB / 1.373 GB, free: 4.203 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.3385, allocations: 235.4 kB / 1.373 GB, free: 3.973 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003601/0.3421, allocations: 1.922 MB / 1.375 GB, free: 1.996 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003079/0.3424, allocations: 330.3 kB / 1.375 GB, free: 1.625 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.3425, allocations: 71.98 kB / 1.375 GB, free: 1.555 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002619/0.3452, allocations: 1.437 MB / 1.377 GB, free: 100 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.3452, allocations: 4 kB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.3453, allocations: 28 kB / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3453, allocations: 8 kB / 1.377 GB, free: 60 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002177/0.3475, allocations: 1.089 MB / 1.378 GB, free: 14.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004201/0.3517, allocations: 2.249 MB / 1.38 GB, free: 12.67 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002061/0.3537, allocations: 0.9719 MB / 1.381 GB, free: 11.69 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/0.3554, allocations: 0.8773 MB / 1.382 GB, free: 10.81 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.3554, allocations: 4 kB / 1.382 GB, free: 10.8 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.3554, allocations: 34.56 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.504e-06/0.3554, allocations: 4 kB / 1.382 GB, free: 10.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008676/0.3641, allocations: 4.32 MB / 1.386 GB, free: 6.422 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3642, allocations: 55.41 kB / 1.386 GB, free: 6.355 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.3669, allocations: 2.153 MB / 1.388 GB, free: 4.164 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001433/0.367, allocations: 57.62 kB / 1.388 GB, free: 4.102 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/0.3677, allocations: 0.7441 MB / 1.389 GB, free: 3.352 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003857/0.3681, allocations: 416.4 kB / 1.389 GB, free: 2.941 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006317/0.3688, allocations: 401.4 kB / 1.39 GB, free: 2.543 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3689, allocations: 301.1 kB / 1.39 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002263/0.3711, allocations: 1.349 MB / 1.391 GB, free: 0.8984 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002433/0.3736, allocations: 1.537 MB / 1.393 GB, free: 15.31 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00467/0.3783, allocations: 2.877 MB / 1.396 GB, free: 12.38 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.3783, allocations: 4 kB / 1.396 GB, free: 12.37 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007875/0.3861, allocations: 4.325 MB / 1.4 GB, free: 8.027 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.091e-05/0.3862, allocations: 4 kB / 1.4 GB, free: 8.023 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.3862, allocations: 4 kB / 1.4 GB, free: 8.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005649/0.3918, allocations: 3.734 MB / 1.403 GB, free: 4.273 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.3921, allocations: 63.83 kB / 1.404 GB, free: 4.211 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00827/0.4003, allocations: 5.7 MB / 1.409 GB, free: 14.4 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.4015, allocations: 198.4 kB / 1.409 GB, free: 14.21 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003421/0.4018, allocations: 179.9 kB / 1.409 GB, free: 14.03 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.0008358/0.4027, allocations: 497.3 kB / 1.41 GB, free: 13.54 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004408/0.4031, allocations: 246.5 kB / 1.41 GB, free: 13.29 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.4033, allocations: 152.6 kB / 1.41 GB, free: 13.14 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.4033, allocations: 4 kB / 1.41 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.4033, allocations: 3.938 kB / 1.41 GB, free: 13.13 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.461e-06/0.4033, allocations: 3.984 kB / 1.41 GB, free: 13.12 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009857/0.4043, allocations: 0.7586 MB / 1.411 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.4043, allocations: 0 / 1.411 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.4044, allocations: 19.97 kB / 1.411 GB, free: 12.31 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005294/0.4097, allocations: 3.715 MB / 1.415 GB, free: 8.582 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/0.4098, allocations: 59.94 kB / 1.415 GB, free: 8.523 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008407/0.4183, allocations: 5.692 MB / 1.42 GB, free: 2.727 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.4183, allocations: 3.938 kB / 1.42 GB, free: 2.723 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006575/0.4248, allocations: 3.337 MB / 1.424 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000345/0.4252, allocations: 174.5 kB / 1.424 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.4255, allocations: 35.89 kB / 1.424 GB, free: 15.14 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006509/0.4261, allocations: 51.97 kB / 1.424 GB, free: 15.09 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.4264, allocations: 115.8 kB / 1.424 GB, free: 14.98 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001938/0.4266, allocations: 128 kB / 1.424 GB, free: 14.86 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002037/0.4286, allocations: 1.437 MB / 1.425 GB, free: 13.4 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4286, allocations: 0 / 1.425 GB, free: 13.4 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001154/0.4297, allocations: 439.6 kB / 1.426 GB, free: 12.97 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.001096/0.4308, allocations: 314.5 kB / 1.426 GB, free: 12.75 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01092/0.4418, allocations: 7.275 MB / 1.433 GB, free: 5.363 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4418, allocations: 4.25 kB / 1.433 GB, free: 5.359 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007967/0.4497, allocations: 5.828 MB / 1.439 GB, free: 15.43 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001735/0.4515, allocations: 378.4 kB / 1.439 GB, free: 15.06 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 300] [Calling sys.exit(0), Time elapsed: 6.7477684510085965] Failed to read output from testmodel.py, exit status != 0: 0.465588655002648 0.48071569700000005 0.143482574 Calling exit ...