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.001811/0.001811, allocations: 107.3 kB / 16.45 MB, free: 6.508 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.001439/0.001439, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.467/1.467, allocations: 230.6 MB / 252.8 MB, free: 9.113 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 3.236/3.236, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 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="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.002182/0.002182, allocations: 71.88 kB / 1.172 GB, free: 17.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3368/0.339, allocations: 180.2 MB / 1.348 GB, free: 9.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.005685/0.3446, allocations: 3.724 MB / 1.351 GB, free: 6.168 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.007554/0.3522, allocations: 4.859 MB / 1.356 GB, free: 1.293 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006022/0.3528, allocations: 27.81 kB / 1.356 GB, free: 1.266 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001734/0.3545, allocations: 0.4941 MB / 1.357 GB, free: 0.7695 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002086/0.3566, allocations: 0.8137 MB / 1.358 GB, free: 15.95 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000847/0.3575, allocations: 419.3 kB / 1.358 GB, free: 15.54 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00159/0.359, allocations: 1.275 MB / 1.359 GB, free: 14.27 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003081/0.3594, allocations: 141.9 kB / 1.359 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001143/0.3605, allocations: 0.6934 MB / 1.36 GB, free: 13.41 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001216/0.3617, allocations: 0.8136 MB / 1.361 GB, free: 12.6 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0002468/0.362, allocations: 80 kB / 1.361 GB, free: 12.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.3624, allocations: 159.9 kB / 1.361 GB, free: 12.36 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009787/0.3634, allocations: 0.8997 MB / 1.362 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0009398/0.3643, allocations: 0.8189 MB / 1.363 GB, free: 10.64 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0024/0.3667, allocations: 2.162 MB / 1.365 GB, free: 8.465 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3667, allocations: 4 kB / 1.365 GB, free: 8.461 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3667, allocations: 0 / 1.365 GB, free: 8.461 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.817e-05/0.3668, allocations: 0 / 1.365 GB, free: 8.461 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.004294/0.3711, allocations: 2.356 MB / 1.367 GB, free: 6.047 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.3711, allocations: 11.98 kB / 1.367 GB, free: 6.035 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001818/0.3713, allocations: 126.7 kB / 1.367 GB, free: 5.902 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004773/0.3718, allocations: 231.4 kB / 1.367 GB, free: 5.676 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003238/0.375, allocations: 1.998 MB / 1.369 GB, free: 3.629 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002463/0.3753, allocations: 223.3 kB / 1.37 GB, free: 3.387 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.3754, allocations: 71.98 kB / 1.37 GB, free: 3.316 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002529/0.378, allocations: 1.437 MB / 1.371 GB, free: 1.859 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.378, allocations: 0 / 1.371 GB, free: 1.859 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.3781, allocations: 35.98 kB / 1.371 GB, free: 1.824 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.3781, allocations: 11.94 kB / 1.371 GB, free: 1.812 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002122/0.3802, allocations: 1.089 MB / 1.372 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004182/0.3844, allocations: 2.717 MB / 1.375 GB, free: 13.93 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002023/0.3864, allocations: 0.96 MB / 1.376 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001641/0.3881, allocations: 0.8813 MB / 1.377 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.3881, allocations: 4 kB / 1.377 GB, free: 12.08 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.3881, allocations: 38.56 kB / 1.377 GB, free: 12.03 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.775e-06/0.3881, allocations: 0 / 1.377 GB, free: 12.03 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008777/0.3969, allocations: 4.631 MB / 1.381 GB, free: 7.309 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.3969, allocations: 59.34 kB / 1.381 GB, free: 7.238 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.3999, allocations: 2.261 MB / 1.383 GB, free: 4.941 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/0.4001, allocations: 49.7 kB / 1.384 GB, free: 4.887 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006694/0.4008, allocations: 0.7332 MB / 1.384 GB, free: 4.148 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/0.4012, allocations: 416.4 kB / 1.385 GB, free: 3.738 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006112/0.4018, allocations: 389.4 kB / 1.385 GB, free: 3.352 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4019, allocations: 309.1 kB / 1.385 GB, free: 3.047 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.4042, allocations: 1.353 MB / 1.387 GB, free: 1.695 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002488/0.4067, allocations: 1.531 MB / 1.388 GB, free: 116 kB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00488/0.4116, allocations: 2.887 MB / 1.391 GB, free: 13.17 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.117e-05/0.4116, allocations: 8 kB / 1.391 GB, free: 13.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007995/0.4196, allocations: 4.335 MB / 1.395 GB, free: 8.812 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4196, allocations: 8.094 kB / 1.395 GB, free: 8.805 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4196, allocations: 11.88 kB / 1.395 GB, free: 8.793 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00491/0.4245, allocations: 3.742 MB / 1.399 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.4247, allocations: 51.91 kB / 1.399 GB, free: 4.984 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008159/0.4329, allocations: 5.696 MB / 1.404 GB, free: 15.18 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.4342, allocations: 222.1 kB / 1.405 GB, free: 14.96 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003137/0.4345, allocations: 188 kB / 1.405 GB, free: 14.78 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.0009262/0.4354, allocations: 489.4 kB / 1.405 GB, free: 14.29 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005674/0.436, allocations: 258.3 kB / 1.406 GB, free: 14.04 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.4363, allocations: 157.8 kB / 1.406 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4363, allocations: 4 kB / 1.406 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4363, allocations: 0 / 1.406 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.4363, allocations: 0 / 1.406 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001371/0.4377, allocations: 1.102 MB / 1.407 GB, free: 12.72 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.4377, allocations: 7.938 kB / 1.407 GB, free: 12.71 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.4378, allocations: 15.98 kB / 1.407 GB, free: 12.7 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004868/0.4427, allocations: 3.736 MB / 1.41 GB, free: 8.945 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001529/0.4428, allocations: 67.94 kB / 1.411 GB, free: 8.879 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008034/0.4509, allocations: 5.692 MB / 1.416 GB, free: 3.082 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4509, allocations: 4 kB / 1.416 GB, free: 3.078 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006623/0.4575, allocations: 3.354 MB / 1.419 GB, free: 15.69 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005311/0.458, allocations: 267.5 kB / 1.42 GB, free: 15.41 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003319/0.4583, allocations: 20 kB / 1.42 GB, free: 15.39 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006718/0.459, allocations: 63.88 kB / 1.42 GB, free: 15.32 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/0.4593, allocations: 107.8 kB / 1.42 GB, free: 15.22 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001892/0.4595, allocations: 135.9 kB / 1.42 GB, free: 15.09 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.00219/0.4617, allocations: 1.511 MB / 1.421 GB, free: 13.56 MB / 1.123 GB Notification: Performance of sort global known variables: time 7e-08/0.4617, allocations: 0 / 1.421 GB, free: 13.56 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001309/0.463, allocations: 427.7 kB / 1.422 GB, free: 13.14 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.007958/0.4709, allocations: 4.111 MB / 1.426 GB, free: 9.07 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01075/0.4817, allocations: 7.267 MB / 1.433 GB, free: 1.695 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.4817, allocations: 0 / 1.433 GB, free: 1.695 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.008142/0.4898, allocations: 5.825 MB / 1.439 GB, free: 11.77 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002229/0.4921, allocations: 407 kB / 1.439 GB, free: 11.37 MB / 1.139 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.9813439080026] Failed to read output from testmodel.py, exit status != 0: 0.5067077910061926 0.520849788 0.15116445 Calling exit ...