Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.001322/0.001322, allocations: 72.95 kB / 20.74 MB, free: 3.746 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.001135/0.001135, allocations: 173 kB / 24.17 MB, free: 328 kB / 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 / 204.6 MB, free: 5.48 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.06486/0.06486, allocations: 18.13 MB / 279.2 MB, free: 11.2 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 1.25 kB / 304.5 MB, free: 400 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.035e-05/2.203e-05, allocations: 3.156 kB / 304.5 MB, free: 396 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.003346/0.003368, allocations: 2.586 MB / 307.1 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008923/0.004261, allocations: 373.1 kB / 307.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000164/0.004425, allocations: 15.91 kB / 307.5 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 8.166e-05/0.004506, allocations: 40.03 kB / 307.5 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003103/0.004817, allocations: 126.8 kB / 307.6 MB, free: 14.28 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.005069, allocations: 81.64 kB / 307.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003253/0.005394, allocations: 373.3 kB / 308.1 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.005599, allocations: 154.6 kB / 308.2 MB, free: 13.89 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001753/0.005774, allocations: 149.8 kB / 308.4 MB, free: 13.77 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.005893, allocations: 99.86 kB / 308.5 MB, free: 13.69 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.005916, allocations: 16 kB / 308.5 MB, free: 13.67 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.986e-05/0.005996, allocations: 46.75 kB / 308.6 MB, free: 13.63 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.804e-05/0.006034, allocations: 55.89 kB / 308.6 MB, free: 13.59 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 7.612e-05/0.00611, allocations: 95.86 kB / 308.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002302/0.006341, allocations: 211.3 kB / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.482e-06/0.006342, allocations: 0 / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.006343, allocations: 0 / 308.9 MB, free: 13.33 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.006348, allocations: 4 kB / 308.9 MB, free: 13.32 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0004832/0.006831, allocations: 487.5 kB / 309.4 MB, free: 12.85 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.006861, allocations: 12.86 kB / 309.4 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.119e-05/0.006912, allocations: 40.81 kB / 309.4 MB, free: 12.8 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.007125, allocations: 214.5 kB / 309.6 MB, free: 12.58 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.007139, allocations: 16.75 kB / 309.7 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.007164, allocations: 16.38 kB / 309.7 MB, free: 12.55 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000183/0.007347, allocations: 176.2 kB / 309.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.007354, allocations: 192 / 309.9 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.007369, allocations: 16.31 kB / 309.9 MB, free: 12.38 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.007375, allocations: 4.375 kB / 309.9 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.379e-05/0.007459, allocations: 55.05 kB / 309.9 MB, free: 12.33 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000546/0.008005, allocations: 0.572 MB / 310.5 MB, free: 11.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.008137, allocations: 66.58 kB / 310.6 MB, free: 11.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.953e-05/0.008166, allocations: 29.53 kB / 310.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.00818, allocations: 0 / 310.6 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.008199, allocations: 34.56 kB / 310.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.152e-06/0.008201, allocations: 0 / 310.6 MB, free: 11.6 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001339/0.008334, allocations: 89.59 kB / 310.7 MB, free: 11.51 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/0.008362, allocations: 51.41 kB / 310.8 MB, free: 11.45 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.008482, allocations: 232.9 kB / 311 MB, free: 11.2 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.008494, allocations: 33.64 kB / 311 MB, free: 11.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.78e-05/0.008552, allocations: 168.5 kB / 311.2 MB, free: 10.99 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.008571, allocations: 39.67 kB / 311.2 MB, free: 10.95 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.00861, allocations: 33.69 kB / 311.3 MB, free: 10.91 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.212e-05/0.008682, allocations: 342.7 kB / 311.6 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.126e-05/0.008703, allocations: 12 kB / 311.6 MB, free: 10.56 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.296e-05/0.008736, allocations: 38.56 kB / 311.6 MB, free: 10.51 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.733e-05/0.008823, allocations: 89.48 kB / 311.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.008826, allocations: 0 / 311.7 MB, free: 10.42 MB / 282.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 9.866e-05/0.008924, allocations: 109.5 kB / 311.8 MB, free: 10.31 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/0.008934, allocations: 6.344 kB / 311.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.008938, allocations: 0 / 311.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.008949, allocations: 4 kB / 311.8 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.009061, allocations: 35.97 kB / 311.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.009064, allocations: 0 / 311.9 MB, free: 10.27 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.752e-05/0.009112, allocations: 15.89 kB / 311.9 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.009119, allocations: 4 kB / 311.9 MB, free: 10.25 MB / 282.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: 3 * 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 (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001613/0.00928, allocations: 131 kB / 312 MB, free: 10.11 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.009304, allocations: 15.98 kB / 312 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.009433, allocations: 127.3 kB / 312.2 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.009434, allocations: 0 / 312.2 MB, free: 9.965 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.009437, allocations: 4 kB / 312.2 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.00944, allocations: 3.984 kB / 312.2 MB, free: 9.957 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001321/0.009572, allocations: 133.7 kB / 312.3 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.009573, allocations: 0 / 312.3 MB, free: 9.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.582e-05/0.009659, allocations: 27.98 kB / 312.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.00966, allocations: 0 / 312.3 MB, free: 9.781 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.00967, allocations: 4 kB / 312.3 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.009672, allocations: 0 / 312.3 MB, free: 9.777 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.009674, allocations: 11.98 kB / 312.4 MB, free: 9.766 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001433/0.009817, allocations: 208.9 kB / 312.6 MB, free: 9.547 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.148e-05/0.009839, allocations: 23.84 kB / 312.6 MB, free: 9.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.009857, allocations: 3.953 kB / 312.6 MB, free: 9.52 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.926e-05/0.009926, allocations: 4 kB / 312.6 MB, free: 9.516 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.009954, allocations: 7.984 kB / 312.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.009959, allocations: 0 / 312.6 MB, free: 9.508 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.344e-05/0.01003, allocations: 86.7 kB / 312.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01003, allocations: 0 / 312.7 MB, free: 9.426 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001642/0.0102, allocations: 59.89 kB / 312.7 MB, free: 9.367 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.915e-05/0.01029, allocations: 84.45 kB / 312.8 MB, free: 9.277 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.62e-05/0.01038, allocations: 75.08 kB / 312.9 MB, free: 9.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.01039, allocations: 4 kB / 312.9 MB, free: 9.199 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-05/0.01042, allocations: 37.41 kB / 312.9 MB, free: 9.16 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001896/0.01061, allocations: 61.39 kB / 313 MB, free: 9.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007671/0.01138, allocations: 0.4994 MB / 313.5 MB, free: 8.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.285e-05/0.01142, allocations: 84.31 kB / 313.6 MB, free: 8.473 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.529e-05/0.01149, allocations: 30.27 kB / 313.6 MB, free: 8.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/0.0116, allocations: 111.3 kB / 313.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0116, allocations: 0 / 313.7 MB, free: 8.328 MB / 282.7 MB Notification: Performance of Templates: time 0.004448/0.01605, allocations: 3.045 MB / 316.8 MB, free: 5.395 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.933095353189856]