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.001283/0.001284, allocations: 108.2 kB / 16.41 MB, free: 6.516 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.001318/0.001318, allocations: 187.9 kB / 17.35 MB, free: 5.738 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.292/1.292, allocations: 222.9 MB / 241.1 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.09398/0.09398, allocations: 22.32 MB / 313.5 MB, free: 8.883 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 71.89 kB / 437.7 MB, free: 11.76 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08728, allocations: 54.95 MB / 492.7 MB, free: 4.758 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002802/0.09011, allocations: 1.914 MB / 494.6 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005453/0.09068, allocations: 251.3 kB / 494.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.899e-05/0.09076, allocations: 0 / 494.8 MB, free: 2.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001431/0.09091, allocations: 19.8 kB / 494.9 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.0913, allocations: 107.5 kB / 495 MB, free: 2.457 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001254/0.09144, allocations: 55.92 kB / 495 MB, free: 2.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002816/0.09173, allocations: 271 kB / 495.3 MB, free: 2.137 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.09187, allocations: 45.11 kB / 495.3 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.09198, allocations: 99.69 kB / 495.4 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002104/0.0922, allocations: 123.6 kB / 495.5 MB, free: 1.875 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.606e-05/0.09224, allocations: 20 kB / 495.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001507/0.0924, allocations: 71.94 kB / 495.6 MB, free: 1.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.09251, allocations: 79.77 kB / 495.7 MB, free: 1.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.09263, allocations: 107.5 kB / 495.8 MB, free: 1.602 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.09293, allocations: 267.2 kB / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.09294, allocations: 0 / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09295, allocations: 0 / 496.1 MB, free: 1.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.09296, allocations: 0 / 496.1 MB, free: 1.34 MB / 366.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.001034/0.094, allocations: 0.5531 MB / 496.6 MB, free: 0.7344 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.09405, allocations: 12.03 kB / 496.6 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.759e-05/0.09411, allocations: 20.75 kB / 496.7 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.09447, allocations: 327.7 kB / 497 MB, free: 352 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.09449, allocations: 12.31 kB / 497 MB, free: 340 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.09453, allocations: 12.38 kB / 497 MB, free: 328 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.09478, allocations: 151.8 kB / 497.2 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.0948, allocations: 192 / 497.2 MB, free: 172 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.09482, allocations: 7.875 kB / 497.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.09483, allocations: 4 kB / 497.2 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000192/0.09503, allocations: 103.9 kB / 497.3 MB, free: 56 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009733/0.09601, allocations: 0.6553 MB / 497.9 MB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008287/0.09685, allocations: 258.3 kB / 498.2 MB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.09701, allocations: 84.81 kB / 498.3 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.09704, allocations: 8 kB / 498.3 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.09707, allocations: 30.56 kB / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.633e-06/0.09708, allocations: 0 / 498.3 MB, free: 14.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001055/0.09814, allocations: 0.4974 MB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/0.09818, allocations: 51.41 kB / 498.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003213/0.0985, allocations: 319.7 kB / 499.2 MB, free: 14 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.09853, allocations: 25.7 kB / 499.2 MB, free: 13.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.013e-05/0.09861, allocations: 124 kB / 499.3 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.177e-05/0.09867, allocations: 51.27 kB / 499.4 MB, free: 13.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.264e-05/0.09873, allocations: 33.7 kB / 499.4 MB, free: 13.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.09885, allocations: 334.8 kB / 499.7 MB, free: 13.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.09897, allocations: 67.97 kB / 499.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.0991, allocations: 93.55 kB / 499.9 MB, free: 13.25 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.1006, allocations: 476 kB / 0.4886 GB, free: 12.78 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1006, allocations: 4 kB / 0.4886 GB, free: 12.78 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005616/0.1012, allocations: 304.5 kB / 0.4889 GB, free: 12.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.1012, allocations: 8 kB / 0.4889 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1012, allocations: 0 / 0.4889 GB, free: 12.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.1014, allocations: 49.62 kB / 0.489 GB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002459/0.1017, allocations: 56 kB / 0.489 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002016/0.1037, allocations: 2.817 MB / 0.4918 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001647/0.1039, allocations: 15.88 kB / 0.4918 GB, free: 9.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1039, allocations: 8 kB / 0.4918 GB, free: 9.23 MB / 382.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.0002085/0.1041, allocations: 179.8 kB / 0.492 GB, free: 9.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.077e-05/0.1042, allocations: 19.75 kB / 0.492 GB, free: 9.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.885e-05/0.1043, allocations: 29.52 kB / 0.492 GB, free: 8.996 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1043, allocations: 3.938 kB / 0.492 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1043, allocations: 0 / 0.492 GB, free: 8.992 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.27e-05/0.1044, allocations: 104.8 kB / 0.4921 GB, free: 8.871 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.1044, allocations: 4 kB / 0.4921 GB, free: 8.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001929/0.1046, allocations: 11.98 kB / 0.4921 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.371e-05/0.1046, allocations: 11.92 kB / 0.4921 GB, free: 8.844 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001195/0.1058, allocations: 458.2 kB / 0.4926 GB, free: 8.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005159/0.1064, allocations: 494.3 kB / 0.493 GB, free: 7.883 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001301/0.1065, allocations: 95.11 kB / 0.4931 GB, free: 7.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002127/0.1067, allocations: 241.4 kB / 0.4934 GB, free: 7.559 MB / 382.1 MB Notification: Performance of Backend: time 4.21e-07/0.1067, allocations: 0 / 0.4934 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.1075, allocations: 439.6 kB / 0.4938 GB, free: 7.098 MB / 382.1 MB Notification: Performance of SimCode: time 0.001236/0.1088, allocations: 1.255 MB / 0.495 GB, free: 5.797 MB / 382.1 MB Notification: Performance of Templates: time 0.007328/0.1161, allocations: 4.123 MB / 0.499 GB, free: 1.711 MB / 382.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)