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.001079/0.001079, allocations: 78.66 kB / 21.46 MB, free: 3.043 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.001198/0.001198, allocations: 161.6 kB / 24.85 MB, free: 8.641 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.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] 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.06632/0.06632, allocations: 18.14 MB / 280 MB, free: 11.19 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 1.663e-06/1.663e-06, allocations: 0 / 358.6 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.845e-05, allocations: 2.312 kB / 358.6 MB, free: 8.578 MB / 330.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.02223/0.02225, allocations: 26.51 MB / 385.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000913/0.02317, allocations: 410.4 kB / 385.5 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000155/0.02332, allocations: 15.94 kB / 385.5 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 7.132e-05/0.02339, allocations: 43.5 kB / 385.5 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003115/0.0237, allocations: 158.7 kB / 385.7 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001805/0.02389, allocations: 87.75 kB / 385.8 MB, free: 13.53 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.02417, allocations: 441.7 kB / 386.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002531/0.02442, allocations: 215.5 kB / 386.4 MB, free: 12.89 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.02461, allocations: 191.4 kB / 386.6 MB, free: 12.7 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.02477, allocations: 143.6 kB / 386.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.32e-05/0.02481, allocations: 28 kB / 386.8 MB, free: 12.53 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.269e-05/0.0249, allocations: 63.95 kB / 386.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.02494, allocations: 71.69 kB / 386.9 MB, free: 12.4 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.02503, allocations: 127.6 kB / 387 MB, free: 12.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.02529, allocations: 287 kB / 387.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.02529, allocations: 3.984 kB / 387.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.02529, allocations: 0 / 387.3 MB, free: 11.99 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.0253, allocations: 0 / 387.3 MB, free: 11.99 MB / 362.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.0006303/0.02593, allocations: 0.6591 MB / 388 MB, free: 11.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.02596, allocations: 12.92 kB / 388 MB, free: 11.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/0.02602, allocations: 60.64 kB / 388 MB, free: 11.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.02627, allocations: 267.4 kB / 388.3 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.02628, allocations: 16.88 kB / 388.3 MB, free: 10.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.02632, allocations: 24.38 kB / 388.3 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.02655, allocations: 233.2 kB / 388.6 MB, free: 10.64 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.138e-06/0.02656, allocations: 4.188 kB / 388.6 MB, free: 10.63 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.02658, allocations: 8.375 kB / 388.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.02658, allocations: 8.375 kB / 388.6 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.02671, allocations: 105.3 kB / 388.7 MB, free: 10.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.02744, allocations: 0.8448 MB / 389.5 MB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.02762, allocations: 115.2 kB / 389.6 MB, free: 9.508 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.81e-05/0.02771, allocations: 67.62 kB / 389.7 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.02773, allocations: 8 kB / 389.7 MB, free: 9.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.02775, allocations: 33.39 kB / 389.8 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001433/0.02789, allocations: 51.94 kB / 389.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of pre-optimization done (n=18): time 1.272e-06/0.02789, allocations: 0 / 389.8 MB, free: 9.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=18): time 0.0007276/0.02862, allocations: 288.8 kB / 390.1 MB, free: 9.043 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.02864, allocations: 59.34 kB / 390.1 MB, free: 8.973 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000151/0.02879, allocations: 302.1 kB / 390.4 MB, free: 8.656 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.02881, allocations: 29.7 kB / 390.5 MB, free: 8.621 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.78e-05/0.02891, allocations: 239 kB / 390.7 MB, free: 8.383 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.406e-05/0.02894, allocations: 63.42 kB / 390.8 MB, free: 8.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.029, allocations: 55.19 kB / 390.8 MB, free: 8.258 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.02912, allocations: 0.5195 MB / 391.3 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.344e-05/0.02917, allocations: 31.97 kB / 391.4 MB, free: 7.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.821e-05/0.02922, allocations: 56.14 kB / 391.4 MB, free: 7.633 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.02939, allocations: 146.1 kB / 391.6 MB, free: 7.484 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02939, allocations: 3.938 kB / 391.6 MB, free: 7.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003513/0.02974, allocations: 239.5 kB / 391.8 MB, free: 7.238 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.02975, allocations: 10.44 kB / 391.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.02976, allocations: 0 / 391.8 MB, free: 7.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005022/0.03026, allocations: 135.5 kB / 391.9 MB, free: 7.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.03038, allocations: 47.91 kB / 392 MB, free: 7.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002936/0.03068, allocations: 0.8195 MB / 392.8 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.03074, allocations: 4 kB / 392.8 MB, free: 6.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.03075, allocations: 4 kB / 392.8 MB, free: 6.188 MB / 362.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.0001268/0.03088, allocations: 188.5 kB / 393 MB, free: 5.992 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.056e-05/0.03092, allocations: 31.84 kB / 393 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004042/0.03133, allocations: 283.1 kB / 393.3 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.03133, allocations: 4 kB / 393.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-06/0.03133, allocations: 0 / 393.3 MB, free: 5.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.03133, allocations: 7.984 kB / 393.3 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.0319, allocations: 0.5786 MB / 393.9 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.0319, allocations: 0 / 393.9 MB, free: 5.031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.03202, allocations: 47.98 kB / 393.9 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003153/0.03234, allocations: 115.5 kB / 394.1 MB, free: 4.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.03235, allocations: 8.062 kB / 394.1 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002568/0.03261, allocations: 0.8389 MB / 394.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.03261, allocations: 0 / 394.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.03302, allocations: 460.4 kB / 395.4 MB, free: 3.508 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.752e-05/0.03304, allocations: 27.8 kB / 395.4 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/0.03307, allocations: 4 kB / 395.4 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.423e-05/0.03314, allocations: 12.03 kB / 395.4 MB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.361e-05/0.03318, allocations: 23.91 kB / 395.4 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.03319, allocations: 4 kB / 395.4 MB, free: 3.438 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.891e-05/0.03326, allocations: 206.9 kB / 395.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03326, allocations: 0 / 395.6 MB, free: 3.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.03346, allocations: 75.89 kB / 395.7 MB, free: 3.16 MB / 362.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 9.938e-05/0.03356, allocations: 111.2 kB / 395.8 MB, free: 3.043 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.03378, allocations: 145 kB / 396 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-06/0.03378, allocations: 0 / 396 MB, free: 2.898 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.03388, allocations: 100.5 kB / 396.1 MB, free: 2.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.03414, allocations: 77.16 kB / 396.1 MB, free: 2.719 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008471/0.03499, allocations: 0.628 MB / 396.8 MB, free: 2.047 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.82e-05/0.03503, allocations: 88.62 kB / 396.8 MB, free: 1.938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.743e-05/0.03512, allocations: 42.95 kB / 396.9 MB, free: 1.898 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.03527, allocations: 150.1 kB / 397 MB, free: 1.75 MB / 362.7 MB Notification: Performance of SimCode: time 4.01e-07/0.03527, allocations: 0 / 397 MB, free: 1.75 MB / 362.7 MB Notification: Performance of Templates: time 0.005439/0.04071, allocations: 4.393 MB / 401.4 MB, free: 13.45 MB / 378.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=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.1067849579267204]