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.001228/0.001228, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001418/0.001418, allocations: 215.6 kB / 23.01 MB, free: 4.566 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.334/1.334, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.947/2.947, allocations: 0.505 GB / 0.8108 GB, free: 21.97 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: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") [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.001893/0.001893, allocations: 64.34 kB / 1.178 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3046, allocations: 180.2 MB / 1.354 GB, free: 7.906 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005251/0.3098, allocations: 3.741 MB / 1.358 GB, free: 4.148 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006712/0.3165, allocations: 4.965 MB / 1.363 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004219/0.3169, allocations: 23.81 kB / 1.363 GB, free: 15.15 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.3186, allocations: 0.4941 MB / 1.363 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001863/0.3204, allocations: 0.8294 MB / 1.364 GB, free: 13.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000737/0.3212, allocations: 427.2 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001291/0.3225, allocations: 1.279 MB / 1.366 GB, free: 12.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.3227, allocations: 150.3 kB / 1.366 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009579/0.3237, allocations: 0.6934 MB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.3248, allocations: 0.8097 MB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.3249, allocations: 80 kB / 1.367 GB, free: 10.37 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003513/0.3253, allocations: 167.9 kB / 1.367 GB, free: 10.2 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009244/0.3262, allocations: 0.9075 MB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0007592/0.327, allocations: 0.815 MB / 1.369 GB, free: 8.473 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002121/0.3291, allocations: 2.166 MB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3291, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3291, allocations: 0 / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.52e-05/0.3291, allocations: 0 / 1.371 GB, free: 6.297 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.003504/0.3326, allocations: 2.279 MB / 1.373 GB, free: 3.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.3327, allocations: 8.031 kB / 1.373 GB, free: 3.969 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003843/0.333, allocations: 231.4 kB / 1.374 GB, free: 3.742 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003252/0.3363, allocations: 1.922 MB / 1.376 GB, free: 1.766 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/0.3366, allocations: 330.3 kB / 1.376 GB, free: 1.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/0.3367, allocations: 71.98 kB / 1.376 GB, free: 1.324 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/0.3391, allocations: 1.437 MB / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.3391, allocations: 0 / 1.377 GB, free: 15.87 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-05/0.3392, allocations: 36 kB / 1.377 GB, free: 15.83 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/0.3392, allocations: 8 kB / 1.377 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.3411, allocations: 1.085 MB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004404/0.3455, allocations: 2.679 MB / 1.381 GB, free: 12 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001849/0.3474, allocations: 0.9678 MB / 1.382 GB, free: 11.02 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.3489, allocations: 0.8813 MB / 1.383 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.3489, allocations: 0 / 1.383 GB, free: 10.13 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.3489, allocations: 34.56 kB / 1.383 GB, free: 10.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.314e-06/0.3489, allocations: 0 / 1.383 GB, free: 10.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.007851/0.3568, allocations: 4.337 MB / 1.387 GB, free: 5.734 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.3568, allocations: 59.34 kB / 1.387 GB, free: 5.664 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002823/0.3596, allocations: 2.261 MB / 1.389 GB, free: 3.367 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.000149/0.3598, allocations: 45.7 kB / 1.389 GB, free: 3.316 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006615/0.3604, allocations: 0.7371 MB / 1.39 GB, free: 2.574 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003795/0.3608, allocations: 412.5 kB / 1.391 GB, free: 2.168 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005452/0.3614, allocations: 393.4 kB / 1.391 GB, free: 1.777 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3615, allocations: 305.1 kB / 1.391 GB, free: 1.477 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002094/0.3636, allocations: 1.353 MB / 1.393 GB, free: 128 kB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00229/0.3659, allocations: 1.535 MB / 1.394 GB, free: 14.54 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004332/0.3702, allocations: 2.877 MB / 1.397 GB, free: 11.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.3702, allocations: 4 kB / 1.397 GB, free: 11.6 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007261/0.3775, allocations: 4.337 MB / 1.401 GB, free: 7.246 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/0.3775, allocations: 12.09 kB / 1.401 GB, free: 7.234 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3775, allocations: 4 kB / 1.401 GB, free: 7.23 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004692/0.3822, allocations: 3.751 MB / 1.405 GB, free: 3.469 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.3824, allocations: 52.08 kB / 1.405 GB, free: 3.418 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007589/0.39, allocations: 5.7 MB / 1.41 GB, free: 13.61 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/0.3912, allocations: 222.1 kB / 1.411 GB, free: 13.39 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/0.3915, allocations: 180.1 kB / 1.411 GB, free: 13.21 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.0008178/0.3923, allocations: 493.4 kB / 1.411 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.3927, allocations: 254.4 kB / 1.412 GB, free: 12.47 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002097/0.393, allocations: 161.8 kB / 1.412 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.393, allocations: 4 kB / 1.412 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.393, allocations: 0 / 1.412 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.393, allocations: 4 kB / 1.412 GB, free: 12.3 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.3942, allocations: 1.07 MB / 1.413 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.3942, allocations: 4 kB / 1.413 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001036/0.3943, allocations: 15.97 kB / 1.413 GB, free: 11.16 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004565/0.3989, allocations: 3.744 MB / 1.416 GB, free: 7.402 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.399, allocations: 67.88 kB / 1.416 GB, free: 7.336 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007259/0.4062, allocations: 5.696 MB / 1.422 GB, free: 1.535 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4062, allocations: 0 / 1.422 GB, free: 1.535 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005957/0.4122, allocations: 3.357 MB / 1.425 GB, free: 14.14 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005376/0.4127, allocations: 190.4 kB / 1.425 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.413, allocations: 20 kB / 1.426 GB, free: 13.94 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.4136, allocations: 55.95 kB / 1.426 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.4138, allocations: 119.7 kB / 1.426 GB, free: 13.77 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001814/0.414, allocations: 135.9 kB / 1.426 GB, free: 13.63 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002216/0.4162, allocations: 1.515 MB / 1.427 GB, free: 12.1 MB / 1.123 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4162, allocations: 0 / 1.427 GB, free: 12.1 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001199/0.4174, allocations: 423.7 kB / 1.428 GB, free: 11.69 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.001035/0.4185, allocations: 298.8 kB / 1.428 GB, free: 11.47 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009682/0.4282, allocations: 7.267 MB / 1.435 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/0.4282, allocations: 0.75 kB / 1.435 GB, free: 4.094 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007071/0.4352, allocations: 5.828 MB / 1.441 GB, free: 14.16 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001777/0.437, allocations: 412.4 kB / 1.441 GB, free: 13.76 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.296290153986774] Failed to read output from testmodel.py, exit status != 0: 0.4510003890027292 0.46513148299999996 0.13310582499999996 Calling exit ...