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.001386/0.001386, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001532/0.001532, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.316/1.316, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.863/2.863, allocations: 0.5003 GB / 0.8062 GB, free: 26.81 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.001783/0.001783, allocations: 67.62 kB / 1.171 GB, free: 19.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2824, allocations: 179 MB / 1.345 GB, free: 476 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004985/0.2874, allocations: 3.759 MB / 1.349 GB, free: 12.69 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006351/0.2938, allocations: 4.985 MB / 1.354 GB, free: 7.688 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003416/0.2941, allocations: 31.81 kB / 1.354 GB, free: 7.656 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001003/0.2951, allocations: 314.3 kB / 1.354 GB, free: 7.348 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002116/0.2972, allocations: 0.9854 MB / 1.355 GB, free: 6.359 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007156/0.2979, allocations: 427.2 kB / 1.356 GB, free: 5.941 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.2993, allocations: 1.279 MB / 1.357 GB, free: 4.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002724/0.2995, allocations: 138.4 kB / 1.357 GB, free: 4.504 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009284/0.3005, allocations: 0.6934 MB / 1.358 GB, free: 3.809 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.3015, allocations: 0.8292 MB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.3017, allocations: 80 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000339/0.302, allocations: 163.9 kB / 1.359 GB, free: 2.738 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0008814/0.3029, allocations: 0.9037 MB / 1.36 GB, free: 1.832 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0006868/0.3036, allocations: 0.8266 MB / 1.36 GB, free: 1 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002095/0.3057, allocations: 2.162 MB / 1.363 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.3057, allocations: 0 / 1.363 GB, free: 14.83 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3057, allocations: 4 kB / 1.363 GB, free: 14.82 MB / 1.061 GB Notification: Performance of Transformations before backend: time 3.138e-05/0.3057, allocations: 0 / 1.363 GB, free: 14.82 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.003552/0.3093, allocations: 2.275 MB / 1.365 GB, free: 12.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.3093, allocations: 8.031 kB / 1.365 GB, free: 12.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.36e-05/0.3093, allocations: 16.84 kB / 1.365 GB, free: 12.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.3095, allocations: 126.6 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003965/0.3099, allocations: 235.4 kB / 1.365 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003042/0.3129, allocations: 1.863 MB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002747/0.3132, allocations: 322.2 kB / 1.367 GB, free: 9.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.3134, allocations: 75.98 kB / 1.367 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.3157, allocations: 1.433 MB / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.3157, allocations: 0 / 1.369 GB, free: 8.316 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3158, allocations: 39.94 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-06/0.3158, allocations: 8 kB / 1.369 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.3178, allocations: 1.085 MB / 1.37 GB, free: 7.18 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.3217, allocations: 2.675 MB / 1.372 GB, free: 4.441 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.3235, allocations: 0.9639 MB / 1.373 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001537/0.3251, allocations: 0.8853 MB / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.3251, allocations: 0 / 1.374 GB, free: 2.582 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.3251, allocations: 34.56 kB / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of pre-optimization done (n=115): time 1.783e-06/0.3251, allocations: 0 / 1.374 GB, free: 2.539 MB / 1.061 GB Notification: Performance of matching and sorting (n=115): time 0.007928/0.3331, allocations: 4.337 MB / 1.378 GB, free: 14.18 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.3331, allocations: 51.41 kB / 1.379 GB, free: 14.12 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002712/0.3358, allocations: 2.257 MB / 1.381 GB, free: 11.83 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001631/0.336, allocations: 57.69 kB / 1.381 GB, free: 11.77 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006577/0.3366, allocations: 0.741 MB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/0.337, allocations: 408.5 kB / 1.382 GB, free: 10.61 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005656/0.3376, allocations: 401.2 kB / 1.382 GB, free: 10.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3377, allocations: 305.1 kB / 1.383 GB, free: 9.914 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002112/0.3398, allocations: 1.353 MB / 1.384 GB, free: 8.562 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002254/0.342, allocations: 1.533 MB / 1.385 GB, free: 6.977 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.3464, allocations: 2.881 MB / 1.388 GB, free: 4.043 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.3464, allocations: 0 / 1.388 GB, free: 4.043 MB / 1.076 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007285/0.3537, allocations: 4.341 MB / 1.392 GB, free: 15.68 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.3537, allocations: 11.94 kB / 1.392 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.3537, allocations: 4 kB / 1.392 GB, free: 15.67 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/0.3583, allocations: 3.747 MB / 1.396 GB, free: 11.91 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.3585, allocations: 51.91 kB / 1.396 GB, free: 11.86 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.3658, allocations: 5.7 MB / 1.402 GB, free: 6.051 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3669, allocations: 222.3 kB / 1.402 GB, free: 5.832 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002648/0.3672, allocations: 183.9 kB / 1.402 GB, free: 5.652 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.0007996/0.368, allocations: 493.4 kB / 1.403 GB, free: 5.16 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004449/0.3684, allocations: 250.4 kB / 1.403 GB, free: 4.914 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.3686, allocations: 161.8 kB / 1.403 GB, free: 4.75 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3686, allocations: 4 kB / 1.403 GB, free: 4.746 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.974e-06/0.3686, allocations: 4 kB / 1.403 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3686, allocations: 0 / 1.403 GB, free: 4.742 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.3698, allocations: 1.078 MB / 1.404 GB, free: 3.617 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.3698, allocations: 3.938 kB / 1.404 GB, free: 3.613 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.3699, allocations: 11.98 kB / 1.404 GB, free: 3.602 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004463/0.3743, allocations: 3.748 MB / 1.408 GB, free: 15.84 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.3745, allocations: 59.89 kB / 1.408 GB, free: 15.78 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007156/0.3816, allocations: 5.696 MB / 1.413 GB, free: 9.98 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3816, allocations: 4.125 kB / 1.413 GB, free: 9.977 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005831/0.3874, allocations: 3.353 MB / 1.417 GB, free: 6.586 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000337/0.3878, allocations: 186.4 kB / 1.417 GB, free: 6.402 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000267/0.3881, allocations: 31.98 kB / 1.417 GB, free: 6.371 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.3887, allocations: 47.95 kB / 1.417 GB, free: 6.324 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/0.3889, allocations: 119.8 kB / 1.417 GB, free: 6.207 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.3891, allocations: 132 kB / 1.417 GB, free: 6.078 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001905/0.391, allocations: 1.519 MB / 1.419 GB, free: 4.543 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.391, allocations: 0 / 1.419 GB, free: 4.543 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.001078/0.3921, allocations: 427.7 kB / 1.419 GB, free: 4.125 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.006914/0.399, allocations: 4.097 MB / 1.423 GB, free: 68 kB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.009472/0.4085, allocations: 7.279 MB / 1.43 GB, free: 8.68 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4085, allocations: 4.25 kB / 1.43 GB, free: 8.676 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007054/0.4155, allocations: 5.831 MB / 1.436 GB, free: 2.742 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/0.4172, allocations: 401.9 kB / 1.436 GB, free: 2.348 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.102703637967352] Failed to read output from testmodel.py, exit status != 0: 0.4296095939935185 0.444147133 0.135551675 Calling exit ...