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.001528/0.001528, allocations: 95.77 kB / 18.94 MB, free: 2.844 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.001738/0.001738, allocations: 222.1 kB / 22.25 MB, free: 5.098 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.38/1.38, allocations: 230.6 MB / 256 MB, free: 7.82 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.08/3.08, allocations: 0.505 GB / 0.8101 GB, free: 23.65 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.001914/0.001914, allocations: 67.33 kB / 1.177 GB, free: 16.95 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3256, allocations: 180.2 MB / 1.353 GB, free: 8.137 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.006082/0.3317, allocations: 3.419 MB / 1.356 GB, free: 4.699 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.006836/0.3385, allocations: 4.677 MB / 1.361 GB, free: 12 kB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003981/0.3389, allocations: 27.86 kB / 1.361 GB, free: 15.98 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001691/0.3406, allocations: 0.4941 MB / 1.361 GB, free: 15.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.001884/0.3425, allocations: 0.8373 MB / 1.362 GB, free: 14.65 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000865/0.3434, allocations: 415.3 kB / 1.363 GB, free: 14.24 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001375/0.3447, allocations: 1.271 MB / 1.364 GB, free: 12.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003047/0.345, allocations: 150.3 kB / 1.364 GB, free: 12.8 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.3461, allocations: 0.7012 MB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001136/0.3472, allocations: 0.802 MB / 1.365 GB, free: 11.29 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.3474, allocations: 84 kB / 1.365 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000403/0.3478, allocations: 159.9 kB / 1.366 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0009362/0.3487, allocations: 0.8997 MB / 1.366 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0006398/0.3494, allocations: 0.656 MB / 1.367 GB, free: 9.492 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.002226/0.3516, allocations: 2.178 MB / 1.369 GB, free: 7.305 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3516, allocations: 0 / 1.369 GB, free: 7.305 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.774e-06/0.3516, allocations: 4 kB / 1.369 GB, free: 7.301 MB / 1.061 GB Notification: Performance of Transformations before backend: time 2.903e-05/0.3516, allocations: 0 / 1.369 GB, free: 7.301 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.003828/0.3554, allocations: 2.283 MB / 1.371 GB, free: 4.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.189e-05/0.3555, allocations: 12.03 kB / 1.371 GB, free: 4.965 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001791/0.3557, allocations: 126.7 kB / 1.372 GB, free: 4.832 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004584/0.3561, allocations: 235.4 kB / 1.372 GB, free: 4.602 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003714/0.3598, allocations: 1.922 MB / 1.374 GB, free: 2.625 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003066/0.3601, allocations: 330.2 kB / 1.374 GB, free: 2.254 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001729/0.3603, allocations: 68 kB / 1.374 GB, free: 2.188 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002509/0.3628, allocations: 1.437 MB / 1.375 GB, free: 0.7305 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.3628, allocations: 4 kB / 1.375 GB, free: 0.7266 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.507e-05/0.3629, allocations: 35.98 kB / 1.376 GB, free: 0.6914 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.363, allocations: 8 kB / 1.376 GB, free: 0.6836 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.365, allocations: 1.085 MB / 1.377 GB, free: 15.59 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004616/0.3696, allocations: 2.39 MB / 1.379 GB, free: 13.14 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00194/0.3716, allocations: 0.9641 MB / 1.38 GB, free: 12.17 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001577/0.3731, allocations: 0.8812 MB / 1.381 GB, free: 11.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.3732, allocations: 4 kB / 1.381 GB, free: 11.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.3732, allocations: 30.56 kB / 1.381 GB, free: 11.24 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 3.045e-06/0.3732, allocations: 0 / 1.381 GB, free: 11.24 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008202/0.3814, allocations: 4.333 MB / 1.385 GB, free: 6.891 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/0.3815, allocations: 59.34 kB / 1.385 GB, free: 6.82 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003021/0.3845, allocations: 2.265 MB / 1.387 GB, free: 4.52 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/0.3846, allocations: 49.69 kB / 1.387 GB, free: 4.465 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/0.3854, allocations: 0.7371 MB / 1.388 GB, free: 3.723 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004319/0.3858, allocations: 416.4 kB / 1.388 GB, free: 3.312 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005894/0.3864, allocations: 389.4 kB / 1.389 GB, free: 2.926 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.3865, allocations: 305.1 kB / 1.389 GB, free: 2.625 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.3887, allocations: 1.357 MB / 1.39 GB, free: 1.27 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002386/0.3911, allocations: 1.525 MB / 1.392 GB, free: 15.69 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004645/0.3958, allocations: 2.885 MB / 1.395 GB, free: 12.75 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.3958, allocations: 3.938 kB / 1.395 GB, free: 12.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.007606/0.4034, allocations: 4.349 MB / 1.399 GB, free: 8.379 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.4034, allocations: 5.406 kB / 1.399 GB, free: 8.375 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.4034, allocations: 11.92 kB / 1.399 GB, free: 8.363 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.4084, allocations: 3.737 MB / 1.403 GB, free: 4.613 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.4087, allocations: 51.91 kB / 1.403 GB, free: 4.562 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008408/0.4171, allocations: 5.692 MB / 1.408 GB, free: 14.76 MB / 1.108 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.4183, allocations: 222.4 kB / 1.408 GB, free: 14.54 MB / 1.108 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002596/0.4185, allocations: 179.9 kB / 1.409 GB, free: 14.37 MB / 1.108 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.0008544/0.4194, allocations: 493.4 kB / 1.409 GB, free: 13.88 MB / 1.108 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.4198, allocations: 250.4 kB / 1.409 GB, free: 13.63 MB / 1.108 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.42, allocations: 161.8 kB / 1.409 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.42, allocations: 4 kB / 1.409 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.42, allocations: 0 / 1.409 GB, free: 13.46 MB / 1.108 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.42, allocations: 4 kB / 1.409 GB, free: 13.45 MB / 1.108 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.4211, allocations: 0.8517 MB / 1.41 GB, free: 12.55 MB / 1.108 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4211, allocations: 192 / 1.41 GB, free: 12.55 MB / 1.108 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.4212, allocations: 11.98 kB / 1.41 GB, free: 12.54 MB / 1.108 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004698/0.4259, allocations: 3.715 MB / 1.414 GB, free: 8.812 MB / 1.108 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.426, allocations: 67.95 kB / 1.414 GB, free: 8.746 MB / 1.108 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007642/0.4337, allocations: 5.692 MB / 1.42 GB, free: 2.949 MB / 1.108 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.4337, allocations: 4.031 kB / 1.42 GB, free: 2.945 MB / 1.108 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006194/0.4399, allocations: 3.357 MB / 1.423 GB, free: 15.56 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004422/0.4403, allocations: 190.4 kB / 1.423 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000253/0.4406, allocations: 20 kB / 1.423 GB, free: 15.35 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005914/0.4412, allocations: 52.14 kB / 1.423 GB, free: 15.3 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002457/0.4414, allocations: 123.7 kB / 1.423 GB, free: 15.18 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001789/0.4416, allocations: 135.9 kB / 1.423 GB, free: 15.05 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002052/0.4437, allocations: 1.523 MB / 1.425 GB, free: 13.51 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4437, allocations: 0 / 1.425 GB, free: 13.51 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.00119/0.4448, allocations: 423.7 kB / 1.425 GB, free: 13.09 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.00744/0.4523, allocations: 4.113 MB / 1.429 GB, free: 9.035 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01037/0.4627, allocations: 7.272 MB / 1.436 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.4627, allocations: 0 / 1.436 GB, free: 1.656 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007618/0.4703, allocations: 5.82 MB / 1.442 GB, free: 11.73 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/0.4721, allocations: 406.5 kB / 1.442 GB, free: 11.34 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.564101000985829] Failed to read output from testmodel.py, exit status != 0: 0.4856061329774093 0.500870031 0.146235366 Calling exit ...