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.0009805/0.0009805, allocations: 84.44 kB / 19.17 MB, free: 0.7422 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.000965/0.000965, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9461/0.9461, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.729/2.729, allocations: 446.7 MB / 0.6894 GB, free: 6.621 MB / 0.6511 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 1.933e-06/1.933e-06, allocations: 0 / 1.094 GB, free: 19.36 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.813e-05/2.007e-05, allocations: 3.406 kB / 1.094 GB, free: 19.36 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004997/0.005018, allocations: 3.416 MB / 1.098 GB, free: 17.05 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005868/0.01089, allocations: 4.689 MB / 1.102 GB, free: 13.79 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.01114, allocations: 28.31 kB / 1.102 GB, free: 13.77 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001095/0.01224, allocations: 497.6 kB / 1.103 GB, free: 13.59 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001015/0.01325, allocations: 0.8571 MB / 1.103 GB, free: 13.2 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004846/0.01374, allocations: 424.8 kB / 1.104 GB, free: 13.01 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0009177/0.01465, allocations: 1.302 MB / 1.105 GB, free: 12.45 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002196/0.01487, allocations: 133.1 kB / 1.105 GB, free: 12.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008653/0.01574, allocations: 0.847 MB / 1.106 GB, free: 12.04 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007536/0.01649, allocations: 0.7292 MB / 1.107 GB, free: 11.82 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001774/0.01667, allocations: 85.16 kB / 1.107 GB, free: 11.82 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.01695, allocations: 159 kB / 1.107 GB, free: 11.79 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0006548/0.01761, allocations: 0.932 MB / 1.108 GB, free: 11.43 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004843/0.01809, allocations: 0.5009 MB / 1.108 GB, free: 11.19 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.001607/0.0197, allocations: 2.122 MB / 1.111 GB, free: 10.48 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.0197, allocations: 0 / 1.111 GB, free: 10.48 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.212e-06/0.0197, allocations: 0.7969 kB / 1.111 GB, free: 10.48 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.62e-05/0.01973, allocations: 4 kB / 1.111 GB, free: 10.48 MB / 1.01 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.002225/0.02196, allocations: 2.262 MB / 1.113 GB, free: 9.121 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.02199, allocations: 8.938 kB / 1.113 GB, free: 9.121 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001206/0.02211, allocations: 122.4 kB / 1.113 GB, free: 9.035 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002508/0.02236, allocations: 241.5 kB / 1.113 GB, free: 8.902 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002119/0.02448, allocations: 1.929 MB / 1.115 GB, free: 7.988 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001603/0.02464, allocations: 329.9 kB / 1.115 GB, free: 7.707 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.02475, allocations: 80.05 kB / 1.115 GB, free: 7.672 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001695/0.02644, allocations: 1.436 MB / 1.117 GB, free: 7.125 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.02645, allocations: 0 / 1.117 GB, free: 7.125 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.189e-05/0.02652, allocations: 32.28 kB / 1.117 GB, free: 7.102 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.02652, allocations: 6.562 kB / 1.117 GB, free: 7.102 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001317/0.02784, allocations: 1.088 MB / 1.118 GB, free: 6.715 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002612/0.03045, allocations: 2.387 MB / 1.12 GB, free: 5.484 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001309/0.03176, allocations: 0.9635 MB / 1.121 GB, free: 5.137 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.03281, allocations: 0.8835 MB / 1.122 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.03283, allocations: 1.219 kB / 1.122 GB, free: 4.824 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.4e-05/0.03284, allocations: 36.7 kB / 1.122 GB, free: 4.781 MB / 1.01 GB Notification: Performance of pre-optimization done (n=115): time 1.813e-06/0.03284, allocations: 1.344 kB / 1.122 GB, free: 4.781 MB / 1.01 GB Notification: Performance of matching and sorting (n=115): time 0.005538/0.03838, allocations: 4.337 MB / 1.126 GB, free: 3.195 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.193e-05/0.0384, allocations: 54.12 kB / 1.126 GB, free: 3.133 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.0406, allocations: 2.261 MB / 1.129 GB, free: 2.324 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 8.137e-05/0.04069, allocations: 50.52 kB / 1.129 GB, free: 2.273 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003854/0.04107, allocations: 0.7379 MB / 1.129 GB, free: 1.688 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/0.04126, allocations: 406.9 kB / 1.13 GB, free: 1.359 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004261/0.04169, allocations: 393.2 kB / 1.13 GB, free: 1.227 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 2.517e-05/0.04171, allocations: 301.9 kB / 1.13 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001507/0.04322, allocations: 1.353 MB / 1.132 GB, free: 500 kB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.04481, allocations: 1.532 MB / 1.133 GB, free: 15.87 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003096/0.04791, allocations: 2.88 MB / 1.136 GB, free: 14.71 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.04792, allocations: 9.125 kB / 1.136 GB, free: 14.7 MB / 1.026 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.005136/0.05305, allocations: 4.335 MB / 1.14 GB, free: 13.14 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.05307, allocations: 9.875 kB / 1.14 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.05308, allocations: 5.391 kB / 1.14 GB, free: 13.14 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003334/0.05642, allocations: 3.723 MB / 1.144 GB, free: 12.62 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.05654, allocations: 58.09 kB / 1.144 GB, free: 12.61 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/0.06159, allocations: 5.708 MB / 1.15 GB, free: 9.199 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006864/0.06228, allocations: 219.1 kB / 1.15 GB, free: 9.047 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000191/0.06247, allocations: 181.8 kB / 1.15 GB, free: 9.035 MB / 1.026 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.0006206/0.06309, allocations: 498.1 kB / 1.15 GB, free: 8.789 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.06335, allocations: 251.1 kB / 1.151 GB, free: 8.652 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.0635, allocations: 159.4 kB / 1.151 GB, free: 8.59 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.0635, allocations: 5.031 kB / 1.151 GB, free: 8.586 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.0635, allocations: 1.312 kB / 1.151 GB, free: 8.586 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.06351, allocations: 1.312 kB / 1.151 GB, free: 8.586 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008707/0.06438, allocations: 0.8509 MB / 1.152 GB, free: 8.168 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.06438, allocations: 0 / 1.152 GB, free: 8.168 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.06443, allocations: 18.61 kB / 1.152 GB, free: 8.164 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003114/0.06755, allocations: 3.712 MB / 1.155 GB, free: 7.648 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.518e-05/0.06763, allocations: 61.39 kB / 1.155 GB, free: 7.633 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005059/0.07269, allocations: 5.682 MB / 1.161 GB, free: 4.242 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.07269, allocations: 3.938 kB / 1.161 GB, free: 4.238 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/0.07671, allocations: 3.36 MB / 1.164 GB, free: 2.848 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002008/0.07691, allocations: 196.2 kB / 1.164 GB, free: 2.707 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001748/0.07709, allocations: 27.48 kB / 1.164 GB, free: 2.688 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003683/0.07745, allocations: 49.34 kB / 1.164 GB, free: 2.668 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.07767, allocations: 119.1 kB / 1.165 GB, free: 2.652 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001429/0.07782, allocations: 134.9 kB / 1.165 GB, free: 2.641 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.001602/0.07942, allocations: 1.515 MB / 1.166 GB, free: 2.137 MB / 1.026 GB Notification: Performance of sort global known variables: time 9e-08/0.07942, allocations: 0 / 1.166 GB, free: 2.137 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0008975/0.08031, allocations: 420.3 kB / 1.167 GB, free: 2.078 MB / 1.026 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.005078/0.08539, allocations: 4.126 MB / 1.171 GB, free: 92 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.006564/0.09196, allocations: 7.266 MB / 1.178 GB, free: 9.754 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.09196, allocations: 0 / 1.178 GB, free: 9.754 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.004126/0.09609, allocations: 5.826 MB / 1.183 GB, free: 3.832 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.09741, allocations: 397.7 kB / 1.184 GB, free: 3.445 MB / 1.042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:843:5-843: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.623128387145698]