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.001254/0.001254, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.00146/0.00146, allocations: 213.8 kB / 22.24 MB, free: 5.242 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.347/1.347, allocations: 230.6 MB / 256 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.031/3.031, allocations: 0.5107 GB / 0.8158 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_latest_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_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me",version="2.0",platforms={"static"}) [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.001983/0.001983, allocations: 69.16 kB / 1.186 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3072, allocations: 181.9 MB / 1.363 GB, free: 14.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005155/0.3124, allocations: 3.424 MB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00647/0.3188, allocations: 4.673 MB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003596/0.3192, allocations: 31.75 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001622/0.3208, allocations: 0.4903 MB / 1.372 GB, free: 5.379 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001844/0.3227, allocations: 0.8411 MB / 1.373 GB, free: 4.535 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008116/0.3235, allocations: 427.3 kB / 1.373 GB, free: 4.117 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00135/0.3248, allocations: 1.271 MB / 1.374 GB, free: 2.844 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002931/0.3251, allocations: 134.4 kB / 1.374 GB, free: 2.695 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009549/0.3261, allocations: 0.6856 MB / 1.375 GB, free: 2.008 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.3277, allocations: 0.7785 MB / 1.376 GB, free: 1.227 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.3279, allocations: 80 kB / 1.376 GB, free: 1.148 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.3283, allocations: 163.9 kB / 1.376 GB, free: 0.9883 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009398/0.3293, allocations: 0.8919 MB / 1.377 GB, free: 96 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006606/0.3299, allocations: 0.6445 MB / 1.378 GB, free: 15.44 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002231/0.3321, allocations: 2.185 MB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3321, allocations: 0 / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3322, allocations: 4 kB / 1.38 GB, free: 13.25 MB / 1.076 GB Notification: Performance of Transformations before backend: time 2.491e-05/0.3322, allocations: 0 / 1.38 GB, free: 13.25 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.003622/0.3358, allocations: 2.271 MB / 1.382 GB, free: 10.93 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.3358, allocations: 12.03 kB / 1.382 GB, free: 10.92 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001675/0.336, allocations: 126.7 kB / 1.382 GB, free: 10.79 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004087/0.3364, allocations: 239.4 kB / 1.382 GB, free: 10.55 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.3399, allocations: 1.926 MB / 1.384 GB, free: 8.574 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.3402, allocations: 330.1 kB / 1.385 GB, free: 8.203 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.3403, allocations: 75.98 kB / 1.385 GB, free: 8.129 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002465/0.3428, allocations: 1.425 MB / 1.386 GB, free: 6.684 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3428, allocations: 4 kB / 1.386 GB, free: 6.68 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.914e-05/0.3429, allocations: 28 kB / 1.386 GB, free: 6.652 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.3429, allocations: 8 kB / 1.386 GB, free: 6.645 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.3449, allocations: 1.093 MB / 1.387 GB, free: 5.555 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004256/0.3492, allocations: 2.39 MB / 1.389 GB, free: 3.102 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.3511, allocations: 0.9523 MB / 1.39 GB, free: 2.141 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00156/0.3526, allocations: 0.8891 MB / 1.391 GB, free: 1.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.3527, allocations: 4 kB / 1.391 GB, free: 1.246 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/0.3527, allocations: 38.5 kB / 1.391 GB, free: 1.199 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 3.276e-06/0.3527, allocations: 0 / 1.391 GB, free: 1.199 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008275/0.361, allocations: 4.337 MB / 1.396 GB, free: 12.85 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.361, allocations: 51.41 kB / 1.396 GB, free: 12.79 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/0.3639, allocations: 2.261 MB / 1.398 GB, free: 10.49 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001638/0.3641, allocations: 49.7 kB / 1.398 GB, free: 10.43 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006649/0.3648, allocations: 0.741 MB / 1.399 GB, free: 9.688 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.3651, allocations: 408.5 kB / 1.399 GB, free: 9.285 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005639/0.3657, allocations: 397.4 kB / 1.399 GB, free: 8.891 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.3658, allocations: 305.1 kB / 1.4 GB, free: 8.59 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002161/0.368, allocations: 1.349 MB / 1.401 GB, free: 7.242 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00233/0.3703, allocations: 1.537 MB / 1.402 GB, free: 5.652 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/0.3748, allocations: 2.881 MB / 1.405 GB, free: 2.719 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.3748, allocations: 0 / 1.405 GB, free: 2.719 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007609/0.3825, allocations: 4.341 MB / 1.409 GB, free: 14.35 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.3825, allocations: 10.28 kB / 1.409 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/0.3825, allocations: 7.938 kB / 1.409 GB, free: 14.34 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004759/0.3873, allocations: 3.726 MB / 1.413 GB, free: 10.6 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.3875, allocations: 55.89 kB / 1.413 GB, free: 10.54 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00764/0.3951, allocations: 5.704 MB / 1.419 GB, free: 4.738 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00115/0.3963, allocations: 218.2 kB / 1.419 GB, free: 4.523 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000258/0.3965, allocations: 184.1 kB / 1.419 GB, free: 4.344 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.0008387/0.3974, allocations: 498.8 kB / 1.42 GB, free: 3.848 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004132/0.3978, allocations: 246.4 kB / 1.42 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002018/0.398, allocations: 161.8 kB / 1.42 GB, free: 3.438 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.398, allocations: 4 kB / 1.42 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.398, allocations: 0 / 1.42 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.398, allocations: 0 / 1.42 GB, free: 3.434 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.399, allocations: 0.8479 MB / 1.421 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.399, allocations: 0 / 1.421 GB, free: 2.539 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3991, allocations: 27.91 kB / 1.421 GB, free: 2.512 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004659/0.4038, allocations: 3.708 MB / 1.424 GB, free: 14.79 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001207/0.4039, allocations: 67.92 kB / 1.425 GB, free: 14.72 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0075/0.4114, allocations: 5.696 MB / 1.43 GB, free: 8.922 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/0.4114, allocations: 4 kB / 1.43 GB, free: 8.918 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006025/0.4174, allocations: 3.357 MB / 1.433 GB, free: 5.523 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004351/0.4179, allocations: 186.4 kB / 1.434 GB, free: 5.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002766/0.4182, allocations: 24 kB / 1.434 GB, free: 5.316 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/0.4188, allocations: 51.95 kB / 1.434 GB, free: 5.266 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002361/0.419, allocations: 115.8 kB / 1.434 GB, free: 5.152 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.4192, allocations: 131.9 kB / 1.434 GB, free: 5.023 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00204/0.4212, allocations: 1.519 MB / 1.435 GB, free: 3.488 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.4212, allocations: 0 / 1.435 GB, free: 3.488 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001136/0.4223, allocations: 427.7 kB / 1.436 GB, free: 3.07 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.007201/0.4296, allocations: 4.122 MB / 1.44 GB, free: 15 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009734/0.4393, allocations: 7.267 MB / 1.447 GB, free: 7.633 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.4393, allocations: 0 / 1.447 GB, free: 7.633 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.007226/0.4465, allocations: 5.829 MB / 1.453 GB, free: 1.699 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.4483, allocations: 386.7 kB / 1.453 GB, free: 1.32 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.413470774888992] Failed to read output from testmodel.py, exit status != 0: 0.4616391099989414 0.478178389 0.142951037 Calling exit ...