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.001222/0.001222, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001386/0.001386, allocations: 216 kB / 22.26 MB, free: 5.113 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.343/1.343, allocations: 230.6 MB / 256 MB, free: 8.027 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 2.956/2.956, allocations: 0.505 GB / 0.8101 GB, free: 22.07 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.001853/0.001853, allocations: 66.44 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2861/0.288, 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.005476/0.2935, allocations: 3.751 MB / 1.357 GB, free: 4.652 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006651/0.3001, allocations: 4.965 MB / 1.361 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004333/0.3006, allocations: 27.75 kB / 1.361 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001592/0.3021, allocations: 0.4942 MB / 1.362 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001921/0.3041, allocations: 0.8372 MB / 1.363 GB, free: 14.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007775/0.3048, allocations: 411.4 kB / 1.363 GB, free: 13.91 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001504/0.3064, allocations: 1.279 MB / 1.364 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002792/0.3066, allocations: 138.4 kB / 1.365 GB, free: 12.47 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.3078, allocations: 0.7011 MB / 1.365 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.309, allocations: 0.8214 MB / 1.366 GB, free: 10.95 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002472/0.3092, allocations: 80 kB / 1.366 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004053/0.3096, allocations: 163.9 kB / 1.366 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009705/0.3106, allocations: 0.8959 MB / 1.367 GB, free: 9.809 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0008091/0.3114, allocations: 0.8189 MB / 1.368 GB, free: 8.984 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002164/0.3136, allocations: 2.162 MB / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.3136, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3136, allocations: 0 / 1.37 GB, free: 6.812 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.794e-05/0.3136, allocations: 0 / 1.37 GB, free: 6.812 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.003841/0.3175, allocations: 2.281 MB / 1.372 GB, free: 4.492 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.814e-05/0.3175, allocations: 12.03 kB / 1.372 GB, free: 4.48 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.3177, allocations: 122.7 kB / 1.372 GB, free: 4.352 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004445/0.3181, allocations: 235.4 kB / 1.373 GB, free: 4.121 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.3214, allocations: 1.926 MB / 1.374 GB, free: 2.141 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002748/0.3216, allocations: 330.1 kB / 1.375 GB, free: 1.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001569/0.3218, allocations: 75.98 kB / 1.375 GB, free: 1.695 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.3241, allocations: 1.429 MB / 1.376 GB, free: 252 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.3241, allocations: 0 / 1.376 GB, free: 252 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.125e-05/0.3242, allocations: 32 kB / 1.376 GB, free: 220 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3242, allocations: 11.94 kB / 1.376 GB, free: 208 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001933/0.3261, allocations: 1.089 MB / 1.377 GB, free: 15.11 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004085/0.3302, allocations: 2.682 MB / 1.38 GB, free: 12.37 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/0.332, allocations: 0.96 MB / 1.381 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001473/0.3334, allocations: 0.8853 MB / 1.382 GB, free: 10.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.3335, allocations: 4 kB / 1.382 GB, free: 10.5 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.137e-05/0.3335, allocations: 34.56 kB / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.304e-06/0.3335, allocations: 0 / 1.382 GB, free: 10.46 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.007757/0.3412, allocations: 4.33 MB / 1.386 GB, free: 6.113 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/0.3413, allocations: 55.41 kB / 1.386 GB, free: 6.047 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00263/0.3439, allocations: 2.261 MB / 1.388 GB, free: 3.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.344, allocations: 53.7 kB / 1.388 GB, free: 3.691 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006309/0.3447, allocations: 0.7371 MB / 1.389 GB, free: 2.949 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003276/0.345, allocations: 404.5 kB / 1.389 GB, free: 2.551 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005205/0.3455, allocations: 401.4 kB / 1.39 GB, free: 2.152 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.3456, allocations: 301.1 kB / 1.39 GB, free: 1.855 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.3477, allocations: 1.349 MB / 1.391 GB, free: 0.5078 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.3499, allocations: 1.537 MB / 1.393 GB, free: 14.91 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004347/0.3543, allocations: 2.885 MB / 1.396 GB, free: 11.97 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.3543, allocations: 8 kB / 1.396 GB, free: 11.96 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007153/0.3614, allocations: 4.333 MB / 1.4 GB, free: 7.617 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.3615, allocations: 12.19 kB / 1.4 GB, free: 7.605 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.3615, allocations: 11.88 kB / 1.4 GB, free: 7.594 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004675/0.3662, allocations: 3.739 MB / 1.404 GB, free: 3.844 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3664, allocations: 59.89 kB / 1.404 GB, free: 3.785 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007347/0.3737, allocations: 5.692 MB / 1.409 GB, free: 13.98 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001025/0.3747, allocations: 218.2 kB / 1.41 GB, free: 13.77 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/0.375, allocations: 184 kB / 1.41 GB, free: 13.59 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.0008358/0.3758, allocations: 497.3 kB / 1.41 GB, free: 13.09 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004833/0.3763, allocations: 254.3 kB / 1.41 GB, free: 12.84 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002759/0.3766, allocations: 165.8 kB / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3766, allocations: 3.984 kB / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.3766, allocations: 0 / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3766, allocations: 0 / 1.411 GB, free: 12.67 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.3779, allocations: 1.07 MB / 1.412 GB, free: 11.55 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.3779, allocations: 8 kB / 1.412 GB, free: 11.54 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.276e-05/0.378, allocations: 11.98 kB / 1.412 GB, free: 11.53 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004528/0.3826, allocations: 3.744 MB / 1.415 GB, free: 7.773 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001083/0.3827, allocations: 63.94 kB / 1.415 GB, free: 7.711 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00721/0.3899, allocations: 5.704 MB / 1.421 GB, free: 1.902 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3899, allocations: 0 / 1.421 GB, free: 1.902 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005705/0.3956, allocations: 3.353 MB / 1.424 GB, free: 14.52 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003242/0.3959, allocations: 190.4 kB / 1.424 GB, free: 14.33 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002645/0.3962, allocations: 28 kB / 1.424 GB, free: 14.3 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006063/0.3968, allocations: 51.95 kB / 1.424 GB, free: 14.25 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002221/0.397, allocations: 119.8 kB / 1.425 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000164/0.3972, allocations: 128 kB / 1.425 GB, free: 14.01 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002/0.3992, allocations: 1.515 MB / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/0.3992, allocations: 0 / 1.426 GB, free: 12.48 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001034/0.4002, allocations: 431.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.00685/0.407, allocations: 4.089 MB / 1.431 GB, free: 8.008 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0093/0.4163, allocations: 7.279 MB / 1.438 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4164, allocations: 0 / 1.438 GB, free: 0.6211 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006933/0.4233, allocations: 5.827 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.001745/0.425, allocations: 401.6 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.227561739040539] Failed to read output from testmodel.py, exit status != 0: 0.43810572591610253 0.452391144 0.13599417600000002 Calling exit ...