Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.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.00148/0.00148, allocations: 84.23 kB / 20.23 MB, free: 4.207 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.001555/0.001555, allocations: 157.7 kB / 23.53 MB, free: 0.9062 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.512/1.512, allocations: 177.2 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1086/0.1086, allocations: 18.15 MB / 278.5 MB, free: 11.31 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.926e-06/2.926e-06, allocations: 0 / 356.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.921e-05, allocations: 2.312 kB / 356.5 MB, free: 8.176 MB / 282.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003): time 0.05809/0.05813, allocations: 23.94 MB / 380.5 MB, free: 416 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.06037, allocations: 422.4 kB / 380.9 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003228/0.06069, allocations: 11.94 kB / 380.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001579/0.06085, allocations: 43.52 kB / 380.9 MB, free: 15.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006128/0.06146, allocations: 154.7 kB / 381.1 MB, free: 15.79 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000341/0.0618, allocations: 87.75 kB / 381.2 MB, free: 15.7 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007012/0.06251, allocations: 437.7 kB / 381.6 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004453/0.06295, allocations: 227.5 kB / 381.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003525/0.0633, allocations: 195.4 kB / 382 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002882/0.06359, allocations: 139.6 kB / 382.1 MB, free: 14.72 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.06365, allocations: 28 kB / 382.2 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.0638, allocations: 55.97 kB / 382.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.06389, allocations: 75.66 kB / 382.3 MB, free: 14.56 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001661/0.06405, allocations: 131.7 kB / 382.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006239/0.06468, allocations: 418.6 kB / 382.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/0.06468, allocations: 0 / 382.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.06468, allocations: 4 kB / 382.8 MB, free: 14.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.06469, allocations: 0 / 382.8 MB, free: 14.02 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001235/0.06593, allocations: 0.5554 MB / 383.4 MB, free: 13.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.06597, allocations: 12.92 kB / 383.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.06611, allocations: 56.7 kB / 383.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.06658, allocations: 252.6 kB / 383.7 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.06662, allocations: 20.88 kB / 383.7 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.85e-05/0.06668, allocations: 24.38 kB / 383.8 MB, free: 13.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000567/0.06725, allocations: 284.1 kB / 384 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.06726, allocations: 192 / 384 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.06729, allocations: 4.375 kB / 384 MB, free: 12.75 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.0673, allocations: 8.375 kB / 384 MB, free: 12.74 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004227/0.06773, allocations: 209.8 kB / 384.3 MB, free: 12.54 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.06925, allocations: 0.7732 MB / 385 MB, free: 11.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004109/0.06966, allocations: 150.7 kB / 385.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.06991, allocations: 96.8 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.405e-05/0.06994, allocations: 4 kB / 385.3 MB, free: 11.46 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.06998, allocations: 30.56 kB / 385.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003419/0.07032, allocations: 59.8 kB / 385.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=18): time 1.933e-06/0.07032, allocations: 0 / 385.4 MB, free: 11.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=18): time 0.001511/0.07183, allocations: 370 kB / 385.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.07189, allocations: 55.41 kB / 385.8 MB, free: 10.93 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003661/0.07225, allocations: 272.2 kB / 386 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.07229, allocations: 29.7 kB / 386.1 MB, free: 10.61 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.07245, allocations: 188.3 kB / 386.3 MB, free: 10.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.157e-05/0.07252, allocations: 67.44 kB / 386.3 MB, free: 10.36 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.801e-05/0.07262, allocations: 45.69 kB / 386.4 MB, free: 10.31 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.07283, allocations: 342.8 kB / 386.7 MB, free: 9.965 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.07299, allocations: 63.97 kB / 386.8 MB, free: 9.902 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/0.07316, allocations: 85.62 kB / 386.8 MB, free: 9.812 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/0.07755, allocations: 0.7065 MB / 387.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.07755, allocations: 0 / 387.6 MB, free: 9.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009891/0.07854, allocations: 316.6 kB / 387.9 MB, free: 8.785 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/0.07856, allocations: 10.84 kB / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.07857, allocations: 0 / 387.9 MB, free: 8.777 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.07972, allocations: 140.6 kB / 388 MB, free: 8.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002835/0.08001, allocations: 43.97 kB / 388.1 MB, free: 8.594 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005963/0.0806, allocations: 0.5757 MB / 388.6 MB, free: 7.992 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.08079, allocations: 8.031 kB / 388.6 MB, free: 7.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.827e-05/0.08082, allocations: 16.05 kB / 388.7 MB, free: 7.969 MB / 314.7 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = \"K\" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = \"K\" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002892/0.08111, allocations: 145.8 kB / 388.8 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-05/0.08118, allocations: 27.86 kB / 388.8 MB, free: 7.789 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.0822, allocations: 360.2 kB / 389.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.0822, allocations: 0 / 389.2 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.08221, allocations: 4 kB / 389.2 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.08221, allocations: 3.984 kB / 389.2 MB, free: 7.414 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.08357, allocations: 0.6291 MB / 389.8 MB, free: 6.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.002e-06/0.08357, allocations: 4 kB / 389.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.08382, allocations: 35.98 kB / 389.8 MB, free: 6.699 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008747/0.0847, allocations: 132.7 kB / 390 MB, free: 6.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.207e-05/0.08472, allocations: 8 kB / 390 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005593/0.08528, allocations: 0.5836 MB / 390.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.08528, allocations: 0 / 390.6 MB, free: 5.949 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.08637, allocations: 0.5158 MB / 391.1 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.299e-05/0.08643, allocations: 31.77 kB / 391.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.088e-05/0.08648, allocations: 8 kB / 391.1 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.08664, allocations: 4 kB / 391.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.481e-05/0.08672, allocations: 19.97 kB / 391.1 MB, free: 5.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.211e-05/0.08674, allocations: 11.98 kB / 391.2 MB, free: 5.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002397/0.08698, allocations: 191.1 kB / 391.3 MB, free: 5.148 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08698, allocations: 0 / 391.3 MB, free: 5.148 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000393/0.08737, allocations: 83.83 kB / 391.4 MB, free: 5.066 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002051/0.08758, allocations: 107.2 kB / 391.5 MB, free: 4.953 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005699/0.08815, allocations: 188.9 kB / 391.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.08815, allocations: 0 / 391.7 MB, free: 4.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000285/0.08844, allocations: 112.9 kB / 391.8 MB, free: 4.66 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004857/0.08892, allocations: 69.2 kB / 391.9 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001319/0.09024, allocations: 0.6405 MB / 392.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001998/0.09044, allocations: 177.1 kB / 392.7 MB, free: 3.723 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.0906, allocations: 38.95 kB / 392.7 MB, free: 3.684 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.467e-05/0.09069, allocations: 36.48 kB / 392.8 MB, free: 3.648 MB / 314.7 MB Notification: Performance of SimCode: time 9.72e-07/0.09069, allocations: 0 / 392.8 MB, free: 3.648 MB / 314.7 MB Notification: Performance of Templates: time 0.009674/0.1004, allocations: 3.993 MB / 396.8 MB, free: 15.75 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.687109183054417]