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.007042/0.007042, allocations: 98.98 kB / 15.73 MB, free: 6.031 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.001823/0.001823, allocations: 194 kB / 16.67 MB, free: 5.953 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.369/1.369, allocations: 222.9 MB / 240.4 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.09334/0.09334, allocations: 22.32 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002786/0.002786, allocations: 67.89 kB / 436.5 MB, free: 12.25 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09764, allocations: 54.95 MB / 491.5 MB, free: 5.258 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.003408/0.1011, allocations: 2.196 MB / 493.7 MB, free: 3.047 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005062/0.1016, allocations: 199.3 kB / 493.9 MB, free: 2.852 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.1018, allocations: 11.94 kB / 493.9 MB, free: 2.84 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.899e-05/0.1019, allocations: 27.7 kB / 493.9 MB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002362/0.1021, allocations: 103.2 kB / 494 MB, free: 2.711 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001493/0.1023, allocations: 47.88 kB / 494.1 MB, free: 2.664 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003112/0.1026, allocations: 278.6 kB / 494.3 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002543/0.1028, allocations: 128.6 kB / 494.5 MB, free: 2.266 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.103, allocations: 115.5 kB / 494.6 MB, free: 2.152 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.1032, allocations: 87.58 kB / 494.7 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.472e-05/0.1032, allocations: 12 kB / 494.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.124e-05/0.1033, allocations: 12 kB / 494.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.777e-05/0.1033, allocations: 39.78 kB / 494.7 MB, free: 2.004 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001168/0.1035, allocations: 107.5 kB / 494.8 MB, free: 1.898 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.1037, allocations: 215 kB / 495 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1037, allocations: 4 kB / 495 MB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1038, allocations: 4 kB / 495.1 MB, free: 1.68 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1038, allocations: 0 / 495.1 MB, free: 1.68 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007366/0.1045, allocations: 0.5176 MB / 495.6 MB, free: 1.109 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1046, allocations: 8.031 kB / 495.6 MB, free: 1.102 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.085e-05/0.1046, allocations: 42.73 kB / 495.6 MB, free: 1.051 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.1047, allocations: 28.8 kB / 495.6 MB, free: 1.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003701/0.105, allocations: 272.8 kB / 495.9 MB, free: 0.7148 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1051, allocations: 12.31 kB / 495.9 MB, free: 0.7031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.186e-05/0.1051, allocations: 20.33 kB / 495.9 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.1054, allocations: 175.2 kB / 496.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1054, allocations: 0 / 496.1 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1054, allocations: 4 kB / 496.1 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.792e-06/0.1054, allocations: 4 kB / 496.1 MB, free: 496 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002044/0.1057, allocations: 99.81 kB / 496.2 MB, free: 396 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.1066, allocations: 0.7979 MB / 497 MB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.1067, allocations: 78.48 kB / 497.1 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.35e-05/0.1068, allocations: 40.84 kB / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.052e-05/0.1068, allocations: 0 / 497.1 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.1069, allocations: 38.56 kB / 497.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.1069, allocations: 0 / 497.2 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002915/0.1072, allocations: 121.5 kB / 497.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.1072, allocations: 55.34 kB / 497.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002842/0.1075, allocations: 271 kB / 497.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1075, allocations: 29.64 kB / 497.6 MB, free: 14.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.1077, allocations: 152.1 kB / 497.8 MB, free: 14.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.967e-05/0.1077, allocations: 35.67 kB / 497.8 MB, free: 14.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.1078, allocations: 25.72 kB / 497.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001532/0.1079, allocations: 338.8 kB / 498.2 MB, free: 14.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.574e-05/0.108, allocations: 27.98 kB / 498.2 MB, free: 14.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.602e-05/0.1081, allocations: 46.56 kB / 498.3 MB, free: 14.2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000542/0.1086, allocations: 158.4 kB / 498.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1086, allocations: 0 / 498.4 MB, free: 14.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002325/0.1089, allocations: 145.5 kB / 498.5 MB, free: 13.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.1089, allocations: 4 kB / 498.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.1089, allocations: 0 / 498.6 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1089, allocations: 4.062 kB / 498.6 MB, free: 13.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.1091, allocations: 31.98 kB / 498.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1091, allocations: 3.938 kB / 498.6 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.814e-05/0.1092, allocations: 11.89 kB / 498.6 MB, free: 13.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.1092, allocations: 7.938 kB / 498.6 MB, free: 13.83 MB / 382.1 MB Warning: Assuming fixed start value for the following 2 variables: HE.Tho:VARIABLE(min = 0.0 start = 339.5666268514094 unit = "K" fixed = true nominal = 300.0 ) type: Real HE.Tco:VARIABLE(min = 0.0 start = 299.958408982322 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001717/0.1094, allocations: 142.2 kB / 498.8 MB, free: 13.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.1095, allocations: 27.86 kB / 498.8 MB, free: 13.65 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.656e-05/0.1095, allocations: 25.73 kB / 498.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1095, allocations: 0 / 498.8 MB, free: 13.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.1095, allocations: 3.938 kB / 498.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1096, allocations: 0 / 498.8 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002768/0.1098, allocations: 245.5 kB / 499 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1098, allocations: 0 / 499 MB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001534/0.11, allocations: 19.98 kB / 499.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.11, allocations: 0 / 499.1 MB, free: 13.32 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.11, allocations: 4 kB / 499.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.11, allocations: 4 kB / 499.1 MB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.11, allocations: 3.938 kB / 499.1 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003065/0.1104, allocations: 235.3 kB / 499.3 MB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.895e-05/0.1104, allocations: 105 kB / 499.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.1105, allocations: 0 / 499.4 MB, free: 12.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.1106, allocations: 3.938 kB / 499.4 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.656e-05/0.1106, allocations: 11.92 kB / 499.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.1106, allocations: 0 / 499.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001911/0.1108, allocations: 202 kB / 499.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1108, allocations: 0 / 499.6 MB, free: 12.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002697/0.1111, allocations: 36 kB / 499.7 MB, free: 12.69 MB / 382.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005944/0.1117, allocations: 0.7592 MB / 0.4887 GB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.1119, allocations: 83.97 kB / 0.4888 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.1119, allocations: 0 / 0.4888 GB, free: 11.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.465e-05/0.112, allocations: 36.44 kB / 0.4888 GB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003538/0.1124, allocations: 51.3 kB / 0.4889 GB, free: 11.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.1151, allocations: 2.314 MB / 0.4911 GB, free: 9.332 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003747/0.1155, allocations: 0.7285 MB / 0.4918 GB, free: 8.578 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1156, allocations: 38.2 kB / 0.4919 GB, free: 8.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.1157, allocations: 63.42 kB / 0.4919 GB, free: 8.477 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1157, allocations: 0 / 0.4919 GB, free: 8.477 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.2335, allocations: 4.631 MB / 0.4964 GB, free: 3.953 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/8.303, allocations: 3.75 kB / 0.4964 GB, free: 3.949 MB / 382.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/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)