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.001567/0.001567, allocations: 80.45 kB / 19.96 MB, free: 4.609 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.002022/0.002022, allocations: 173.2 kB / 23.24 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 1.028/1.028, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.852/1.852, allocations: 389.9 MB / 0.6346 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 177] 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.082e-06/1.082e-06, allocations: 0 / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.584e-05/1.692e-05, allocations: 2.281 kB / 1.002 GB, free: 12.12 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.RefrigerantCycle.BaseClasses.Validation.TableData2DLoadDep): time 0.003579/0.003596, allocations: 3.413 MB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004447/0.008043, allocations: 4.7 MB / 1.01 GB, free: 3.969 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002906/0.008334, allocations: 27.75 kB / 1.01 GB, free: 3.941 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.01, allocations: 497.9 kB / 1.01 GB, free: 3.453 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.001231/0.01123, allocations: 0.8524 MB / 1.011 GB, free: 2.598 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000638/0.01187, allocations: 415.1 kB / 1.012 GB, free: 2.191 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.01291, allocations: 1.305 MB / 1.013 GB, free: 0.8828 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.01322, allocations: 126.4 kB / 1.013 GB, free: 0.7422 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009471/0.01417, allocations: 0.8575 MB / 1.014 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001012/0.01518, allocations: 0.7261 MB / 1.015 GB, free: 15.16 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 0.0002081/0.01539, allocations: 80 kB / 1.015 GB, free: 15.08 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003954/0.01579, allocations: 167.8 kB / 1.015 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 0.0006668/0.01645, allocations: 0.9271 MB / 1.016 GB, free: 13.98 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 0.0004307/0.01688, allocations: 0.5061 MB / 1.016 GB, free: 13.48 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.00164/0.01852, allocations: 2.125 MB / 1.018 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.01853, allocations: 0 / 1.018 GB, free: 11.35 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.837e-06/0.01853, allocations: 3.984 kB / 1.018 GB, free: 11.34 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.354e-05/0.01856, allocations: 4 kB / 1.018 GB, free: 11.34 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.00275/0.02131, allocations: 2.263 MB / 1.021 GB, free: 9.035 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.251e-05/0.02137, allocations: 16.02 kB / 1.021 GB, free: 9.02 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001439/0.02151, allocations: 118.7 kB / 1.021 GB, free: 8.895 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.02179, allocations: 235.4 kB / 1.021 GB, free: 8.664 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.0241, allocations: 1.929 MB / 1.023 GB, free: 6.676 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002393/0.02434, allocations: 322.8 kB / 1.023 GB, free: 6.312 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001074/0.02445, allocations: 84.09 kB / 1.023 GB, free: 6.23 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.02615, allocations: 1.429 MB / 1.025 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.02617, allocations: 0 / 1.025 GB, free: 4.781 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.02623, allocations: 32 kB / 1.025 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.02624, allocations: 8 kB / 1.025 GB, free: 4.742 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001497/0.02774, allocations: 1.089 MB / 1.026 GB, free: 3.656 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.03056, allocations: 2.386 MB / 1.028 GB, free: 1.207 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001194/0.03175, allocations: 0.9678 MB / 1.029 GB, free: 236 kB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/0.03278, allocations: 0.8775 MB / 1.03 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.79e-05/0.0328, allocations: 4 kB / 1.03 GB, free: 15.35 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.03282, allocations: 30.56 kB / 1.03 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=115): time 1.763e-06/0.03282, allocations: 0 / 1.03 GB, free: 15.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115): time 0.005396/0.03822, allocations: 4.333 MB / 1.034 GB, free: 10.96 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.774e-05/0.03826, allocations: 55.41 kB / 1.034 GB, free: 10.89 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002016/0.04027, allocations: 2.265 MB / 1.036 GB, free: 8.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.485e-05/0.04035, allocations: 49.69 kB / 1.036 GB, free: 8.535 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004591/0.04081, allocations: 0.7371 MB / 1.037 GB, free: 7.793 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001985/0.041, allocations: 408.5 kB / 1.037 GB, free: 7.391 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003423/0.04135, allocations: 389.4 kB / 1.038 GB, free: 7.004 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.04142, allocations: 305.1 kB / 1.038 GB, free: 6.703 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.04304, allocations: 1.349 MB / 1.039 GB, free: 5.355 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/0.04444, allocations: 1.537 MB / 1.041 GB, free: 3.766 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002674/0.04711, allocations: 2.881 MB / 1.044 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.04712, allocations: 0 / 1.044 GB, free: 0.832 MB / 0.9948 GB Notification: Performance of matching and sorting (n=213) (initialization): time 0.004866/0.05198, allocations: 4.345 MB / 1.048 GB, free: 12.47 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.052, allocations: 8 kB / 1.048 GB, free: 12.46 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.05201, allocations: 8 kB / 1.048 GB, free: 12.45 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003002/0.05502, allocations: 3.736 MB / 1.052 GB, free: 8.703 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001136/0.05513, allocations: 52.09 kB / 1.052 GB, free: 8.652 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005723/0.06085, allocations: 5.706 MB / 1.057 GB, free: 2.844 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.06146, allocations: 230.1 kB / 1.058 GB, free: 2.617 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004262/0.06189, allocations: 179.9 kB / 1.058 GB, free: 2.441 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.0007382/0.06262, allocations: 490 kB / 1.058 GB, free: 1.953 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002825/0.06291, allocations: 254.3 kB / 1.058 GB, free: 1.703 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.06321, allocations: 169.8 kB / 1.059 GB, free: 1.531 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.06321, allocations: 64 / 1.059 GB, free: 1.531 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.06322, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.591e-06/0.06323, allocations: 0 / 1.059 GB, free: 1.527 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008814/0.06411, allocations: 0.8478 MB / 1.059 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.349e-06/0.06412, allocations: 0 / 1.059 GB, free: 0.6328 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.06417, allocations: 15.98 kB / 1.059 GB, free: 0.6172 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5099/0.5741, allocations: 3.706 MB / 1.063 GB, free: 97.67 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5742, allocations: 61.08 kB / 1.063 GB, free: 97.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.5783, allocations: 5.69 MB / 1.069 GB, free: 94.37 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5783, allocations: 0 / 1.069 GB, free: 94.37 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/0.5817, allocations: 3.354 MB / 1.072 GB, free: 93.15 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.5819, allocations: 192.4 kB / 1.072 GB, free: 93.04 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001346/0.582, allocations: 24.66 kB / 1.072 GB, free: 93.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003085/0.5823, allocations: 52.94 kB / 1.072 GB, free: 93 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001348/0.5825, allocations: 113.6 kB / 1.072 GB, free: 92.99 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.925e-05/0.5825, allocations: 142.1 kB / 1.072 GB, free: 92.98 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001134/0.5837, allocations: 1.51 MB / 1.074 GB, free: 92.48 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5837, allocations: 0 / 1.074 GB, free: 92.48 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000716/0.5844, allocations: 422 kB / 1.074 GB, free: 92.42 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.004124/0.5885, allocations: 4.122 MB / 1.078 GB, free: 90.52 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.005055/0.5936, allocations: 7.267 MB / 1.085 GB, free: 86.36 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5936, allocations: 0 / 1.085 GB, free: 86.36 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.004388/0.598, allocations: 5.835 MB / 1.091 GB, free: 82.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.599, allocations: 401.1 kB / 1.091 GB, free: 82.48 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: 5.014827094972134]