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.001492/0.001492, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00147/0.00147, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.328/1.328, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.936/2.936, allocations: 0.5003 GB / 0.8062 GB, free: 28.35 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="cs",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="cs",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.001864/0.001864, allocations: 63.55 kB / 1.171 GB, free: 19.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2965, allocations: 179 MB / 1.345 GB, free: 15.96 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005114/0.3017, allocations: 3.42 MB / 1.349 GB, free: 12.52 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006501/0.3082, allocations: 4.697 MB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.3085, allocations: 31.75 kB / 1.353 GB, free: 7.773 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.3096, allocations: 302.3 kB / 1.354 GB, free: 7.477 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002132/0.3117, allocations: 0.9932 MB / 1.355 GB, free: 6.48 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.3125, allocations: 423.4 kB / 1.355 GB, free: 6.066 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001247/0.3137, allocations: 1.282 MB / 1.356 GB, free: 4.781 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000273/0.314, allocations: 142.4 kB / 1.356 GB, free: 4.621 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008471/0.3148, allocations: 0.6934 MB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00123/0.3161, allocations: 0.8214 MB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001826/0.3163, allocations: 80 kB / 1.358 GB, free: 3.023 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003498/0.3166, allocations: 159.9 kB / 1.358 GB, free: 2.867 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008911/0.3175, allocations: 0.8998 MB / 1.359 GB, free: 1.965 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006308/0.3181, allocations: 0.6483 MB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002023/0.3201, allocations: 2.193 MB / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3202, allocations: 0 / 1.362 GB, free: 15.11 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3202, allocations: 4 kB / 1.362 GB, free: 15.1 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.983e-05/0.3202, allocations: 3.844 kB / 1.362 GB, free: 15.1 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.003517/0.3237, allocations: 2.275 MB / 1.364 GB, free: 12.79 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.3237, allocations: 8.031 kB / 1.364 GB, free: 12.78 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.548e-05/0.3237, allocations: 16.84 kB / 1.364 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.3239, allocations: 126.6 kB / 1.364 GB, free: 12.63 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003972/0.3243, allocations: 235.4 kB / 1.364 GB, free: 12.4 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003017/0.3273, allocations: 1.86 MB / 1.366 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002778/0.3276, allocations: 330.2 kB / 1.366 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.3278, allocations: 71.98 kB / 1.366 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.3302, allocations: 1.437 MB / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.3302, allocations: 0 / 1.368 GB, free: 8.59 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.619e-05/0.3303, allocations: 36 kB / 1.368 GB, free: 8.555 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.253e-05/0.3303, allocations: 8 kB / 1.368 GB, free: 8.547 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001997/0.3323, allocations: 1.089 MB / 1.369 GB, free: 7.453 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003707/0.336, allocations: 2.379 MB / 1.371 GB, free: 5.012 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.3379, allocations: 0.9641 MB / 1.372 GB, free: 4.039 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001556/0.3394, allocations: 0.8851 MB / 1.373 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.344e-05/0.3394, allocations: 0 / 1.373 GB, free: 3.152 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.69e-05/0.3395, allocations: 34.56 kB / 1.373 GB, free: 3.109 MB / 1.061 GB Notification: Performance of pre-optimization done (n=115): time 2.144e-06/0.3395, allocations: 0 / 1.373 GB, free: 3.109 MB / 1.061 GB Notification: Performance of matching and sorting (n=115): time 0.008149/0.3476, allocations: 4.329 MB / 1.377 GB, free: 14.76 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3477, allocations: 55.41 kB / 1.377 GB, free: 14.7 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002921/0.3506, allocations: 2.269 MB / 1.38 GB, free: 12.39 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001829/0.3508, allocations: 49.7 kB / 1.38 GB, free: 12.34 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006706/0.3514, allocations: 0.7449 MB / 1.38 GB, free: 11.58 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003969/0.3518, allocations: 408.4 kB / 1.381 GB, free: 11.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005991/0.3524, allocations: 401.2 kB / 1.381 GB, free: 10.78 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.3525, allocations: 305.1 kB / 1.382 GB, free: 10.48 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002192/0.3547, allocations: 1.357 MB / 1.383 GB, free: 9.125 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00234/0.3571, allocations: 1.529 MB / 1.384 GB, free: 7.543 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004571/0.3616, allocations: 2.881 MB / 1.387 GB, free: 4.609 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3617, allocations: 0 / 1.387 GB, free: 4.609 MB / 1.076 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007439/0.3691, allocations: 4.341 MB / 1.391 GB, free: 256 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/0.3691, allocations: 11.94 kB / 1.391 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.3691, allocations: 12.08 kB / 1.391 GB, free: 232 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004651/0.3738, allocations: 3.733 MB / 1.395 GB, free: 12.47 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.374, allocations: 55.95 kB / 1.395 GB, free: 12.42 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007375/0.3814, allocations: 5.692 MB / 1.401 GB, free: 6.625 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/0.3824, allocations: 218.2 kB / 1.401 GB, free: 6.41 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.3827, allocations: 179.9 kB / 1.401 GB, free: 6.234 MB / 1.092 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.0007727/0.3835, allocations: 0.4898 MB / 1.402 GB, free: 5.734 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004334/0.3839, allocations: 250.4 kB / 1.402 GB, free: 5.488 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.3841, allocations: 165.8 kB / 1.402 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.3841, allocations: 0 / 1.402 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.3842, allocations: 0 / 1.402 GB, free: 5.32 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3842, allocations: 3.984 kB / 1.402 GB, free: 5.316 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.3852, allocations: 0.8518 MB / 1.403 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3852, allocations: 0 / 1.403 GB, free: 4.418 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.3853, allocations: 19.97 kB / 1.403 GB, free: 4.398 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004537/0.3898, allocations: 3.704 MB / 1.406 GB, free: 0.6797 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/0.39, allocations: 67.94 kB / 1.406 GB, free: 0.6133 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007326/0.3973, allocations: 5.696 MB / 1.412 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.3973, allocations: 3.984 kB / 1.412 GB, free: 10.81 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006097/0.4034, allocations: 3.35 MB / 1.415 GB, free: 7.422 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003958/0.4038, allocations: 194.4 kB / 1.415 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002892/0.4041, allocations: 24 kB / 1.415 GB, free: 7.207 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/0.4047, allocations: 51.95 kB / 1.416 GB, free: 7.156 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/0.405, allocations: 115.8 kB / 1.416 GB, free: 7.043 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000186/0.4052, allocations: 132 kB / 1.416 GB, free: 6.914 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002101/0.4073, allocations: 1.527 MB / 1.417 GB, free: 5.371 MB / 1.107 GB Notification: Performance of sort global known variables: time 8e-08/0.4073, allocations: 0 / 1.417 GB, free: 5.371 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00117/0.4084, allocations: 419.9 kB / 1.418 GB, free: 4.961 MB / 1.107 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.00721/0.4157, allocations: 4.124 MB / 1.422 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009656/0.4253, allocations: 7.275 MB / 1.429 GB, free: 9.508 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.4253, allocations: 0 / 1.429 GB, free: 9.508 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007241/0.4326, allocations: 5.824 MB / 1.434 GB, free: 3.578 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.4343, allocations: 402.1 kB / 1.435 GB, free: 3.188 MB / 1.123 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.262944126036018] Failed to read output from testmodel.py, exit status != 0: 0.44815361499786377 0.46375031899999997 0.14046270300000002 Calling exit ...