Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.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_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_Transport.HE_simple_case_001,fileNamePrefix="AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001",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.001169/0.001169, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001235/0.001235, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.2 MB / 239.9 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2008/0.2008, allocations: 22.35 MB / 313.3 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003437, allocations: 11.98 kB / 381.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3288, allocations: 55.97 MB / 437.9 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.001703/0.3306, allocations: 1.864 MB / 439.8 MB, free: 37.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003604/0.331, allocations: 253.9 kB / 440 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3311, allocations: 16.16 kB / 440 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.3312, allocations: 28.81 kB / 440 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002055/0.3314, allocations: 118.7 kB / 440.2 MB, free: 37.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001095/0.3315, allocations: 29.66 kB / 440.2 MB, free: 37.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001858/0.3317, allocations: 201 kB / 440.4 MB, free: 37.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002177/0.3319, allocations: 109 kB / 440.5 MB, free: 37.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.3321, allocations: 134.9 kB / 440.6 MB, free: 37.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001141/0.3322, allocations: 80.38 kB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.3322, allocations: 12.78 kB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.935e-05/0.3323, allocations: 6.125 kB / 440.7 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3323, allocations: 32.38 kB / 440.8 MB, free: 37.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3323, allocations: 65.36 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001207/0.3325, allocations: 159.1 kB / 441 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.3325, allocations: 0 / 441 MB, free: 37.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3325, allocations: 0 / 441 MB, free: 37.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.966e-06/0.3325, allocations: 0 / 441 MB, free: 37.3 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0005414/0.3331, allocations: 486 kB / 441.4 MB, free: 36.86 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.3331, allocations: 11.17 kB / 441.5 MB, free: 36.86 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.759e-05/0.3331, allocations: 45.31 kB / 441.5 MB, free: 36.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.3332, allocations: 27.38 kB / 441.5 MB, free: 36.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.3334, allocations: 264.2 kB / 441.8 MB, free: 36.55 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3335, allocations: 12.94 kB / 441.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.618e-05/0.3335, allocations: 11.78 kB / 441.8 MB, free: 36.54 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3337, allocations: 172.3 kB / 442 MB, free: 36.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.874e-06/0.3337, allocations: 3.953 kB / 442 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/0.3337, allocations: 8 kB / 442 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3338, allocations: 5.688 kB / 442 MB, free: 36.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3339, allocations: 91.88 kB / 442.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.3345, allocations: 0.802 MB / 442.9 MB, free: 35.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3347, allocations: 71.64 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.3347, allocations: 2.969 kB / 443 MB, free: 35.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.3347, allocations: 38.52 kB / 443 MB, free: 35.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3347, allocations: 0 / 443 MB, free: 35.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002336/0.335, allocations: 134.8 kB / 443.1 MB, free: 35.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/0.335, allocations: 51.41 kB / 443.2 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001977/0.3352, allocations: 268 kB / 443.4 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.3352, allocations: 25.7 kB / 443.5 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.497e-05/0.3353, allocations: 146.1 kB / 443.6 MB, free: 35.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.3353, allocations: 29.69 kB / 443.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.152e-06/0.3353, allocations: 0 / 443.6 MB, free: 35.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.637e-05/0.3354, allocations: 343.9 kB / 444 MB, free: 34.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.713e-05/0.3354, allocations: 23.11 kB / 444 MB, free: 34.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.505e-05/0.3355, allocations: 47.02 kB / 444 MB, free: 34.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.86e-05/0.3356, allocations: 39.02 kB / 444.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3356, allocations: 0 / 444.1 MB, free: 34.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001752/0.3358, allocations: 134.7 kB / 444.2 MB, free: 34.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.3358, allocations: 11.58 kB / 444.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.3358, allocations: 3.094 kB / 444.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.3358, allocations: 3.375 kB / 444.2 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.336, allocations: 26.66 kB / 444.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.952e-06/0.336, allocations: 0 / 444.3 MB, free: 34.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.892e-05/0.3361, allocations: 22.81 kB / 444.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3361, allocations: 3.031 kB / 444.3 MB, free: 34.61 MB / 350.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000174/0.3363, allocations: 137.3 kB / 444.4 MB, free: 34.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.538e-05/0.3363, allocations: 20.59 kB / 444.4 MB, free: 34.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.098e-05/0.3364, allocations: 30.81 kB / 444.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3364, allocations: 3 kB / 444.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3364, allocations: 0 / 444.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3364, allocations: 0 / 444.5 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.3366, allocations: 247.3 kB / 444.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3366, allocations: 0 / 444.7 MB, free: 34.22 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.3367, allocations: 23.44 kB / 444.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3367, allocations: 4 kB / 444.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/0.3368, allocations: 3.984 kB / 444.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.3368, allocations: 6.984 kB / 444.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3368, allocations: 0 / 444.7 MB, free: 34.2 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.337, allocations: 233.5 kB / 445 MB, free: 34.02 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.674e-05/0.3371, allocations: 97.7 kB / 445.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.218e-05/0.3371, allocations: 6.844 kB / 445.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.3372, allocations: 4.062 kB / 445.1 MB, free: 33.91 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.3372, allocations: 10.38 kB / 445.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.3373, allocations: 3.062 kB / 445.1 MB, free: 33.9 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001198/0.3374, allocations: 192.3 kB / 445.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3374, allocations: 0 / 445.3 MB, free: 33.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002434/0.3376, allocations: 37.41 kB / 445.3 MB, free: 33.79 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (HE.Tho,HE.Tco) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003312/0.338, allocations: 0.7616 MB / 446.1 MB, free: 33.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001513/0.3381, allocations: 81.58 kB / 446.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3381, allocations: 0 / 446.2 MB, free: 33.05 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 4.371e-05/0.3382, allocations: 30.25 kB / 446.2 MB, free: 33.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002862/0.3385, allocations: 63.98 kB / 446.3 MB, free: 33.01 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001517/0.34, allocations: 1.631 MB / 447.9 MB, free: 31.93 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.3402, allocations: 0.7334 MB / 448.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.3403, allocations: 31.81 kB / 448.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.766e-05/0.3404, allocations: 68.3 kB / 448.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of SimCode: time 2.7e-07/0.3404, allocations: 0 / 448.7 MB, free: 31.18 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.865/2.205, allocations: 4.253 MB / 453 MB, free: 30.9 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001871/2.206, allocations: 174.4 kB / 453.1 MB, free: 30.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.154/4.36, allocations: 0 / 453.1 MB, free: 30.66 MB / 350.1 MB (rm -f AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_Transport_HE_simple_case_001.fmu > AES_AES.Coursework.ThermSys_Transport.HE_simple_case_001.pipe 2>&1) Environment - environmentSimulation: