Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.Containment_elements.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") translateModel(AES.Coursework.ThermSys_component_models.Containment_elements,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.Containment_elements") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 105.5 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 189.8 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09319/0.09319, allocations: 22.33 MB / 313.4 MB, free: 8.996 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 63.23 kB / 381.5 MB, free: 41.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07893/0.08031, allocations: 54.96 MB / 436.4 MB, free: 13.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002931/0.08328, allocations: 1.911 MB / 438.3 MB, free: 11.14 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005942/0.0839, allocations: 247.2 kB / 438.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.405e-05/0.084, allocations: 4 kB / 438.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.08419, allocations: 23.78 kB / 438.6 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.08458, allocations: 111.4 kB / 438.7 MB, free: 10.76 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000121/0.08472, allocations: 55.92 kB / 438.8 MB, free: 10.71 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.085, allocations: 259.1 kB / 439 MB, free: 10.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001417/0.08516, allocations: 53.09 kB / 439.1 MB, free: 10.4 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.08529, allocations: 99.69 kB / 439.2 MB, free: 10.3 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.08549, allocations: 127.6 kB / 439.3 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.859e-05/0.08554, allocations: 16 kB / 439.3 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.08571, allocations: 63.95 kB / 439.4 MB, free: 10.1 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.08581, allocations: 79.78 kB / 439.4 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.08594, allocations: 111.5 kB / 439.6 MB, free: 9.914 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002988/0.08625, allocations: 267.4 kB / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.08626, allocations: 0 / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.08627, allocations: 0 / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.08628, allocations: 0 / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.00106/0.08734, allocations: 0.5492 MB / 440.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.08739, allocations: 11.97 kB / 440.4 MB, free: 9.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.08747, allocations: 24.73 kB / 440.4 MB, free: 9.016 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000354/0.08783, allocations: 315.9 kB / 440.7 MB, free: 8.668 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.08786, allocations: 12.38 kB / 440.7 MB, free: 8.656 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.642e-05/0.0879, allocations: 12.38 kB / 440.7 MB, free: 8.645 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002624/0.08817, allocations: 146.1 kB / 440.9 MB, free: 8.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.08819, allocations: 4.172 kB / 440.9 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.08821, allocations: 7.938 kB / 440.9 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.08822, allocations: 4 kB / 440.9 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001759/0.0884, allocations: 99.8 kB / 441 MB, free: 8.383 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.08933, allocations: 0.6669 MB / 441.7 MB, free: 7.641 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007947/0.09014, allocations: 262.4 kB / 441.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.09028, allocations: 80.83 kB / 442 MB, free: 7.293 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.0903, allocations: 4 kB / 442 MB, free: 7.289 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.09033, allocations: 38.56 kB / 442 MB, free: 7.242 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.09034, allocations: 0 / 442 MB, free: 7.242 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001046/0.09139, allocations: 0.496 MB / 442.5 MB, free: 6.699 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.09144, allocations: 51.41 kB / 442.6 MB, free: 6.637 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.09175, allocations: 319.7 kB / 442.9 MB, free: 6.316 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.09178, allocations: 29.64 kB / 442.9 MB, free: 6.281 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.452e-05/0.09186, allocations: 120 kB / 443 MB, free: 6.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.105e-05/0.09191, allocations: 67.08 kB / 443.1 MB, free: 6.094 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.09198, allocations: 29.72 kB / 443.1 MB, free: 6.059 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.0921, allocations: 334.8 kB / 443.5 MB, free: 5.723 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001089/0.09221, allocations: 67.97 kB / 443.5 MB, free: 5.656 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.09234, allocations: 91.91 kB / 443.6 MB, free: 5.562 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.09378, allocations: 479 kB / 444.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.0938, allocations: 0 / 444.1 MB, free: 5.09 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005401/0.09434, allocations: 305.9 kB / 444.4 MB, free: 4.781 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.09437, allocations: 12.03 kB / 444.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.09438, allocations: 0 / 444.4 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002138/0.0946, allocations: 49.62 kB / 444.4 MB, free: 4.715 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.09485, allocations: 55.95 kB / 444.5 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002003/0.09687, allocations: 2.805 MB / 447.3 MB, free: 1.57 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.09704, allocations: 20.03 kB / 447.3 MB, free: 1.551 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.09707, allocations: 11.98 kB / 447.3 MB, free: 1.539 MB / 318.1 MB Warning: Assuming fixed start value for the following 7 variables: homogeneous.T[1]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[2]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[3]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] homogeneous.T[4]:VARIABLE(min = 0.0 start = homogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [4] nonhomogeneous.T[1]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[2]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] nonhomogeneous.T[3]:VARIABLE(min = 0.0 start = nonhomogeneous.Tstart unit = "K" fixed = true nominal = 300.0 ) type: Real [3] 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 (20): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00022/0.0973, allocations: 178.4 kB / 447.5 MB, free: 1.363 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.184e-05/0.09735, allocations: 15.81 kB / 447.5 MB, free: 1.348 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.914e-05/0.09742, allocations: 33.45 kB / 447.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.09743, allocations: 8 kB / 447.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.09744, allocations: 0 / 447.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.09745, allocations: 0 / 447.6 MB, free: 1.309 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000313/0.09776, allocations: 293.3 kB / 447.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.09778, allocations: 3.938 kB / 447.8 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003202/0.0981, allocations: 51.97 kB / 447.9 MB, free: 0.918 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.09828, allocations: 41.69 kB / 447.9 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.362e-05/0.09832, allocations: 19.92 kB / 448 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00198/0.1003, allocations: 2.813 MB / 450.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1003, allocations: 0 / 450.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006391/0.101, allocations: 416.8 kB / 451.2 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.574e-05/0.1011, allocations: 104.8 kB / 451.3 MB, free: 13.21 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.105e-05/0.1011, allocations: 8 kB / 451.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.1013, allocations: 7.984 kB / 451.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.726e-05/0.1013, allocations: 15.98 kB / 451.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1013, allocations: 4 kB / 451.3 MB, free: 13.18 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002305/0.1016, allocations: 241.4 kB / 451.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1016, allocations: 0 / 451.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003819/0.102, allocations: 79.89 kB / 451.6 MB, free: 12.86 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (homogeneous.T[1],homogeneous.T[2],homogeneous.T[3],homogeneous.T[4],nonhomogeneous.T[1],nonhomogeneous.T[2],nonhomogeneous.T[3]) * 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 (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001865/0.1022, allocations: 117.5 kB / 451.7 MB, free: 12.74 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006377/0.1028, allocations: 433.2 kB / 452.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1028, allocations: 0 / 452.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00035/0.1032, allocations: 317.4 kB / 452.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.1036, allocations: 47.91 kB / 452.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001401/0.105, allocations: 0.8878 MB / 453.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1053, allocations: 0.7402 MB / 454.2 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.336e-05/0.1054, allocations: 19.44 kB / 454.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1054, allocations: 0 / 454.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of Templates: time 0.006424/0.1118, allocations: 4.265 MB / 458.4 MB, free: 5.953 MB / 334.1 MB make -j1 -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.makefile (rm -f AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.Containment_elements.sim & ./AES_AES.Coursework.ThermSys_component_models.Containment_elements -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)