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.001456/0.001456, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001613/0.001613, allocations: 208.8 kB / 22.24 MB, free: 5.262 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.344/1.344, allocations: 230.6 MB / 256 MB, free: 7.734 MB / 206.1 MB " [Timeout remaining time 179] 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 2.978/2.978, allocations: 0.5107 GB / 0.8158 GB, free: 17.78 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.001945/0.001945, allocations: 66.08 kB / 1.186 GB, free: 13.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.313/0.315, allocations: 181.9 MB / 1.363 GB, free: 14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005372/0.3203, allocations: 3.414 MB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007443/0.3278, allocations: 4.685 MB / 1.371 GB, free: 5.859 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005047/0.3283, allocations: 31.75 kB / 1.371 GB, free: 5.828 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/0.33, allocations: 494 kB / 1.372 GB, free: 5.344 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.3321, allocations: 0.8411 MB / 1.373 GB, free: 4.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008832/0.333, allocations: 419.4 kB / 1.373 GB, free: 4.09 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001582/0.3346, allocations: 1.275 MB / 1.374 GB, free: 2.812 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.3349, allocations: 138.4 kB / 1.374 GB, free: 2.66 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001175/0.336, allocations: 0.6933 MB / 1.375 GB, free: 1.965 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00127/0.3373, allocations: 0.776 MB / 1.376 GB, free: 1.188 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002942/0.3376, allocations: 80 kB / 1.376 GB, free: 1.109 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005223/0.3381, allocations: 155.9 kB / 1.376 GB, free: 0.957 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.00106/0.3392, allocations: 0.888 MB / 1.377 GB, free: 68 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/0.3405, allocations: 0.6521 MB / 1.378 GB, free: 15.41 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.343, allocations: 2.189 MB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.343, allocations: 3.984 kB / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.703e-06/0.343, allocations: 0 / 1.38 GB, free: 13.21 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.177e-05/0.3431, allocations: 0 / 1.38 GB, free: 13.21 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.004231/0.3473, allocations: 2.263 MB / 1.382 GB, free: 10.9 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3474, allocations: 16.02 kB / 1.382 GB, free: 10.89 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/0.3476, allocations: 126.6 kB / 1.382 GB, free: 10.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.348, allocations: 235.4 kB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003478/0.3515, allocations: 1.922 MB / 1.384 GB, free: 8.547 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.3518, allocations: 326.2 kB / 1.385 GB, free: 8.18 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.3519, allocations: 71.98 kB / 1.385 GB, free: 8.109 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002538/0.3545, allocations: 1.433 MB / 1.386 GB, free: 6.656 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.3545, allocations: 4 kB / 1.386 GB, free: 6.652 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.055e-05/0.3546, allocations: 32 kB / 1.386 GB, free: 6.621 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.3546, allocations: 11.98 kB / 1.386 GB, free: 6.609 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002104/0.3567, allocations: 1.089 MB / 1.387 GB, free: 5.523 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004516/0.3612, allocations: 2.386 MB / 1.389 GB, free: 3.074 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001914/0.3631, allocations: 0.9601 MB / 1.39 GB, free: 2.105 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001587/0.3647, allocations: 0.8814 MB / 1.391 GB, free: 1.223 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.708e-05/0.3647, allocations: 7.938 kB / 1.391 GB, free: 1.215 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3648, allocations: 34.55 kB / 1.391 GB, free: 1.172 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 3.346e-06/0.3648, allocations: 7.938 kB / 1.391 GB, free: 1.164 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008364/0.3731, allocations: 4.332 MB / 1.395 GB, free: 12.82 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.648e-05/0.3732, allocations: 55.39 kB / 1.396 GB, free: 12.75 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003311/0.3765, allocations: 2.261 MB / 1.398 GB, free: 10.46 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001171/0.3766, allocations: 49.7 kB / 1.398 GB, free: 10.4 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007326/0.3773, allocations: 0.7488 MB / 1.399 GB, free: 9.648 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003869/0.3777, allocations: 408.5 kB / 1.399 GB, free: 9.246 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006023/0.3783, allocations: 389.4 kB / 1.399 GB, free: 8.859 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3785, allocations: 309.1 kB / 1.4 GB, free: 8.555 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.3808, allocations: 1.345 MB / 1.401 GB, free: 7.211 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002458/0.3832, allocations: 1.537 MB / 1.402 GB, free: 5.621 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004648/0.3879, allocations: 2.885 MB / 1.405 GB, free: 2.684 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.3879, allocations: 0 / 1.405 GB, free: 2.684 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007708/0.3956, allocations: 4.341 MB / 1.409 GB, free: 14.32 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.3956, allocations: 4 kB / 1.409 GB, free: 14.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.3956, allocations: 11.92 kB / 1.409 GB, free: 14.3 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005124/0.4008, allocations: 3.73 MB / 1.413 GB, free: 10.56 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/0.401, allocations: 63.89 kB / 1.413 GB, free: 10.5 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007818/0.4088, allocations: 5.696 MB / 1.419 GB, free: 4.699 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.4099, allocations: 218.2 kB / 1.419 GB, free: 4.484 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002946/0.4102, allocations: 179.9 kB / 1.419 GB, free: 4.309 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.0008911/0.4111, allocations: 494.6 kB / 1.42 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005334/0.4117, allocations: 250.4 kB / 1.42 GB, free: 3.57 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.412, allocations: 161.8 kB / 1.42 GB, free: 3.402 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.412, allocations: 4 kB / 1.42 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.412, allocations: 0 / 1.42 GB, free: 3.398 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.412, allocations: 3.984 kB / 1.42 GB, free: 3.395 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001282/0.4133, allocations: 0.8439 MB / 1.421 GB, free: 2.504 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.4133, allocations: 0 / 1.421 GB, free: 2.504 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.4134, allocations: 15.98 kB / 1.421 GB, free: 2.488 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/0.4183, allocations: 3.715 MB / 1.424 GB, free: 14.76 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/0.4184, allocations: 67.94 kB / 1.425 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007744/0.4262, allocations: 5.696 MB / 1.43 GB, free: 8.891 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.4262, allocations: 0 / 1.43 GB, free: 8.891 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006119/0.4323, allocations: 3.361 MB / 1.433 GB, free: 5.492 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004137/0.4327, allocations: 190.4 kB / 1.434 GB, free: 5.305 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003052/0.433, allocations: 20 kB / 1.434 GB, free: 5.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006914/0.4337, allocations: 55.95 kB / 1.434 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.434, allocations: 115.8 kB / 1.434 GB, free: 5.117 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.4341, allocations: 132 kB / 1.434 GB, free: 4.988 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002305/0.4365, allocations: 1.519 MB / 1.435 GB, free: 3.453 MB / 1.123 GB Notification: Performance of sort global known variables: time 1e-07/0.4365, allocations: 3.938 kB / 1.435 GB, free: 3.449 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001161/0.4376, allocations: 427.7 kB / 1.436 GB, free: 3.031 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.007362/0.445, allocations: 4.108 MB / 1.44 GB, free: 14.97 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01031/0.4553, allocations: 7.274 MB / 1.447 GB, free: 7.598 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4553, allocations: 0 / 1.447 GB, free: 7.598 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.00747/0.4628, allocations: 5.828 MB / 1.453 GB, free: 1.668 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002261/0.465, allocations: 391.4 kB / 1.453 GB, free: 1.285 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.325267728883773] Failed to read output from testmodel.py, exit status != 0: 0.47968890331685543 0.495082859 0.14897673699999994 Calling exit ...