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.001097/0.001097, allocations: 103.2 kB / 16.36 MB, free: 6.336 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.001141/0.001141, allocations: 198 kB / 17.3 MB, free: 5.883 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.334/1.334, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08784/0.08784, allocations: 22.33 MB / 313.5 MB, free: 8.906 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 61.94 kB / 382.2 MB, free: 41.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1159, allocations: 54.96 MB / 437.2 MB, free: 12.28 MB / 318.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.003107/0.119, allocations: 1.927 MB / 439.1 MB, free: 10.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005358/0.1196, allocations: 235.4 kB / 439.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.09e-05/0.1197, allocations: 3.938 kB / 439.4 MB, free: 10.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001614/0.1199, allocations: 19.84 kB / 439.4 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000359/0.1202, allocations: 119.4 kB / 439.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.1204, allocations: 47.92 kB / 439.5 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1206, allocations: 275 kB / 439.8 MB, free: 9.652 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1208, allocations: 45.09 kB / 439.9 MB, free: 9.609 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.1209, allocations: 99.67 kB / 440 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001849/0.1211, allocations: 119.7 kB / 440.1 MB, free: 9.395 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.1211, allocations: 20 kB / 440.1 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001388/0.1213, allocations: 75.88 kB / 440.2 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.1214, allocations: 71.78 kB / 440.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.1215, allocations: 111.5 kB / 440.3 MB, free: 9.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002842/0.1218, allocations: 271.2 kB / 440.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1218, allocations: 0 / 440.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1218, allocations: 0 / 440.6 MB, free: 8.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.451e-06/0.1218, allocations: 0 / 440.6 MB, free: 8.855 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.001027/0.1229, allocations: 0.5531 MB / 441.2 MB, free: 8.25 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.1229, allocations: 8.031 kB / 441.2 MB, free: 8.242 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.123, allocations: 20.75 kB / 441.2 MB, free: 8.223 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.1233, allocations: 319.8 kB / 441.5 MB, free: 7.871 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1234, allocations: 12.38 kB / 441.5 MB, free: 7.859 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/0.1234, allocations: 16.36 kB / 441.5 MB, free: 7.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.1237, allocations: 144.5 kB / 441.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1237, allocations: 4.125 kB / 441.7 MB, free: 7.695 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.98e-05/0.1237, allocations: 7.938 kB / 441.7 MB, free: 7.688 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.1237, allocations: 4 kB / 441.7 MB, free: 7.684 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001814/0.1239, allocations: 107.7 kB / 441.8 MB, free: 7.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009229/0.1248, allocations: 0.6592 MB / 442.4 MB, free: 6.844 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007862/0.1256, allocations: 258.3 kB / 442.7 MB, free: 6.582 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001442/0.1258, allocations: 80.83 kB / 442.8 MB, free: 6.5 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.1258, allocations: 3.984 kB / 442.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.1258, allocations: 42.56 kB / 442.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.1258, allocations: 0 / 442.8 MB, free: 6.445 MB / 318.1 MB Notification: Performance of matching and sorting (n=14): time 0.001027/0.1269, allocations: 0.4927 MB / 443.3 MB, free: 5.906 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.152e-05/0.1269, allocations: 51.41 kB / 443.4 MB, free: 5.844 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.1273, allocations: 315.7 kB / 443.7 MB, free: 5.523 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.046e-05/0.1273, allocations: 33.7 kB / 443.7 MB, free: 5.484 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.13e-05/0.1274, allocations: 116 kB / 443.8 MB, free: 5.367 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.1274, allocations: 59.09 kB / 443.9 MB, free: 5.309 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/0.1275, allocations: 37.72 kB / 443.9 MB, free: 5.266 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001301/0.1276, allocations: 330.8 kB / 444.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1278, allocations: 67.95 kB / 444.3 MB, free: 4.867 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.1279, allocations: 89.67 kB / 444.4 MB, free: 4.773 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00144/0.1293, allocations: 474.9 kB / 444.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1293, allocations: 0 / 444.9 MB, free: 4.301 MB / 318.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005418/0.1299, allocations: 305.8 kB / 445.2 MB, free: 3.992 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.1299, allocations: 4 kB / 445.2 MB, free: 3.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.942e-06/0.1299, allocations: 4 kB / 445.2 MB, free: 3.984 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002264/0.1302, allocations: 49.67 kB / 445.2 MB, free: 3.93 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002428/0.1304, allocations: 55.84 kB / 445.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002194/0.1326, allocations: 2.821 MB / 448.1 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000157/0.1328, allocations: 23.86 kB / 448.1 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.558e-05/0.1328, allocations: 4 kB / 448.1 MB, free: 0.7422 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.0002221/0.133, allocations: 162.6 kB / 448.3 MB, free: 0.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.943e-05/0.1331, allocations: 23.81 kB / 448.3 MB, free: 0.5586 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.855e-05/0.1332, allocations: 33.45 kB / 448.3 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1332, allocations: 3.938 kB / 448.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.1332, allocations: 7.938 kB / 448.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1332, allocations: 0 / 448.3 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003163/0.1335, allocations: 297.3 kB / 448.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.1335, allocations: 0 / 448.6 MB, free: 180 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003177/0.1339, allocations: 51.91 kB / 448.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001718/0.134, allocations: 53.67 kB / 448.7 MB, free: 68 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.166e-05/0.1341, allocations: 4 kB / 448.7 MB, free: 64 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.136, allocations: 2.817 MB / 451.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.136, allocations: 0 / 451.6 MB, free: 12.97 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000576/0.1366, allocations: 420.8 kB / 452 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.1367, allocations: 100.9 kB / 452.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.1367, allocations: 7.984 kB / 452.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.1369, allocations: 4 kB / 452.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.137, allocations: 19.92 kB / 452.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.137, allocations: 0 / 452.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002112/0.1372, allocations: 249.4 kB / 452.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1372, allocations: 0 / 452.3 MB, free: 12.14 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003506/0.1376, allocations: 75.84 kB / 452.4 MB, free: 12.07 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.0001714/0.1377, allocations: 111.2 kB / 452.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005959/0.1383, allocations: 429.2 kB / 452.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.1384, allocations: 0 / 452.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1387, allocations: 317.4 kB / 453.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.1391, allocations: 60.95 kB / 453.3 MB, free: 11.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1405, allocations: 0.8387 MB / 454.1 MB, free: 10.25 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000351/0.1409, allocations: 0.744 MB / 454.9 MB, free: 9.484 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.141, allocations: 37.53 kB / 454.9 MB, free: 9.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.957e-05/0.1411, allocations: 15.44 kB / 454.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1411, allocations: 0 / 454.9 MB, free: 9.426 MB / 334.1 MB Notification: Performance of Templates: time 0.007857/0.149, allocations: 3.98 MB / 458.9 MB, free: 5.492 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 -s gbode -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)