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.001224/0.001224, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001315/0.001315, allocations: 217 kB / 22.25 MB, free: 5.082 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.318/1.318, allocations: 230.6 MB / 256 MB, free: 8.012 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.917/2.917, allocations: 0.505 GB / 0.8101 GB, free: 22.03 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.001846/0.001846, allocations: 69.17 kB / 1.177 GB, free: 17.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2949, allocations: 180.2 MB / 1.353 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005071/0.3, allocations: 3.758 MB / 1.357 GB, free: 4.645 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006542/0.3066, allocations: 4.964 MB / 1.361 GB, free: 15.67 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003356/0.3069, allocations: 31.75 kB / 1.361 GB, free: 15.64 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.3085, allocations: 0.4942 MB / 1.362 GB, free: 15.14 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.3103, allocations: 0.8294 MB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007605/0.311, allocations: 415.4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001262/0.3123, allocations: 1.275 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.3126, allocations: 146.3 kB / 1.365 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.3135, allocations: 0.6934 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.3146, allocations: 0.8175 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.3147, allocations: 84 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003211/0.315, allocations: 163.9 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009033/0.3159, allocations: 0.8958 MB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000691/0.3166, allocations: 0.8228 MB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002417/0.3191, allocations: 2.166 MB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3191, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3191, allocations: 0 / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.92e-05/0.3191, allocations: 0 / 1.37 GB, free: 6.805 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.003402/0.3225, allocations: 2.279 MB / 1.372 GB, free: 4.484 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.3225, allocations: 12.03 kB / 1.372 GB, free: 4.473 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001526/0.3227, allocations: 122.7 kB / 1.372 GB, free: 4.344 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003851/0.3231, allocations: 239.4 kB / 1.373 GB, free: 4.109 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/0.3262, allocations: 1.914 MB / 1.374 GB, free: 2.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003565/0.3266, allocations: 334.2 kB / 1.375 GB, free: 1.766 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000142/0.3267, allocations: 75.98 kB / 1.375 GB, free: 1.691 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002442/0.3291, allocations: 1.433 MB / 1.376 GB, free: 244 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3292, allocations: 4 kB / 1.376 GB, free: 240 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.009e-05/0.3293, allocations: 32 kB / 1.376 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.3293, allocations: 11.94 kB / 1.376 GB, free: 196 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/0.3312, allocations: 1.081 MB / 1.377 GB, free: 15.1 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004432/0.3356, allocations: 2.682 MB / 1.38 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001798/0.3374, allocations: 0.9603 MB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.3389, allocations: 0.889 MB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.339, allocations: 0 / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.339, allocations: 34.56 kB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 1.853e-06/0.339, allocations: 3.938 kB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.007908/0.3469, allocations: 4.333 MB / 1.386 GB, free: 6.102 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.3469, allocations: 51.41 kB / 1.386 GB, free: 6.039 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/0.3497, allocations: 2.261 MB / 1.388 GB, free: 3.742 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001183/0.3498, allocations: 53.69 kB / 1.388 GB, free: 3.684 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006461/0.3505, allocations: 0.7332 MB / 1.389 GB, free: 2.945 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/0.3508, allocations: 416.4 kB / 1.389 GB, free: 2.535 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005607/0.3514, allocations: 393.4 kB / 1.39 GB, free: 2.145 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001141/0.3515, allocations: 301.1 kB / 1.39 GB, free: 1.848 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002069/0.3535, allocations: 1.353 MB / 1.391 GB, free: 0.4961 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002279/0.3558, allocations: 1.533 MB / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004316/0.3601, allocations: 2.885 MB / 1.396 GB, free: 11.97 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/0.3601, allocations: 0 / 1.396 GB, free: 11.97 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007388/0.3675, allocations: 4.345 MB / 1.4 GB, free: 7.605 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.3676, allocations: 5.875 kB / 1.4 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.549e-05/0.3676, allocations: 7.938 kB / 1.4 GB, free: 7.594 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004601/0.3722, allocations: 3.743 MB / 1.404 GB, free: 3.84 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001987/0.3724, allocations: 59.91 kB / 1.404 GB, free: 3.781 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/0.3798, allocations: 5.696 MB / 1.409 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.3808, allocations: 214.2 kB / 1.41 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/0.3811, allocations: 187.9 kB / 1.41 GB, free: 13.58 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.0007588/0.3818, allocations: 494.1 kB / 1.41 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/0.3822, allocations: 250.4 kB / 1.41 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.3824, allocations: 165.9 kB / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.3824, allocations: 4 kB / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3824, allocations: 0 / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3824, allocations: 0 / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.3836, allocations: 1.07 MB / 1.412 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3836, allocations: 0 / 1.412 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.605e-05/0.3837, allocations: 19.92 kB / 1.412 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004492/0.3882, allocations: 3.744 MB / 1.415 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.3883, allocations: 67.94 kB / 1.415 GB, free: 7.707 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.3958, allocations: 5.692 MB / 1.421 GB, free: 1.91 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3958, allocations: 0 / 1.421 GB, free: 1.91 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005872/0.4017, allocations: 3.361 MB / 1.424 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.4021, allocations: 186.4 kB / 1.424 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002347/0.4023, allocations: 31.98 kB / 1.424 GB, free: 14.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005725/0.4029, allocations: 47.95 kB / 1.424 GB, free: 14.26 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002415/0.4031, allocations: 119.8 kB / 1.425 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/0.4033, allocations: 131.9 kB / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002051/0.4053, allocations: 1.515 MB / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/0.4053, allocations: 0 / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001076/0.4064, allocations: 427.7 kB / 1.427 GB, free: 12.06 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.006961/0.4134, allocations: 4.1 MB / 1.431 GB, free: 8 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009498/0.4229, allocations: 7.279 MB / 1.438 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4229, allocations: 0 / 1.438 GB, free: 0.6133 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006824/0.4297, allocations: 5.823 MB / 1.443 GB, free: 10.69 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.4313, allocations: 393.8 kB / 1.444 GB, free: 10.3 MB / 1.139 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:822:5-822: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.172669659999883] Failed to read output from testmodel.py, exit status != 0: 0.4441694999995889 0.45855870699999995 0.13660322399999994 Calling exit ...