Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0009012/0.0009012, allocations: 80.45 kB / 19.96 MB, free: 4.605 MB / 18.57 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.0009137/0.0009137, allocations: 169.2 kB / 23.23 MB, free: 1.328 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.9225/0.9225, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.874/1.874, allocations: 389.9 MB / 0.6347 GB, free: 12.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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_13_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_13_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.472e-06/1.472e-06, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.515e-05, allocations: 2.281 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003592/0.003607, allocations: 3.416 MB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004429/0.008035, allocations: 4.693 MB / 1.011 GB, free: 3.145 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003332/0.008369, allocations: 31.75 kB / 1.011 GB, free: 3.113 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.009578, allocations: 0.4902 MB / 1.011 GB, free: 2.621 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.01077, allocations: 0.8524 MB / 1.012 GB, free: 1.766 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.01131, allocations: 415 kB / 1.012 GB, free: 1.359 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0008642/0.01218, allocations: 1.309 MB / 1.014 GB, free: 48 kB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002356/0.01241, allocations: 134.3 kB / 1.014 GB, free: 15.9 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000717/0.01313, allocations: 0.8537 MB / 1.015 GB, free: 15.04 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006143/0.01374, allocations: 0.7285 MB / 1.015 GB, free: 14.31 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.01386, allocations: 84 kB / 1.015 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002625/0.01413, allocations: 151.8 kB / 1.016 GB, free: 14.08 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.000571/0.0147, allocations: 0.9349 MB / 1.017 GB, free: 13.14 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0003473/0.01505, allocations: 0.4906 MB / 1.017 GB, free: 12.65 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.01644, allocations: 2.133 MB / 1.019 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01645, allocations: 0 / 1.019 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.412e-06/0.01645, allocations: 0 / 1.019 GB, free: 10.51 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 1.922e-05/0.01647, allocations: 0 / 1.019 GB, free: 10.51 MB / 0.9792 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.002192/0.01866, allocations: 2.267 MB / 1.021 GB, free: 8.203 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.0187, allocations: 8.031 kB / 1.021 GB, free: 8.195 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001126/0.01881, allocations: 126.7 kB / 1.021 GB, free: 8.062 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.01905, allocations: 231.4 kB / 1.022 GB, free: 7.836 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001948/0.021, allocations: 1.925 MB / 1.024 GB, free: 5.852 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.02118, allocations: 334.8 kB / 1.024 GB, free: 5.477 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.007e-05/0.02127, allocations: 72.12 kB / 1.024 GB, free: 5.406 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001479/0.02275, allocations: 1.437 MB / 1.025 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.02276, allocations: 0 / 1.025 GB, free: 3.949 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.02282, allocations: 35.94 kB / 1.025 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/0.02283, allocations: 8 kB / 1.025 GB, free: 3.906 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.0242, allocations: 1.089 MB / 1.026 GB, free: 2.82 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00234/0.02654, allocations: 2.383 MB / 1.029 GB, free: 384 kB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001215/0.02775, allocations: 0.96 MB / 1.03 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009717/0.02872, allocations: 0.8853 MB / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.02874, allocations: 0 / 1.031 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.02875, allocations: 34.56 kB / 1.031 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=115): time 1.543e-06/0.02876, allocations: 0 / 1.031 GB, free: 14.48 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115): time 0.005072/0.03383, allocations: 4.33 MB / 1.035 GB, free: 10.13 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.03386, allocations: 55.41 kB / 1.035 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001738/0.0356, allocations: 2.272 MB / 1.037 GB, free: 7.758 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.395e-05/0.03566, allocations: 49.69 kB / 1.037 GB, free: 7.703 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003991/0.03606, allocations: 0.7332 MB / 1.038 GB, free: 6.965 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.03625, allocations: 408.5 kB / 1.038 GB, free: 6.562 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.03659, allocations: 381.4 kB / 1.039 GB, free: 6.184 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.03665, allocations: 305.1 kB / 1.039 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00147/0.03812, allocations: 1.361 MB / 1.04 GB, free: 4.523 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.03953, allocations: 1.529 MB / 1.042 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/0.04226, allocations: 2.885 MB / 1.045 GB, free: 4 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.04226, allocations: 0 / 1.045 GB, free: 4 kB / 0.9948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004813/0.04708, allocations: 4.341 MB / 1.049 GB, free: 11.64 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.0471, allocations: 4 kB / 1.049 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.04711, allocations: 4 kB / 1.049 GB, free: 11.64 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00293/0.05004, allocations: 3.744 MB / 1.052 GB, free: 7.879 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.05016, allocations: 55.89 kB / 1.053 GB, free: 7.824 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.05499, allocations: 5.706 MB / 1.058 GB, free: 2.016 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008575/0.05585, allocations: 218.4 kB / 1.058 GB, free: 1.801 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001913/0.05604, allocations: 183.9 kB / 1.058 GB, free: 1.621 MB / 1.01 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.0007442/0.05678, allocations: 497.9 kB / 1.059 GB, free: 1.125 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002918/0.05707, allocations: 254.4 kB / 1.059 GB, free: 0.875 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001643/0.05724, allocations: 161.8 kB / 1.059 GB, free: 0.7109 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.05724, allocations: 4 kB / 1.059 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.05725, allocations: 0 / 1.059 GB, free: 0.707 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.05725, allocations: 7.984 kB / 1.059 GB, free: 0.6992 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4246/0.4819, allocations: 0.8345 MB / 1.06 GB, free: 97.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.4819, allocations: 3.828 kB / 1.06 GB, free: 97.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.482, allocations: 15.16 kB / 1.06 GB, free: 97.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002857/0.4848, allocations: 3.709 MB / 1.064 GB, free: 97.09 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.832e-05/0.4849, allocations: 63.5 kB / 1.064 GB, free: 97.08 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004302/0.4892, allocations: 5.682 MB / 1.069 GB, free: 93.76 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.4892, allocations: 1.719 kB / 1.069 GB, free: 93.76 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003362/0.4926, allocations: 3.357 MB / 1.073 GB, free: 92.54 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002709/0.4929, allocations: 192.5 kB / 1.073 GB, free: 92.43 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.493, allocations: 21.31 kB / 1.073 GB, free: 92.41 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000322/0.4933, allocations: 63.12 kB / 1.073 GB, free: 92.39 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.4935, allocations: 112.8 kB / 1.073 GB, free: 92.38 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.751e-05/0.4936, allocations: 134.6 kB / 1.073 GB, free: 92.37 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001228/0.4948, allocations: 1.517 MB / 1.075 GB, free: 91.86 MB / 1.01 GB Notification: Performance of sort global known variables: time 2e-07/0.4948, allocations: 0 / 1.075 GB, free: 91.86 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0007196/0.4955, allocations: 427.9 kB / 1.075 GB, free: 91.81 MB / 1.01 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.003963/0.4995, allocations: 4.116 MB / 1.079 GB, free: 89.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005145/0.5046, allocations: 7.264 MB / 1.086 GB, free: 85.75 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.459e-06/0.5047, allocations: 0.5469 kB / 1.086 GB, free: 85.75 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.003964/0.5086, allocations: 5.836 MB / 1.092 GB, free: 82.02 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5098, allocations: 402 kB / 1.092 GB, free: 81.88 MB / 1.01 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 299] [Calling sys.exit(0), Time elapsed: 4.645598013885319]