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.001101/0.001101, allocations: 105.5 kB / 18.95 MB, free: 1.188 MB / 13.93 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.0009888/0.0009888, allocations: 216 kB / 22.25 MB, free: 3.574 MB / 13.93 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 0.9227/0.9227, allocations: 230.6 MB / 256 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.417/2.417, allocations: 0.5789 GB / 0.884 GB, free: 8.141 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_ModularReversible_RefrigerantCycle_BaseClasses_Validation_TableData2DLoadDep",fmuType="me_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="me_cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001523/0.001523, allocations: 77.91 kB / 1.289 GB, free: 6.605 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2898, allocations: 198.9 MB / 1.483 GB, free: 4.84 MB / 1.151 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003327/0.2931, allocations: 3.405 MB / 1.486 GB, free: 1.414 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.004315/0.2974, allocations: 4.693 MB / 1.491 GB, free: 12.7 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002764/0.2977, allocations: 27.75 kB / 1.491 GB, free: 12.67 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.2988, allocations: 498 kB / 1.491 GB, free: 12.18 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.0009883/0.2998, allocations: 0.845 MB / 1.492 GB, free: 11.34 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.3003, allocations: 411.4 kB / 1.493 GB, free: 10.93 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.001029/0.3013, allocations: 1.279 MB / 1.494 GB, free: 9.652 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.3015, allocations: 130.4 kB / 1.494 GB, free: 9.508 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007557/0.3023, allocations: 0.7011 MB / 1.495 GB, free: 8.805 MB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009424/0.3032, allocations: 0.7707 MB / 1.495 GB, free: 8.031 MB / 1.167 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.3034, allocations: 80 kB / 1.495 GB, free: 7.953 MB / 1.167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003016/0.3037, allocations: 163.9 kB / 1.496 GB, free: 7.793 MB / 1.167 GB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.3042, allocations: 0.8842 MB / 1.496 GB, free: 6.906 MB / 1.167 GB Notification: Performance of NFVerifyModel.verify: time 0.000692/0.3049, allocations: 0.6483 MB / 1.497 GB, free: 6.254 MB / 1.167 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.3063, allocations: 2.182 MB / 1.499 GB, free: 4.062 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3063, allocations: 0 / 1.499 GB, free: 4.062 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.475e-06/0.3063, allocations: 3.984 kB / 1.499 GB, free: 4.059 MB / 1.167 GB Notification: Performance of Transformations before backend: time 4.332e-05/0.3063, allocations: 0 / 1.499 GB, free: 4.059 MB / 1.167 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.002294/0.3086, allocations: 2.279 MB / 1.501 GB, free: 1.738 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3086, allocations: 15.97 kB / 1.501 GB, free: 1.723 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.3087, allocations: 122.7 kB / 1.502 GB, free: 1.594 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000256/0.309, allocations: 231.4 kB / 1.502 GB, free: 1.367 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001931/0.3109, allocations: 1.93 MB / 1.504 GB, free: 15.38 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000407/0.3113, allocations: 330.1 kB / 1.504 GB, free: 15.01 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.449e-05/0.3114, allocations: 71.98 kB / 1.504 GB, free: 14.94 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/0.3128, allocations: 1.433 MB / 1.505 GB, free: 13.49 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.3129, allocations: 0 / 1.505 GB, free: 13.49 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.3129, allocations: 36 kB / 1.505 GB, free: 13.45 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3129, allocations: 8 kB / 1.506 GB, free: 13.45 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001169/0.3141, allocations: 1.089 MB / 1.507 GB, free: 12.36 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002265/0.3164, allocations: 2.379 MB / 1.509 GB, free: 9.918 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.3175, allocations: 0.9717 MB / 1.51 GB, free: 8.938 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/0.3184, allocations: 0.8813 MB / 1.511 GB, free: 8.055 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.3184, allocations: 3.984 kB / 1.511 GB, free: 8.051 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.3184, allocations: 34.56 kB / 1.511 GB, free: 8.008 MB / 1.182 GB Notification: Performance of pre-optimization done (n=115): time 2.134e-06/0.3184, allocations: 0 / 1.511 GB, free: 8.008 MB / 1.182 GB Notification: Performance of matching and sorting (n=115): time 0.004949/0.3234, allocations: 4.337 MB / 1.515 GB, free: 3.652 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.3234, allocations: 51.41 kB / 1.515 GB, free: 3.59 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002064/0.3255, allocations: 2.265 MB / 1.517 GB, free: 1.289 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 8.026e-05/0.3256, allocations: 57.69 kB / 1.517 GB, free: 1.227 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.326, allocations: 0.7371 MB / 1.518 GB, free: 496 kB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004665/0.3264, allocations: 408.5 kB / 1.518 GB, free: 84 kB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003637/0.3268, allocations: 393.4 kB / 1.519 GB, free: 15.69 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 6.504e-05/0.3269, allocations: 309.1 kB / 1.519 GB, free: 15.39 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001287/0.3281, allocations: 1.349 MB / 1.52 GB, free: 14.04 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/0.3295, allocations: 1.544 MB / 1.522 GB, free: 12.44 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.332, allocations: 2.873 MB / 1.525 GB, free: 9.512 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.332, allocations: 4 kB / 1.525 GB, free: 9.508 MB / 1.198 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00439/0.3364, allocations: 4.341 MB / 1.529 GB, free: 5.145 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.3365, allocations: 8.094 kB / 1.529 GB, free: 5.137 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3365, allocations: 11.88 kB / 1.529 GB, free: 5.125 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002914/0.3394, allocations: 3.723 MB / 1.533 GB, free: 1.391 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3395, allocations: 55.89 kB / 1.533 GB, free: 1.336 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004569/0.3441, allocations: 5.709 MB / 1.538 GB, free: 11.52 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005214/0.3446, allocations: 218.2 kB / 1.538 GB, free: 11.31 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.3447, allocations: 179.9 kB / 1.539 GB, free: 11.13 MB / 1.214 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.0005237/0.3453, allocations: 0.4895 MB / 1.539 GB, free: 10.63 MB / 1.214 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004477/0.3457, allocations: 250.4 kB / 1.539 GB, free: 10.39 MB / 1.214 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.3458, allocations: 161.8 kB / 1.539 GB, free: 10.22 MB / 1.214 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.3458, allocations: 4.062 kB / 1.539 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.3458, allocations: 0 / 1.539 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3458, allocations: 3.984 kB / 1.539 GB, free: 10.21 MB / 1.214 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006066/0.3464, allocations: 0.8479 MB / 1.54 GB, free: 9.316 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3464, allocations: 0 / 1.54 GB, free: 9.316 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.353e-05/0.3465, allocations: 11.98 kB / 1.54 GB, free: 9.305 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002514/0.349, allocations: 3.707 MB / 1.544 GB, free: 5.582 MB / 1.214 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.36e-05/0.3491, allocations: 59.95 kB / 1.544 GB, free: 5.523 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004387/0.3534, allocations: 5.708 MB / 1.55 GB, free: 15.71 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3535, allocations: 0 / 1.55 GB, free: 15.71 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/0.3567, allocations: 3.357 MB / 1.553 GB, free: 12.32 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.3569, allocations: 186.4 kB / 1.553 GB, free: 12.13 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000121/0.357, allocations: 27.98 kB / 1.553 GB, free: 12.11 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3573, allocations: 51.95 kB / 1.553 GB, free: 12.05 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001581/0.3575, allocations: 123.8 kB / 1.553 GB, free: 11.93 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003314/0.3578, allocations: 128 kB / 1.553 GB, free: 11.81 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.00116/0.3589, allocations: 1.515 MB / 1.555 GB, free: 10.28 MB / 1.229 GB Notification: Performance of sort global known variables: time 8e-08/0.3589, allocations: 0 / 1.555 GB, free: 10.28 MB / 1.229 GB Notification: Performance of remove unused functions: time 0.000612/0.3596, allocations: 427.7 kB / 1.555 GB, free: 9.859 MB / 1.229 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.004041/0.3636, allocations: 4.117 MB / 1.559 GB, free: 5.797 MB / 1.229 GB Notification: Performance of simCode: created initialization part: time 0.005738/0.3693, allocations: 7.273 MB / 1.566 GB, free: 14.42 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3693, allocations: 4 kB / 1.566 GB, free: 14.42 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.004054/0.3734, allocations: 5.818 MB / 1.572 GB, free: 8.496 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.3743, allocations: 408.9 kB / 1.572 GB, free: 8.102 MB / 1.245 GB [/var/lib/jenkins/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: 5.309826687909663]