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.001199/0.001199, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001363/0.001363, allocations: 215.2 kB / 22.25 MB, free: 5.258 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.321/1.321, allocations: 230.6 MB / 256 MB, free: 7.789 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.93/2.93, allocations: 0.505 GB / 0.8101 GB, free: 23.55 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.001838/0.001838, allocations: 66.77 kB / 1.177 GB, free: 16.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.295, allocations: 180.2 MB / 1.353 GB, free: 7.859 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005016/0.3, allocations: 3.403 MB / 1.356 GB, free: 4.438 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006475/0.3065, allocations: 4.681 MB / 1.361 GB, free: 15.75 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003673/0.3068, allocations: 35.69 kB / 1.361 GB, free: 15.71 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.3085, allocations: 0.4941 MB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001885/0.3103, allocations: 0.8373 MB / 1.362 GB, free: 14.38 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007641/0.3111, allocations: 411.4 kB / 1.363 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00134/0.3125, allocations: 1.275 MB / 1.364 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002647/0.3127, allocations: 146.4 kB / 1.364 GB, free: 12.53 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009834/0.3137, allocations: 0.705 MB / 1.365 GB, free: 11.82 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3148, allocations: 0.802 MB / 1.365 GB, free: 11.02 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.315, allocations: 80 kB / 1.365 GB, free: 10.94 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003427/0.3154, allocations: 167.9 kB / 1.366 GB, free: 10.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009886/0.3163, allocations: 0.8958 MB / 1.366 GB, free: 9.879 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.317, allocations: 0.6521 MB / 1.367 GB, free: 9.223 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0021/0.3191, allocations: 2.182 MB / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3191, allocations: 0 / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3191, allocations: 0 / 1.369 GB, free: 7.031 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.3191, allocations: 0 / 1.369 GB, free: 7.031 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.003698/0.3228, allocations: 2.283 MB / 1.371 GB, free: 4.707 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.3229, allocations: 8.031 kB / 1.371 GB, free: 4.699 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001672/0.323, allocations: 126.7 kB / 1.372 GB, free: 4.566 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004054/0.3235, allocations: 231.4 kB / 1.372 GB, free: 4.34 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003455/0.3269, allocations: 1.926 MB / 1.374 GB, free: 2.359 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003012/0.3272, allocations: 334.2 kB / 1.374 GB, free: 1.984 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.3274, allocations: 64 kB / 1.374 GB, free: 1.922 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002491/0.3299, allocations: 1.437 MB / 1.375 GB, free: 476 kB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.3299, allocations: 4 kB / 1.375 GB, free: 472 kB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.33, allocations: 35.98 kB / 1.376 GB, free: 436 kB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.33, allocations: 8 kB / 1.376 GB, free: 428 kB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.332, allocations: 1.085 MB / 1.377 GB, free: 15.33 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004293/0.3363, allocations: 2.394 MB / 1.379 GB, free: 12.88 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001971/0.3383, allocations: 0.9639 MB / 1.38 GB, free: 11.9 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001667/0.34, allocations: 0.8814 MB / 1.381 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/0.34, allocations: 0 / 1.381 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.401e-05/0.34, allocations: 34.56 kB / 1.381 GB, free: 10.97 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.435e-06/0.34, allocations: 0 / 1.381 GB, free: 10.97 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008631/0.3486, allocations: 4.33 MB / 1.385 GB, free: 6.625 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.3487, allocations: 55.41 kB / 1.385 GB, free: 6.559 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002896/0.3516, allocations: 2.265 MB / 1.387 GB, free: 4.258 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.3518, allocations: 49.69 kB / 1.387 GB, free: 4.203 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006743/0.3524, allocations: 0.741 MB / 1.388 GB, free: 3.457 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003979/0.3528, allocations: 420.4 kB / 1.388 GB, free: 3.043 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005913/0.3534, allocations: 385.4 kB / 1.389 GB, free: 2.66 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3535, allocations: 305.1 kB / 1.389 GB, free: 2.359 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.3557, allocations: 1.361 MB / 1.39 GB, free: 1 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002308/0.358, allocations: 1.529 MB / 1.392 GB, free: 15.42 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004443/0.3625, allocations: 2.881 MB / 1.395 GB, free: 12.48 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/0.3625, allocations: 0 / 1.395 GB, free: 12.48 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007593/0.3701, allocations: 4.349 MB / 1.399 GB, free: 8.113 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.3701, allocations: 8 kB / 1.399 GB, free: 8.105 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3701, allocations: 7.938 kB / 1.399 GB, free: 8.098 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004685/0.3748, allocations: 3.737 MB / 1.403 GB, free: 4.348 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002013/0.375, allocations: 51.89 kB / 1.403 GB, free: 4.297 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007537/0.3825, allocations: 5.692 MB / 1.408 GB, free: 14.5 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001114/0.3836, allocations: 222.4 kB / 1.408 GB, free: 14.28 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.3839, allocations: 179.9 kB / 1.409 GB, free: 14.1 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.0008059/0.3847, allocations: 494.2 kB / 1.409 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004374/0.3851, allocations: 250.4 kB / 1.409 GB, free: 13.36 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002112/0.3853, allocations: 161.8 kB / 1.409 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.3854, allocations: 0 / 1.409 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.3854, allocations: 4 kB / 1.409 GB, free: 13.19 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.3854, allocations: 8.172 kB / 1.409 GB, free: 13.18 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.3865, allocations: 0.8439 MB / 1.41 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3865, allocations: 0 / 1.41 GB, free: 12.29 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.3866, allocations: 11.98 kB / 1.41 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004681/0.3913, allocations: 3.719 MB / 1.414 GB, free: 8.547 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001283/0.3914, allocations: 59.95 kB / 1.414 GB, free: 8.488 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007658/0.399, allocations: 5.692 MB / 1.42 GB, free: 2.691 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.399, allocations: 4 kB / 1.42 GB, free: 2.688 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006212/0.4053, allocations: 3.361 MB / 1.423 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004518/0.4057, allocations: 186.4 kB / 1.423 GB, free: 15.11 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003025/0.406, allocations: 31.98 kB / 1.423 GB, free: 15.08 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/0.4067, allocations: 47.91 kB / 1.423 GB, free: 15.04 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.4069, allocations: 119.8 kB / 1.423 GB, free: 14.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001947/0.4071, allocations: 128 kB / 1.423 GB, free: 14.79 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002156/0.4093, allocations: 1.519 MB / 1.425 GB, free: 13.26 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4093, allocations: 0 / 1.425 GB, free: 13.26 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001194/0.4105, allocations: 431.6 kB / 1.425 GB, free: 12.84 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.007403/0.4179, allocations: 4.121 MB / 1.429 GB, free: 8.77 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009943/0.4278, allocations: 7.272 MB / 1.436 GB, free: 1.391 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.4278, allocations: 384 / 1.436 GB, free: 1.391 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007293/0.4351, allocations: 5.824 MB / 1.442 GB, free: 11.46 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001731/0.4368, allocations: 405 kB / 1.442 GB, free: 11.07 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.199484307988314] Failed to read output from testmodel.py, exit status != 0: 0.4502806339878589 0.46555937500000005 0.143385111 Calling exit ...