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.001049/0.001049, allocations: 111.5 kB / 16.42 MB, free: 6.5 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.001045/0.001045, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.322/1.322, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09847/0.09847, allocations: 22.33 MB / 313.5 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 437.7 MB, free: 11.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08496/0.08624, allocations: 54.95 MB / 492.7 MB, free: 4.754 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.002699/0.08898, allocations: 1.929 MB / 494.6 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005029/0.0895, allocations: 243.3 kB / 494.8 MB, free: 2.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.326e-05/0.08957, allocations: 4 kB / 494.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.08974, allocations: 27.78 kB / 494.9 MB, free: 2.539 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003721/0.09012, allocations: 111.4 kB / 495 MB, free: 2.43 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001039/0.09024, allocations: 47.92 kB / 495 MB, free: 2.383 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002688/0.09052, allocations: 275 kB / 495.3 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001318/0.09066, allocations: 45.09 kB / 495.3 MB, free: 2.07 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.09076, allocations: 91.75 kB / 495.4 MB, free: 1.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.09095, allocations: 127.6 kB / 495.6 MB, free: 1.855 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.09099, allocations: 16 kB / 495.6 MB, free: 1.84 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.09113, allocations: 71.89 kB / 495.6 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.896e-05/0.09123, allocations: 79.78 kB / 495.7 MB, free: 1.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001131/0.09135, allocations: 103.5 kB / 495.8 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.09165, allocations: 275 kB / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.09166, allocations: 0 / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.09167, allocations: 0 / 496.1 MB, free: 1.32 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.09168, allocations: 0 / 496.1 MB, free: 1.32 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.0009588/0.09264, allocations: 0.5517 MB / 496.6 MB, free: 0.7188 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.359e-05/0.09268, allocations: 12.02 kB / 496.7 MB, free: 0.707 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.717e-05/0.09274, allocations: 24.8 kB / 496.7 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003312/0.09308, allocations: 323.8 kB / 497 MB, free: 336 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.09311, allocations: 12.31 kB / 497 MB, free: 324 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.023e-05/0.09314, allocations: 12.38 kB / 497 MB, free: 312 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002308/0.09338, allocations: 143.8 kB / 497.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.09339, allocations: 192 / 497.2 MB, free: 164 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.09342, allocations: 11.94 kB / 497.2 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.09343, allocations: 0 / 497.2 MB, free: 152 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000176/0.09361, allocations: 99.94 kB / 497.3 MB, free: 52 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008862/0.0945, allocations: 0.6632 MB / 497.9 MB, free: 15.31 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007978/0.09531, allocations: 266.3 kB / 498.2 MB, free: 15.04 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.09545, allocations: 81.08 kB / 498.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.09548, allocations: 4 kB / 498.3 MB, free: 14.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.09551, allocations: 42.55 kB / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.09552, allocations: 0 / 498.3 MB, free: 14.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=14): time 0.001009/0.09653, allocations: 497.2 kB / 498.8 MB, free: 14.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.09658, allocations: 55.41 kB / 498.9 MB, free: 14.3 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000294/0.09688, allocations: 315.7 kB / 499.2 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/0.09691, allocations: 29.7 kB / 499.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.09698, allocations: 120 kB / 499.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.617e-05/0.09704, allocations: 71.39 kB / 499.4 MB, free: 13.76 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.05e-05/0.0971, allocations: 33.72 kB / 499.4 MB, free: 13.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.09721, allocations: 334.8 kB / 499.7 MB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001097/0.09733, allocations: 71.95 kB / 499.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001196/0.09745, allocations: 88.48 kB / 499.9 MB, free: 13.22 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001452/0.09891, allocations: 473.4 kB / 0.4886 GB, free: 12.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.09892, allocations: 0 / 0.4886 GB, free: 12.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005428/0.09947, allocations: 312.6 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.0995, allocations: 4 kB / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.09951, allocations: 0 / 0.4889 GB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.09973, allocations: 49.67 kB / 0.489 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002391/0.09998, allocations: 55.91 kB / 0.489 GB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001898/0.1019, allocations: 2.813 MB / 0.4918 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.1021, allocations: 19.91 kB / 0.4918 GB, free: 9.207 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.1021, allocations: 4 kB / 0.4918 GB, free: 9.203 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.0001915/0.1023, allocations: 170.9 kB / 0.492 GB, free: 9.035 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.1023, allocations: 27.8 kB / 0.492 GB, free: 9.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.901e-05/0.1024, allocations: 33.52 kB / 0.492 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.1024, allocations: 3.938 kB / 0.492 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1024, allocations: 0 / 0.492 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.1025, allocations: 97 kB / 0.4921 GB, free: 8.852 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.446e-05/0.1025, allocations: 15.97 kB / 0.4921 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.1027, allocations: 4 kB / 0.4921 GB, free: 8.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.1028, allocations: 19.97 kB / 0.4922 GB, free: 8.812 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001168/0.1039, allocations: 450.2 kB / 0.4926 GB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005214/0.1045, allocations: 494.4 kB / 0.4931 GB, free: 7.859 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001283/0.1046, allocations: 87.8 kB / 0.4931 GB, free: 7.777 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002076/0.1048, allocations: 245.4 kB / 0.4934 GB, free: 7.539 MB / 382.1 MB Notification: Performance of Backend: time 3.71e-07/0.1048, allocations: 0 / 0.4934 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000808/0.1057, allocations: 451.5 kB / 0.4938 GB, free: 7.066 MB / 382.1 MB Notification: Performance of SimCode: time 0.001311/0.107, allocations: 1.266 MB / 0.495 GB, free: 5.758 MB / 382.1 MB Notification: Performance of Templates: time 0.007638/0.1146, allocations: 4.119 MB / 0.4991 GB, free: 1.672 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)