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.0009197/0.0009197, allocations: 92.22 kB / 19.65 MB, free: 280 kB / 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.0009008/0.0009008, allocations: 173 kB / 23.03 MB, free: 1.547 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.8861/0.8861, allocations: 177.1 MB / 203.4 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 1.99/1.99, allocations: 429.5 MB / 0.6733 GB, free: 4.039 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 0.8782 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.695e-05/1.886e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.004035/0.004054, allocations: 3.68 MB / 0.8818 GB, free: 2.586 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005099/0.009153, allocations: 4.983 MB / 0.8867 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003168/0.00947, allocations: 27.81 kB / 0.8867 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.0107, allocations: 489.9 kB / 0.8872 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.01183, allocations: 0.8523 MB / 0.888 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005645/0.01239, allocations: 423.1 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.01352, allocations: 1.309 MB / 0.8897 GB, free: 10.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002393/0.01376, allocations: 134.4 kB / 0.8898 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009569/0.01471, allocations: 0.8536 MB / 0.8907 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007466/0.01546, allocations: 0.7285 MB / 0.8914 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.01561, allocations: 80 kB / 0.8915 GB, free: 8.695 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.01588, allocations: 155.8 kB / 0.8916 GB, free: 8.543 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0005638/0.01644, allocations: 0.9116 MB / 0.8925 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003479/0.01679, allocations: 474.4 kB / 0.8929 GB, free: 7.164 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001295/0.01809, allocations: 1.478 MB / 0.8944 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.01809, allocations: 0 / 0.8944 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.02e-07/0.01809, allocations: 0 / 0.8944 GB, free: 5.68 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.341e-05/0.0181, allocations: 4 kB / 0.8944 GB, free: 5.676 MB / 0.8542 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.002068/0.02017, allocations: 2.393 MB / 0.8967 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.02021, allocations: 12.03 kB / 0.8967 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003095/0.02052, allocations: 295.4 kB / 0.897 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001591/0.02211, allocations: 1.736 MB / 0.8987 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001802/0.02229, allocations: 318.8 kB / 0.899 GB, free: 0.7812 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.486e-05/0.02238, allocations: 76.36 kB / 0.8991 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.02358, allocations: 1.058 MB / 0.9001 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.02359, allocations: 0 / 0.9001 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.02365, allocations: 36 kB / 0.9002 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.02366, allocations: 11.98 kB / 0.9002 GB, free: 15.58 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009855/0.02465, allocations: 0.6116 MB / 0.9008 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002254/0.0269, allocations: 2.476 MB / 0.9032 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000769/0.02767, allocations: 0.5586 MB / 0.9037 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/0.02821, allocations: 497.5 kB / 0.9042 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/0.02823, allocations: 4 kB / 0.9042 GB, free: 11.36 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.02825, allocations: 41.39 kB / 0.9043 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=115): time 1.753e-06/0.02825, allocations: 0 / 0.9043 GB, free: 11.31 MB / 0.8698 GB Notification: Performance of matching and sorting (n=115): time 0.003364/0.03162, allocations: 2.846 MB / 0.907 GB, free: 8.441 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.03164, allocations: 55.39 kB / 0.9071 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.03328, allocations: 1.876 MB / 0.9089 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.903e-05/0.03335, allocations: 53.7 kB / 0.909 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004762/0.03383, allocations: 0.8545 MB / 0.9098 GB, free: 5.531 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.03403, allocations: 412.5 kB / 0.9102 GB, free: 5.125 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003658/0.0344, allocations: 411 kB / 0.9106 GB, free: 4.715 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.871e-05/0.0345, allocations: 476.8 kB / 0.911 GB, free: 4.246 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007291/0.03523, allocations: 0.6189 MB / 0.9116 GB, free: 3.629 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008407/0.03607, allocations: 0.8499 MB / 0.9125 GB, free: 2.707 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0016/0.03767, allocations: 1.546 MB / 0.914 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.03767, allocations: 0 / 0.914 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.003238/0.04091, allocations: 2.709 MB / 0.9166 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.04093, allocations: 8 kB / 0.9166 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.04094, allocations: 4 kB / 0.9166 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002444/0.04338, allocations: 3.243 MB / 0.9198 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.04349, allocations: 51.91 kB / 0.9199 GB, free: 11.04 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/0.04719, allocations: 5.247 MB / 0.925 GB, free: 5.66 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004539/0.04764, allocations: 186.4 kB / 0.9252 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.04781, allocations: 180.1 kB / 0.9253 GB, free: 5.301 MB / 0.8855 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.0002999/0.04811, allocations: 220.5 kB / 0.9255 GB, free: 5.074 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002879/0.0484, allocations: 290.4 kB / 0.9258 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.04851, allocations: 124.6 kB / 0.9259 GB, free: 4.668 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.04851, allocations: 8.062 kB / 0.9259 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.04852, allocations: 0 / 0.9259 GB, free: 4.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.04852, allocations: 3.984 kB / 0.926 GB, free: 4.656 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007275/0.04925, allocations: 0.874 MB / 0.9268 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.04925, allocations: 0 / 0.9268 GB, free: 3.742 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.381e-05/0.04929, allocations: 4 kB / 0.9268 GB, free: 3.738 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002573/0.05186, allocations: 3.214 MB / 0.9299 GB, free: 0.5039 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.102e-05/0.05193, allocations: 63.94 kB / 0.93 GB, free: 452 kB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003267/0.0552, allocations: 5.235 MB / 0.9351 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.0552, allocations: 0 / 0.9351 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002741/0.05794, allocations: 2.349 MB / 0.9374 GB, free: 8.688 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.05808, allocations: 178.4 kB / 0.9376 GB, free: 8.512 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.05822, allocations: 27.98 kB / 0.9376 GB, free: 8.484 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002819/0.0585, allocations: 40.02 kB / 0.9377 GB, free: 8.445 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.05867, allocations: 119.8 kB / 0.9378 GB, free: 8.328 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001058/0.05878, allocations: 131.9 kB / 0.9379 GB, free: 8.199 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0009027/0.05968, allocations: 1.039 MB / 0.9389 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of sort global known variables: time 6e-08/0.05968, allocations: 0 / 0.9389 GB, free: 7.141 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0006892/0.06037, allocations: 439.6 kB / 0.9393 GB, free: 6.711 MB / 0.9011 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.000689/0.06106, allocations: 294.7 kB / 0.9396 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.004657/0.06572, allocations: 6.684 MB / 0.9461 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.06572, allocations: 0 / 0.9461 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.003614/0.06933, allocations: 5.95 MB / 0.9519 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.07036, allocations: 488.5 kB / 0.9524 GB, free: 9.137 MB / 0.9167 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SimCodeUtil.mo:856:5-856: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: 4.086394620127976]