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.001522/0.001522, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001662/0.001662, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.424/1.424, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.119/3.119, allocations: 0.505 GB / 0.8066 GB, free: 23.01 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.001978/0.001978, allocations: 71.67 kB / 1.172 GB, free: 17.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3539, allocations: 180.2 MB / 1.348 GB, free: 9.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005402/0.3593, allocations: 3.739 MB / 1.351 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006762/0.3661, allocations: 4.859 MB / 1.356 GB, free: 1.281 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.3665, allocations: 27.75 kB / 1.356 GB, free: 1.254 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001645/0.3682, allocations: 0.4902 MB / 1.357 GB, free: 0.7617 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001882/0.3701, allocations: 0.8216 MB / 1.358 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007746/0.3708, allocations: 407.4 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001395/0.3722, allocations: 1.282 MB / 1.359 GB, free: 14.25 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.3725, allocations: 142 kB / 1.359 GB, free: 14.1 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009612/0.3735, allocations: 0.6933 MB / 1.36 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.3745, allocations: 0.8097 MB / 1.361 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001668/0.3747, allocations: 83.94 kB / 1.361 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.375, allocations: 171.9 kB / 1.361 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009311/0.3759, allocations: 0.8919 MB / 1.362 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007786/0.3767, allocations: 0.8188 MB / 1.363 GB, free: 10.62 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002204/0.3789, allocations: 2.158 MB / 1.365 GB, free: 8.453 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3789, allocations: 4 kB / 1.365 GB, free: 8.449 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3789, allocations: 0 / 1.365 GB, free: 8.449 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.15e-05/0.379, allocations: 0 / 1.365 GB, free: 8.449 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.003946/0.3829, allocations: 2.358 MB / 1.367 GB, free: 6.031 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.383, allocations: 11.98 kB / 1.367 GB, free: 6.02 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001866/0.3831, allocations: 126.7 kB / 1.367 GB, free: 5.887 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004556/0.3836, allocations: 231.4 kB / 1.367 GB, free: 5.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00321/0.3868, allocations: 1.994 MB / 1.369 GB, free: 3.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/0.3871, allocations: 227.3 kB / 1.37 GB, free: 3.371 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/0.3872, allocations: 75.98 kB / 1.37 GB, free: 3.297 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002581/0.3898, allocations: 1.429 MB / 1.371 GB, free: 1.848 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.3898, allocations: 3.938 kB / 1.371 GB, free: 1.844 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.3899, allocations: 39.98 kB / 1.371 GB, free: 1.805 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3899, allocations: 8 kB / 1.371 GB, free: 1.797 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002185/0.3921, allocations: 1.081 MB / 1.372 GB, free: 0.7148 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004281/0.3964, allocations: 2.725 MB / 1.375 GB, free: 13.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.3984, allocations: 0.9562 MB / 1.376 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001633/0.4, allocations: 0.8853 MB / 1.377 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.879e-05/0.4001, allocations: 4 kB / 1.377 GB, free: 12.06 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.176e-05/0.4001, allocations: 42.5 kB / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.785e-06/0.4001, allocations: 0 / 1.377 GB, free: 12.01 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008806/0.4089, allocations: 4.633 MB / 1.381 GB, free: 7.289 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.409, allocations: 51.41 kB / 1.381 GB, free: 7.227 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/0.4123, allocations: 2.261 MB / 1.383 GB, free: 4.93 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.4125, allocations: 53.69 kB / 1.384 GB, free: 4.871 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007192/0.4132, allocations: 0.7332 MB / 1.384 GB, free: 4.133 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004554/0.4137, allocations: 412.4 kB / 1.385 GB, free: 3.727 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007016/0.4144, allocations: 397.4 kB / 1.385 GB, free: 3.332 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4145, allocations: 305.1 kB / 1.385 GB, free: 3.031 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002346/0.4168, allocations: 1.345 MB / 1.387 GB, free: 1.688 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00244/0.4193, allocations: 1.537 MB / 1.388 GB, free: 100 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004791/0.4241, allocations: 2.887 MB / 1.391 GB, free: 13.16 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.4241, allocations: 4 kB / 1.391 GB, free: 13.15 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008073/0.4321, allocations: 4.339 MB / 1.395 GB, free: 8.793 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.4322, allocations: 4 kB / 1.395 GB, free: 8.789 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/0.4322, allocations: 8.125 kB / 1.395 GB, free: 8.781 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00505/0.4372, allocations: 3.742 MB / 1.399 GB, free: 5.027 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002161/0.4375, allocations: 59.83 kB / 1.399 GB, free: 4.969 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.4456, allocations: 5.7 MB / 1.404 GB, free: 15.16 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/0.4468, allocations: 214.2 kB / 1.405 GB, free: 14.95 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003148/0.4471, allocations: 187.9 kB / 1.405 GB, free: 14.77 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.0008935/0.448, allocations: 497.3 kB / 1.405 GB, free: 14.27 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005572/0.4485, allocations: 250.4 kB / 1.406 GB, free: 14.03 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.4488, allocations: 161.8 kB / 1.406 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4488, allocations: 8 kB / 1.406 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.4488, allocations: 0 / 1.406 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.4488, allocations: 0 / 1.406 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.4503, allocations: 1.102 MB / 1.407 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.604e-06/0.4503, allocations: 0 / 1.407 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.4504, allocations: 19.97 kB / 1.407 GB, free: 12.68 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/0.4553, allocations: 3.74 MB / 1.41 GB, free: 8.926 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.4554, allocations: 67.94 kB / 1.411 GB, free: 8.859 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007876/0.4633, allocations: 5.688 MB / 1.416 GB, free: 3.066 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.4633, allocations: 8.062 kB / 1.416 GB, free: 3.059 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006382/0.4696, allocations: 3.349 MB / 1.419 GB, free: 15.67 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004043/0.47, allocations: 267.5 kB / 1.42 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003455/0.4704, allocations: 27.98 kB / 1.42 GB, free: 15.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.4712, allocations: 47.97 kB / 1.42 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002677/0.4714, allocations: 111.8 kB / 1.42 GB, free: 15.21 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/0.4716, allocations: 135.9 kB / 1.42 GB, free: 15.07 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002327/0.474, allocations: 1.515 MB / 1.421 GB, free: 13.54 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.474, allocations: 0 / 1.421 GB, free: 13.54 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001228/0.4752, allocations: 423.7 kB / 1.422 GB, free: 13.13 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.007464/0.4826, allocations: 4.111 MB / 1.426 GB, free: 9.051 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01021/0.4929, allocations: 7.264 MB / 1.433 GB, free: 1.684 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.4929, allocations: 4.062 kB / 1.433 GB, free: 1.68 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007408/0.5003, allocations: 5.827 MB / 1.439 GB, free: 11.75 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001817/0.5021, allocations: 398 kB / 1.439 GB, free: 11.36 MB / 1.139 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: 6.798916536848992] Failed to read output from testmodel.py, exit status != 0: 0.515343755017966 0.528742672 0.14695317200000002 Calling exit ...