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: "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.Containment_elements,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_Containment_elements",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2029/0.2029, allocations: 22.35 MB / 312.7 MB, free: 12.52 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.89 kB / 380.9 MB, free: 10.47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2398, allocations: 54.94 MB / 435.9 MB, free: 39.81 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.Containment_elements): time 0.00232/0.2422, allocations: 1.919 MB / 437.8 MB, free: 38.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004188/0.2426, allocations: 242.1 kB / 438 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.421e-05/0.2427, allocations: 2.625 kB / 438 MB, free: 38.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.2428, allocations: 21.28 kB / 438.1 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003007/0.2431, allocations: 106.2 kB / 438.2 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.402e-05/0.2432, allocations: 58.12 kB / 438.2 MB, free: 38.21 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001911/0.2434, allocations: 264.1 kB / 438.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.2435, allocations: 56.48 kB / 438.5 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.2436, allocations: 99.09 kB / 438.6 MB, free: 38.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2438, allocations: 123.2 kB / 438.7 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.2438, allocations: 16.88 kB / 438.8 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000124/0.2439, allocations: 69.52 kB / 438.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.269e-05/0.244, allocations: 77.55 kB / 438.9 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.34e-05/0.2441, allocations: 105.3 kB / 439 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001959/0.2443, allocations: 269.5 kB / 439.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2443, allocations: 2.75 kB / 439.3 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2443, allocations: 3.938 kB / 439.3 MB, free: 37.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.2443, allocations: 0 / 439.3 MB, free: 37.79 MB / 350.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.0008121/0.2451, allocations: 0.5486 MB / 439.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.2452, allocations: 7.719 kB / 439.8 MB, free: 37.35 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.2452, allocations: 44.34 kB / 439.9 MB, free: 37.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.2453, allocations: 19.75 kB / 439.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.2455, allocations: 323.7 kB / 440.2 MB, free: 37.04 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.2455, allocations: 7.219 kB / 440.2 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.592e-05/0.2456, allocations: 17.31 kB / 440.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.2457, allocations: 136 kB / 440.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.2458, allocations: 6.719 kB / 440.4 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.2458, allocations: 4 kB / 440.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.2458, allocations: 2.594 kB / 440.4 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.2459, allocations: 100.3 kB / 440.5 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007007/0.2466, allocations: 0.6702 MB / 441.2 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006788/0.2473, allocations: 262.3 kB / 441.4 MB, free: 36.31 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2475, allocations: 89.94 kB / 441.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.591e-05/0.2475, allocations: 0 / 441.5 MB, free: 36.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.134e-05/0.2475, allocations: 45.97 kB / 441.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 9.12e-07/0.2475, allocations: 0 / 441.5 MB, free: 36.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008417/0.2483, allocations: 498.9 kB / 442 MB, free: 35.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.835e-05/0.2484, allocations: 54.22 kB / 442.1 MB, free: 35.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.2486, allocations: 315.1 kB / 442.4 MB, free: 35.68 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.306e-05/0.2486, allocations: 32.67 kB / 442.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.2487, allocations: 118.7 kB / 442.5 MB, free: 35.53 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.2487, allocations: 62.73 kB / 442.6 MB, free: 35.48 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.015e-05/0.2488, allocations: 33.05 kB / 442.6 MB, free: 35.46 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.305e-05/0.2488, allocations: 336.5 kB / 443 MB, free: 35.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.682e-05/0.2489, allocations: 67.52 kB / 443 MB, free: 35.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.249, allocations: 85.44 kB / 443.1 MB, free: 35.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001218/0.2502, allocations: 483.7 kB / 443.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2502, allocations: 0 / 443.6 MB, free: 34.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004227/0.2507, allocations: 309.1 kB / 443.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.2507, allocations: 5.938 kB / 443.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.2507, allocations: 32 / 443.9 MB, free: 34.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000183/0.2509, allocations: 56.98 kB / 443.9 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.2511, allocations: 52.97 kB / 444 MB, free: 34.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001248/0.2524, allocations: 2.81 MB / 446.8 MB, free: 31.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001418/0.2525, allocations: 20.95 kB / 446.8 MB, free: 31.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.2525, allocations: 9.406 kB / 446.8 MB, free: 31.89 MB / 350.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.0001488/0.2527, allocations: 171.8 kB / 447 MB, free: 31.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.508e-05/0.2527, allocations: 19.94 kB / 447 MB, free: 31.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/0.2528, allocations: 34.14 kB / 447.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2528, allocations: 2.906 kB / 447.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.2528, allocations: 4 kB / 447.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2528, allocations: 0 / 447.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.253, allocations: 294.4 kB / 447.4 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.253, allocations: 0 / 447.4 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.2533, allocations: 51.33 kB / 447.4 MB, free: 31.47 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001433/0.2535, allocations: 52.61 kB / 447.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.76e-05/0.2535, allocations: 11.72 kB / 447.5 MB, free: 31.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001163/0.2547, allocations: 2.812 MB / 450.3 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2547, allocations: 0 / 450.3 MB, free: 28.6 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.2552, allocations: 422.7 kB / 450.7 MB, free: 28.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.2552, allocations: 103.5 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.518e-05/0.2552, allocations: 5.516 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.2554, allocations: 11.59 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.2554, allocations: 7.406 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.2555, allocations: 8.094 kB / 450.8 MB, free: 28.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.2556, allocations: 242.7 kB / 451.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.2556, allocations: 0 / 451.1 MB, free: 28.11 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003111/0.2559, allocations: 83.53 kB / 451.1 MB, free: 28.09 MB / 350.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.0006508/0.2566, allocations: 0.9672 MB / 452.1 MB, free: 27.3 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004781/0.2571, allocations: 431.3 kB / 452.5 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2571, allocations: 2.625 kB / 452.5 MB, free: 27.01 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002507/0.2574, allocations: 318 kB / 452.8 MB, free: 26.75 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2577, allocations: 61.7 kB / 452.9 MB, free: 26.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00281/0.2605, allocations: 3.108 MB / 456 MB, free: 24.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001259/0.2607, allocations: 0.7453 MB / 456.8 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001019/0.2608, allocations: 36.42 kB / 456.8 MB, free: 23.97 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.047e-05/0.2609, allocations: 57.23 kB / 456.8 MB, free: 23.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2609, allocations: 0 / 456.8 MB, free: 23.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.845/2.106, allocations: 6.31 MB / 463.2 MB, free: 23.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/16.7, allocations: 19.42 kB / 463.2 MB, free: 23.31 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_Containment_elements_fmu --startTime=0 --stopTime=100000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_Containment_elements.fmu > AES_AES.Coursework.ThermSys_component_models.Containment_elements.pipe 2>&1)