Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0008023/0.0008023, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0007987/0.0007987, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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 0.8958/0.8958, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.877/1.877, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_13_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 1.001 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.309e-05, allocations: 2.281 kB / 1.001 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003165/0.003178, allocations: 3.426 MB / 1.004 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.003975/0.007153, allocations: 4.687 MB / 1.009 GB, free: 5.316 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002062/0.007359, allocations: 31.75 kB / 1.009 GB, free: 5.285 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001058/0.008417, allocations: 0.49 MB / 1.009 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0009284/0.009346, allocations: 0.8485 MB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003925/0.009738, allocations: 431 kB / 1.01 GB, free: 3.52 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0007292/0.01047, allocations: 1.298 MB / 1.012 GB, free: 2.219 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.01066, allocations: 130.4 kB / 1.012 GB, free: 2.074 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006731/0.01133, allocations: 0.8497 MB / 1.013 GB, free: 1.223 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006322/0.01197, allocations: 0.7285 MB / 1.013 GB, free: 0.4922 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.01209, allocations: 80 kB / 1.013 GB, free: 424 kB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002382/0.01233, allocations: 167.8 kB / 1.014 GB, free: 256 kB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0006362/0.01296, allocations: 0.9311 MB / 1.014 GB, free: 15.32 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003329/0.0133, allocations: 0.4944 MB / 1.015 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.01453, allocations: 2.133 MB / 1.017 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.01453, allocations: 0 / 1.017 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.032e-06/0.01453, allocations: 0 / 1.017 GB, free: 12.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.5e-05/0.01456, allocations: 4 kB / 1.017 GB, free: 12.68 MB / 0.9792 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.002243/0.0168, allocations: 2.267 MB / 1.019 GB, free: 10.37 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.01683, allocations: 9.344 kB / 1.019 GB, free: 10.36 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.01695, allocations: 118.7 kB / 1.019 GB, free: 10.23 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002422/0.01719, allocations: 235.5 kB / 1.02 GB, free: 10 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002103/0.01929, allocations: 1.917 MB / 1.021 GB, free: 8.027 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001767/0.01947, allocations: 330.8 kB / 1.022 GB, free: 7.656 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/0.01956, allocations: 72.12 kB / 1.022 GB, free: 7.586 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001461/0.02102, allocations: 1.437 MB / 1.023 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.02103, allocations: 3.984 kB / 1.023 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.984e-05/0.02109, allocations: 39.97 kB / 1.023 GB, free: 6.086 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.0211, allocations: 8 kB / 1.023 GB, free: 6.078 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001231/0.02233, allocations: 1.081 MB / 1.024 GB, free: 5 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002345/0.02468, allocations: 2.383 MB / 1.027 GB, free: 2.555 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/0.02584, allocations: 0.9717 MB / 1.028 GB, free: 1.574 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.02684, allocations: 0.8814 MB / 1.028 GB, free: 0.6914 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.218e-05/0.02686, allocations: 3.938 kB / 1.029 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/0.02687, allocations: 42.55 kB / 1.029 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=115): time 1.854e-06/0.02687, allocations: 0 / 1.029 GB, free: 0.6367 MB / 0.9792 GB Notification: Performance of matching and sorting (n=115): time 0.004837/0.03171, allocations: 4.322 MB / 1.033 GB, free: 12.3 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.03174, allocations: 59.39 kB / 1.033 GB, free: 12.23 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001678/0.03342, allocations: 2.265 MB / 1.035 GB, free: 9.93 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.04e-05/0.03349, allocations: 61.62 kB / 1.035 GB, free: 9.863 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.03396, allocations: 0.7332 MB / 1.036 GB, free: 9.125 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.03415, allocations: 404.5 kB / 1.036 GB, free: 8.727 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003259/0.03448, allocations: 393.4 kB / 1.037 GB, free: 8.336 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.03454, allocations: 301.1 kB / 1.037 GB, free: 8.039 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.03587, allocations: 1.357 MB / 1.038 GB, free: 6.684 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.03727, allocations: 1.533 MB / 1.04 GB, free: 5.098 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002745/0.04001, allocations: 2.881 MB / 1.042 GB, free: 2.168 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.04002, allocations: 4 kB / 1.042 GB, free: 2.164 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.4252/0.4652, allocations: 4.33 MB / 1.047 GB, free: 81.93 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.4653, allocations: 6.594 kB / 1.047 GB, free: 81.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.4653, allocations: 5.75 kB / 1.047 GB, free: 81.93 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002471/0.4678, allocations: 3.739 MB / 1.05 GB, free: 81.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4679, allocations: 55.58 kB / 1.05 GB, free: 81.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003941/0.4718, allocations: 5.707 MB / 1.056 GB, free: 78.12 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006797/0.4725, allocations: 209.2 kB / 1.056 GB, free: 78.11 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.4726, allocations: 188.3 kB / 1.056 GB, free: 78.09 MB / 0.9948 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.000528/0.4732, allocations: 492.3 kB / 1.057 GB, free: 77.86 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.4734, allocations: 253.7 kB / 1.057 GB, free: 77.79 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.4735, allocations: 163.4 kB / 1.057 GB, free: 77.72 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.4735, allocations: 0 / 1.057 GB, free: 77.72 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.4735, allocations: 3.938 kB / 1.057 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4735, allocations: 9.484 kB / 1.057 GB, free: 77.71 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000553/0.474, allocations: 0.8358 MB / 1.058 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.474, allocations: 0 / 1.058 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.182e-05/0.4741, allocations: 15.05 kB / 1.058 GB, free: 77.33 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002358/0.4764, allocations: 3.715 MB / 1.062 GB, free: 76.85 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/0.4765, allocations: 61.62 kB / 1.062 GB, free: 76.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003574/0.4801, allocations: 5.697 MB / 1.067 GB, free: 73.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4801, allocations: 0 / 1.067 GB, free: 73.44 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003588/0.4837, allocations: 3.352 MB / 1.071 GB, free: 72.08 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.4838, allocations: 187.5 kB / 1.071 GB, free: 71.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000141/0.4839, allocations: 26.12 kB / 1.071 GB, free: 71.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.4843, allocations: 47.84 kB / 1.071 GB, free: 71.93 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001509/0.4844, allocations: 125.6 kB / 1.071 GB, free: 71.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001173/0.4845, allocations: 128.7 kB / 1.071 GB, free: 71.9 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001292/0.4858, allocations: 1.517 MB / 1.073 GB, free: 71.4 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.4858, allocations: 0 / 1.073 GB, free: 71.4 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0007045/0.4865, allocations: 426.2 kB / 1.073 GB, free: 71.35 MB / 0.9948 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.004235/0.4908, allocations: 4.119 MB / 1.077 GB, free: 69.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005375/0.4961, allocations: 7.275 MB / 1.084 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4961, allocations: 0 / 1.084 GB, free: 65.21 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.003763/0.4999, allocations: 5.833 MB / 1.09 GB, free: 61.48 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009299/0.5008, allocations: 390.2 kB / 1.09 GB, free: 61.31 MB / 0.9948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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: 4.525161881931126]