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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 217.1 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1025/0.1025, allocations: 22.93 MB / 336.1 MB, free: 12.43 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 59.91 kB / 472.2 MB, free: 7.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 59.29 MB / 0.519 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_Transport.HE_simple_case_001): time 0.002751/0.3129, allocations: 2.06 MB / 0.521 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003546/0.3133, allocations: 198.1 kB / 0.5212 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.3134, allocations: 17.97 kB / 0.5212 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.487e-05/0.3134, allocations: 27.64 kB / 0.5213 GB, free: 9.098 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3136, allocations: 102.8 kB / 0.5213 GB, free: 9.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.3138, allocations: 41.12 kB / 0.5214 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002331/0.314, allocations: 297.3 kB / 0.5217 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3142, allocations: 101.9 kB / 0.5218 GB, free: 8.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.3144, allocations: 134.7 kB / 0.5219 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/0.3145, allocations: 100 kB / 0.522 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.3145, allocations: 13.09 kB / 0.522 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.852e-05/0.3146, allocations: 18.06 kB / 0.522 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.279e-05/0.3146, allocations: 34.56 kB / 0.5221 GB, free: 8.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.433e-05/0.3147, allocations: 80.8 kB / 0.5221 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.3149, allocations: 228.9 kB / 0.5224 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.3149, allocations: 0 / 0.5224 GB, free: 8.551 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3149, allocations: 0.7031 kB / 0.5224 GB, free: 8.551 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.3149, allocations: 0 / 0.5224 GB, free: 8.551 MB / 382.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.0005765/0.3155, allocations: 446.2 kB / 0.5228 GB, free: 8.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.3156, allocations: 18.77 kB / 0.5228 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.624e-05/0.3156, allocations: 3.906 kB / 0.5228 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.917e-05/0.3156, allocations: 46.45 kB / 0.5228 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.038e-05/0.3156, allocations: 24.05 kB / 0.5229 GB, free: 8.109 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.3159, allocations: 213.7 kB / 0.5231 GB, free: 7.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.3159, allocations: 9.375 kB / 0.5231 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.704e-05/0.316, allocations: 12.06 kB / 0.5231 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002523/0.3162, allocations: 170.2 kB / 0.5233 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.3162, allocations: 0 / 0.5233 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.3162, allocations: 6.562 kB / 0.5233 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.3162, allocations: 3.375 kB / 0.5233 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001798/0.3164, allocations: 95.83 kB / 0.5234 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006489/0.3171, allocations: 0.7461 MB / 0.5241 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001531/0.3172, allocations: 76.5 kB / 0.5242 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.457e-05/0.3173, allocations: 36.67 kB / 0.5242 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/0.3173, allocations: 5.219 kB / 0.5242 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.63e-05/0.3173, allocations: 32.19 kB / 0.5242 GB, free: 6.977 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.3173, allocations: 0 / 0.5242 GB, free: 6.977 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002664/0.3176, allocations: 123.8 kB / 0.5243 GB, free: 6.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.3176, allocations: 57.19 kB / 0.5244 GB, free: 6.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000228/0.3178, allocations: 269.2 kB / 0.5247 GB, free: 6.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.488e-06/0.3178, allocations: 30.8 kB / 0.5247 GB, free: 6.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.691e-05/0.3179, allocations: 146.2 kB / 0.5248 GB, free: 6.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.16e-05/0.3179, allocations: 34.55 kB / 0.5249 GB, free: 6.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.318, allocations: 31.56 kB / 0.5249 GB, free: 6.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.175e-05/0.318, allocations: 332.8 kB / 0.5252 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.936e-05/0.3181, allocations: 31.77 kB / 0.5252 GB, free: 6.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.259e-05/0.3181, allocations: 49.44 kB / 0.5253 GB, free: 6.094 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005143/0.3187, allocations: 155.4 kB / 0.5254 GB, free: 6.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3187, allocations: 4 kB / 0.5254 GB, free: 6.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002014/0.3189, allocations: 138.7 kB / 0.5256 GB, free: 5.938 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.3189, allocations: 6.281 kB / 0.5256 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3189, allocations: 0 / 0.5256 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.3189, allocations: 2.734 kB / 0.5256 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.3191, allocations: 28.09 kB / 0.5256 GB, free: 5.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.3191, allocations: 5.219 kB / 0.5256 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001015/0.3192, allocations: 21.05 kB / 0.5256 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.829e-06/0.3192, allocations: 3.344 kB / 0.5256 GB, free: 5.914 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.0001284/0.3193, allocations: 147 kB / 0.5258 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.251e-05/0.3194, allocations: 21.95 kB / 0.5258 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.089e-05/0.3194, allocations: 32.42 kB / 0.5258 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.3194, allocations: 5.766 kB / 0.5258 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3194, allocations: 1.219 kB / 0.5258 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.3194, allocations: 0 / 0.5258 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.3196, allocations: 193.5 kB / 0.526 GB, free: 5.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3196, allocations: 4.688 kB / 0.526 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.3198, allocations: 19.23 kB / 0.526 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3198, allocations: 0.9375 kB / 0.526 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.3198, allocations: 1.469 kB / 0.526 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.3198, allocations: 3.938 kB / 0.526 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3198, allocations: 0 / 0.526 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.32, allocations: 240.2 kB / 0.5263 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.584e-05/0.32, allocations: 23.12 kB / 0.5263 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.3201, allocations: 8.203 kB / 0.5263 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.3202, allocations: 5.344 kB / 0.5263 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.015e-05/0.3202, allocations: 4.125 kB / 0.5263 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3202, allocations: 6.656 kB / 0.5263 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001393/0.3204, allocations: 192.8 kB / 0.5265 GB, free: 5.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3204, allocations: 0 / 0.5265 GB, free: 5.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3206, allocations: 42.97 kB / 0.5265 GB, free: 5.227 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.0003534/0.321, allocations: 0.7689 MB / 0.5273 GB, free: 4.512 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001687/0.3211, allocations: 77.98 kB / 0.5274 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.3212, allocations: 1.188 kB / 0.5274 GB, free: 4.48 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.302e-05/0.3212, allocations: 27.52 kB / 0.5274 GB, free: 4.473 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003719/0.3216, allocations: 58.84 kB / 0.5274 GB, free: 4.441 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.3237, allocations: 2.306 MB / 0.5297 GB, free: 2.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.71e-05/0.3238, allocations: 128 kB / 0.5298 GB, free: 2.711 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001085/0.3239, allocations: 32 kB / 0.5299 GB, free: 2.703 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.482e-05/0.324, allocations: 63.38 kB / 0.5299 GB, free: 2.656 MB / 382.1 MB Notification: Performance of SimCode: time 7.42e-07/0.324, allocations: 1.062 kB / 0.5299 GB, free: 2.656 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02561/0.3496, allocations: 5.151 MB / 0.5349 GB, free: 1.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/11.81, allocations: 5.625 kB / 0.535 GB, free: 1.922 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=100 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.582236483925954] Failed to read output from testmodel.py, exit status != 0: 11.992798222927377 12.009635343 11.691318216 Calling exit ...