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.001536/0.001536, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001575/0.001575, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.438/1.438, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.892/2.892, allocations: 0.5003 GB / 0.8026 GB, free: 6.719 MB / 0.6387 GB " [Timeout remaining time 176] 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.001922/0.001922, allocations: 67.89 kB / 1.165 GB, free: 464 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8263/0.8283, allocations: 178.9 MB / 1.34 GB, free: 16.24 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.00466/0.8329, allocations: 3.747 MB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005852/0.8388, allocations: 4.874 MB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.8394, allocations: 27.88 kB / 1.349 GB, free: 10.06 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001227/0.8406, allocations: 316.7 kB / 1.349 GB, free: 9.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.002258/0.8429, allocations: 0.9714 MB / 1.35 GB, free: 9.539 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008326/0.8437, allocations: 417.6 kB / 1.35 GB, free: 9.352 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00165/0.8453, allocations: 1.28 MB / 1.352 GB, free: 8.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.8456, allocations: 141.4 kB / 1.352 GB, free: 8.723 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.8468, allocations: 0.6918 MB / 1.352 GB, free: 8.465 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.8481, allocations: 0.8165 MB / 1.353 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.000346/0.8485, allocations: 80.25 kB / 1.353 GB, free: 8.172 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005262/0.849, allocations: 166.6 kB / 1.353 GB, free: 8.141 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009851/0.85, allocations: 0.8951 MB / 1.354 GB, free: 7.828 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001128/0.8511, allocations: 0.8184 MB / 1.355 GB, free: 7.273 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.8538, allocations: 2.171 MB / 1.357 GB, free: 6.453 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.8538, allocations: 0 / 1.357 GB, free: 6.453 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8538, allocations: 0 / 1.357 GB, free: 6.453 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.581e-05/0.8539, allocations: 0 / 1.357 GB, free: 6.453 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.004233/0.8581, allocations: 2.362 MB / 1.359 GB, free: 4.992 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.8582, allocations: 9.062 kB / 1.359 GB, free: 4.992 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.544e-05/0.8582, allocations: 19.44 kB / 1.359 GB, free: 4.98 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001627/0.8584, allocations: 122 kB / 1.36 GB, free: 4.895 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005434/0.8589, allocations: 234.7 kB / 1.36 GB, free: 4.77 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003139/0.862, allocations: 1.944 MB / 1.362 GB, free: 3.867 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002007/0.8622, allocations: 226.2 kB / 1.362 GB, free: 3.711 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001809/0.8624, allocations: 66.66 kB / 1.362 GB, free: 3.688 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002438/0.8649, allocations: 1.431 MB / 1.363 GB, free: 3.145 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.54e-05/0.8649, allocations: 8.938 kB / 1.363 GB, free: 3.137 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.865, allocations: 35.94 kB / 1.363 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.318e-06/0.865, allocations: 7.188 kB / 1.363 GB, free: 3.109 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/0.8669, allocations: 1.083 MB / 1.365 GB, free: 2.727 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004495/0.8714, allocations: 2.72 MB / 1.367 GB, free: 1.387 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001991/0.8734, allocations: 0.9677 MB / 1.368 GB, free: 1.035 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.875, allocations: 0.8821 MB / 1.369 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.875, allocations: 2.188 kB / 1.369 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.544e-05/0.875, allocations: 36.81 kB / 1.369 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.875, allocations: 0 / 1.369 GB, free: 0.6797 MB / 1.061 GB Notification: Performance of matching and sorting (n=115): time 0.009199/0.8842, allocations: 4.63 MB / 1.374 GB, free: 14.73 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8843, allocations: 57.47 kB / 1.374 GB, free: 14.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00436/0.8887, allocations: 2.263 MB / 1.376 GB, free: 13.86 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002964/0.8889, allocations: 48.11 kB / 1.376 GB, free: 13.81 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009135/0.8899, allocations: 0.7469 MB / 1.377 GB, free: 13.21 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.000574/0.8904, allocations: 407.2 kB / 1.377 GB, free: 12.89 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009541/0.8914, allocations: 395.6 kB / 1.377 GB, free: 12.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.8915, allocations: 302.9 kB / 1.378 GB, free: 12.46 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002456/0.894, allocations: 1.353 MB / 1.379 GB, free: 12.02 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00267/0.8966, allocations: 1.534 MB / 1.38 GB, free: 11.39 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005172/0.9018, allocations: 2.881 MB / 1.383 GB, free: 10.24 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-05/0.9018, allocations: 6.766 kB / 1.383 GB, free: 10.23 MB / 1.076 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.008847/0.9107, allocations: 4.335 MB / 1.387 GB, free: 8.668 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.9107, allocations: 15.75 kB / 1.388 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/0.9107, allocations: 4.531 kB / 1.388 GB, free: 8.66 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005323/0.916, allocations: 3.735 MB / 1.391 GB, free: 8.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002539/0.9163, allocations: 57.08 kB / 1.391 GB, free: 8.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008902/0.9252, allocations: 5.698 MB / 1.397 GB, free: 4.77 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.927, allocations: 218.3 kB / 1.397 GB, free: 4.617 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005221/0.9276, allocations: 186 kB / 1.397 GB, free: 4.602 MB / 1.076 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.001583/0.9291, allocations: 0.4937 MB / 1.398 GB, free: 4.348 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009304/0.9301, allocations: 250.9 kB / 1.398 GB, free: 4.211 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/0.9306, allocations: 164.2 kB / 1.398 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.9306, allocations: 1.281 kB / 1.398 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.9306, allocations: 0 / 1.398 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.9306, allocations: 2.438 kB / 1.398 GB, free: 4.145 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002404/0.933, allocations: 1.107 MB / 1.399 GB, free: 3.301 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.933, allocations: 4 kB / 1.399 GB, free: 3.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.9332, allocations: 14.17 kB / 1.399 GB, free: 3.293 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005408/0.9386, allocations: 3.737 MB / 1.403 GB, free: 2.418 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002681/0.9389, allocations: 66.03 kB / 1.403 GB, free: 2.383 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008713/0.9476, allocations: 5.703 MB / 1.408 GB, free: 14.44 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9476, allocations: 0 / 1.408 GB, free: 14.44 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007837/0.9554, allocations: 3.36 MB / 1.412 GB, free: 12.62 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/0.9562, allocations: 260.2 kB / 1.412 GB, free: 12.39 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008315/0.957, allocations: 25 kB / 1.412 GB, free: 12.38 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.9582, allocations: 55.56 kB / 1.412 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.9586, allocations: 115.3 kB / 1.412 GB, free: 12.28 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002616/0.9589, allocations: 127.5 kB / 1.412 GB, free: 12.26 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.003438/0.9623, allocations: 1.522 MB / 1.414 GB, free: 11.49 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.81e-07/0.9623, allocations: 0 / 1.414 GB, free: 11.49 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.00269/0.965, allocations: 427.4 kB / 1.414 GB, free: 11.42 MB / 1.092 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.009888/0.9749, allocations: 4.112 MB / 1.418 GB, free: 7.977 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.01077/0.9857, allocations: 7.273 MB / 1.425 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.9857, allocations: 0 / 1.425 GB, free: 0.6016 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.007827/0.9935, allocations: 5.839 MB / 1.431 GB, free: 10.66 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002456/0.996, allocations: 388.4 kB / 1.431 GB, free: 10.28 MB / 1.107 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:818:5-818:146:writable] Error: Internal error function createSimCode failed [Transformation from optimised DAE to simulation code structure failed] " [Timeout remaining time 299] [Calling sys.exit(0), Time elapsed: 6.901727863994893] Failed to read output from testmodel.py, exit status != 0: 1.0105870109982789 1.0245719 0.16784228099999995 Calling exit ...