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.001371/0.001371, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001451/0.001451, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.461/1.461, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.945/2.945, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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: translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSupLvg.TSet|chiSupLvg.TLoaEnt|chiSupLvg.TLoaLvg|chiSupLvg.Q_flow|chiSupLvg.Q_flow_nominal|chiRetEnt.TSet|chiRetEnt.TLoaEnt|chiRetEnt.TLoaLvg|chiRetEnt.Q_flow|chiRetEnt.Q_flow_nominal|chiHeaSupLvg.TSet|chiHeaSupLvg.TLoaEnt|chiHeaSupLvg.TLoaLvg|chiHeaSupLvg.Q_flow|chiHeaSupLvg.Q_flow_nominal|hpSupLvg.TSet|hpSupLvg.TLoaEnt|hpSupLvg.TLoaLvg|hpSupLvg.Q_flow|hpSupLvg.Q_flow_nominal",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep") [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.002349/0.002349, allocations: 67.89 kB / 1.009 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9282/0.9305, allocations: 181.8 MB / 1.187 GB, free: 16.15 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004717/0.9353, allocations: 3.412 MB / 1.19 GB, free: 13.86 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006181/0.9414, allocations: 4.688 MB / 1.195 GB, free: 10.59 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000442/0.9419, allocations: 29.41 kB / 1.195 GB, free: 10.58 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.9436, allocations: 499.9 kB / 1.195 GB, free: 10.39 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002094/0.9457, allocations: 0.846 MB / 1.196 GB, free: 10.02 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008616/0.9466, allocations: 416.4 kB / 1.196 GB, free: 9.836 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001433/0.948, allocations: 1.283 MB / 1.198 GB, free: 9.297 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002832/0.9483, allocations: 130.1 kB / 1.198 GB, free: 9.211 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.9494, allocations: 0.694 MB / 1.198 GB, free: 8.949 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001192/0.9506, allocations: 0.7756 MB / 1.199 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.000219/0.9508, allocations: 81.22 kB / 1.199 GB, free: 8.688 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004547/0.9512, allocations: 163 kB / 1.199 GB, free: 8.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001068/0.9523, allocations: 0.9067 MB / 1.2 GB, free: 8.359 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0006638/0.953, allocations: 0.6549 MB / 1.201 GB, free: 7.969 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.9556, allocations: 2.181 MB / 1.203 GB, free: 7.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.9556, allocations: 0 / 1.203 GB, free: 7.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/0.9556, allocations: 0 / 1.203 GB, free: 7.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.559e-05/0.9556, allocations: 1.094 kB / 1.203 GB, free: 7.16 MB / 1.076 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.004264/0.9599, allocations: 2.28 MB / 1.205 GB, free: 5.805 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.9599, allocations: 13.56 kB / 1.205 GB, free: 5.801 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005297/0.9604, allocations: 233.3 kB / 1.205 GB, free: 5.676 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003354/0.9638, allocations: 1.926 MB / 1.207 GB, free: 4.766 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002239/0.964, allocations: 333.9 kB / 1.208 GB, free: 4.48 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001554/0.9642, allocations: 75.08 kB / 1.208 GB, free: 4.449 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002457/0.9666, allocations: 1.431 MB / 1.209 GB, free: 3.902 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.9666, allocations: 0.9375 kB / 1.209 GB, free: 3.902 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.9667, allocations: 31.91 kB / 1.209 GB, free: 3.879 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.9668, allocations: 12.22 kB / 1.209 GB, free: 3.875 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002071/0.9688, allocations: 1.082 MB / 1.21 GB, free: 3.496 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004249/0.9731, allocations: 2.254 MB / 1.212 GB, free: 2.355 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.975, allocations: 0.9625 MB / 1.213 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/0.9767, allocations: 0.8833 MB / 1.214 GB, free: 1.691 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.9767, allocations: 1.312 kB / 1.214 GB, free: 1.691 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.9767, allocations: 33.34 kB / 1.214 GB, free: 1.652 MB / 1.076 GB Notification: Performance of pre-optimization done (n=115): time 2.975e-06/0.9767, allocations: 0 / 1.214 GB, free: 1.652 MB / 1.076 GB Notification: Performance of matching and sorting (n=115): time 0.008923/0.9856, allocations: 4.329 MB / 1.218 GB, free: 68 kB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.9856, allocations: 58.3 kB / 1.219 GB, free: 0 / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003834/0.9895, allocations: 2.15 MB / 1.221 GB, free: 15.22 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.9897, allocations: 51.36 kB / 1.221 GB, free: 15.17 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007848/0.9905, allocations: 0.7472 MB / 1.221 GB, free: 14.58 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004903/0.991, allocations: 412.7 kB / 1.222 GB, free: 14.25 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007833/0.9918, allocations: 394.4 kB / 1.222 GB, free: 14.12 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.9919, allocations: 302.9 kB / 1.222 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002571/0.9945, allocations: 1.352 MB / 1.224 GB, free: 13.38 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0027/0.9972, allocations: 1.531 MB / 1.225 GB, free: 12.77 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/1.003, allocations: 2.883 MB / 1.228 GB, free: 11.61 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.288e-06/1.003, allocations: 1.125 kB / 1.228 GB, free: 11.61 MB / 1.092 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.00854/1.011, allocations: 4.326 MB / 1.232 GB, free: 10.05 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/1.011, allocations: 10.88 kB / 1.232 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/1.011, allocations: 4.125 kB / 1.232 GB, free: 10.04 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005158/1.016, allocations: 3.74 MB / 1.236 GB, free: 9.504 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002331/1.017, allocations: 63.81 kB / 1.236 GB, free: 9.488 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008482/1.025, allocations: 5.701 MB / 1.242 GB, free: 5.816 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/1.026, allocations: 205.6 kB / 1.242 GB, free: 5.664 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003603/1.027, allocations: 186.6 kB / 1.242 GB, free: 5.629 MB / 1.092 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.001169/1.028, allocations: 493.6 kB / 1.242 GB, free: 5.312 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007342/1.029, allocations: 237.6 kB / 1.243 GB, free: 5.184 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/1.029, allocations: 153.2 kB / 1.243 GB, free: 5.094 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.029, allocations: 1.5 kB / 1.243 GB, free: 5.094 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.029, allocations: 4.938 kB / 1.243 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/1.029, allocations: 0 / 1.243 GB, free: 5.09 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001406/1.031, allocations: 0.7608 MB / 1.244 GB, free: 4.582 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.031, allocations: 4 kB / 1.244 GB, free: 4.578 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/1.031, allocations: 16.61 kB / 1.244 GB, free: 4.57 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004878/1.036, allocations: 3.722 MB / 1.247 GB, free: 3.652 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000163/1.036, allocations: 62.5 kB / 1.247 GB, free: 3.621 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008457/1.044, allocations: 5.683 MB / 1.253 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.044, allocations: 3.938 kB / 1.253 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007039/1.051, allocations: 3.351 MB / 1.256 GB, free: 13.89 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006376/1.052, allocations: 176.9 kB / 1.256 GB, free: 13.76 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004896/1.052, allocations: 25.7 kB / 1.256 GB, free: 13.74 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008571/1.053, allocations: 52.67 kB / 1.256 GB, free: 13.71 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/1.053, allocations: 115.9 kB / 1.257 GB, free: 13.63 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002148/1.054, allocations: 137 kB / 1.257 GB, free: 13.61 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.002622/1.056, allocations: 1.434 MB / 1.258 GB, free: 12.41 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/1.056, allocations: 0 / 1.258 GB, free: 12.41 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.00164/1.058, allocations: 443.6 kB / 1.258 GB, free: 11.98 MB / 1.107 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.001196/1.059, allocations: 314.9 kB / 1.259 GB, free: 11.75 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.01115/1.07, allocations: 7.277 MB / 1.266 GB, free: 4.367 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.07, allocations: 0 / 1.266 GB, free: 4.367 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.008096/1.078, allocations: 5.831 MB / 1.272 GB, free: 14.43 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002457/1.081, allocations: 378.3 kB / 1.272 GB, free: 14.06 MB / 1.123 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:836:5-836: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: 7.166319384006783] Failed to read output from testmodel.py, exit status != 0: 1.0972936459584162 1.1111165 0.15239750200000002 Calling exit ...