Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.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.00086/0.00086, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008996/0.0008996, allocations: 173.2 kB / 23.23 MB, free: 1.336 MB / 18.57 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 0.8749/0.8749, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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.06196/0.06196, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 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_component_models.HeatExchanger_1vol_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatExchanger_1vol_case_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002,fileNamePrefix="AES_AES_Coursework_ThermSys_component_models_HeatExchanger_1vol_case_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/2.044e-05, allocations: 6.219 kB / 415.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002): time 0.002609/0.002629, allocations: 2.418 MB / 417.5 MB, free: 11.11 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006638/0.003293, allocations: 346.7 kB / 417.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.003441, allocations: 16.91 kB / 417.8 MB, free: 10.87 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 7.627e-05/0.003517, allocations: 46.97 kB / 417.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.003772, allocations: 126.3 kB / 418 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.004007, allocations: 73.16 kB / 418.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002879/0.004295, allocations: 373.2 kB / 418.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002657/0.004561, allocations: 145.7 kB / 418.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002214/0.004782, allocations: 150.2 kB / 418.7 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001444/0.004927, allocations: 90.62 kB / 418.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.247e-05/0.004959, allocations: 22.58 kB / 418.8 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001018/0.005061, allocations: 45.95 kB / 418.9 MB, free: 10.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.333e-05/0.005094, allocations: 50.41 kB / 418.9 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001294/0.005224, allocations: 95.55 kB / 419 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003918/0.005615, allocations: 309.1 kB / 419.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.005622, allocations: 1.125 kB / 419.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.005623, allocations: 0 / 419.3 MB, free: 10.17 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.005631, allocations: 0.7031 kB / 419.3 MB, free: 10.17 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.00071/0.006341, allocations: 0.4955 MB / 419.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.742e-05/0.006388, allocations: 10.14 kB / 419.8 MB, free: 9.754 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.437e-05/0.006432, allocations: 58.88 kB / 419.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.614e-05/0.006489, allocations: 32 kB / 419.9 MB, free: 9.684 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.006832, allocations: 231.3 kB / 420.2 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.205e-05/0.006854, allocations: 16.19 kB / 420.2 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.006884, allocations: 17.62 kB / 420.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.007161, allocations: 204.8 kB / 420.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.007171, allocations: 1.438 kB / 420.4 MB, free: 9.355 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.007194, allocations: 10.3 kB / 420.4 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.007204, allocations: 9.938 kB / 420.4 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002899/0.007494, allocations: 123.6 kB / 420.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.008671, allocations: 0.7594 MB / 421.3 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.008983, allocations: 90.58 kB / 421.4 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.525e-05/0.009069, allocations: 43.42 kB / 421.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.009092, allocations: 2.219 kB / 421.4 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.725e-05/0.009109, allocations: 36.36 kB / 421.5 MB, free: 8.551 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 3.146e-06/0.009112, allocations: 3.938 kB / 421.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003954/0.009507, allocations: 142 kB / 421.6 MB, free: 8.473 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.009537, allocations: 61.08 kB / 421.7 MB, free: 8.402 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003528/0.00989, allocations: 295.8 kB / 421.9 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.465e-05/0.009905, allocations: 26.89 kB / 422 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.01003, allocations: 176 kB / 422.1 MB, free: 8.055 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01007, allocations: 36.62 kB / 422.2 MB, free: 8.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.01014, allocations: 35.02 kB / 422.2 MB, free: 8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.936e-05/0.01021, allocations: 337.8 kB / 422.5 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001044/0.01032, allocations: 35.34 kB / 422.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01042, allocations: 65.83 kB / 422.6 MB, free: 7.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.01157, allocations: 256.7 kB / 422.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.01157, allocations: 0 / 422.9 MB, free: 7.527 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003345/0.0119, allocations: 161.9 kB / 423.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.01193, allocations: 5.859 kB / 423.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.01194, allocations: 1.125 kB / 423.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.969e-05/0.01196, allocations: 6.406 kB / 423.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.01216, allocations: 42.97 kB / 423.1 MB, free: 7.434 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.01218, allocations: 6.125 kB / 423.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.01235, allocations: 21.36 kB / 423.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01237, allocations: 8.594 kB / 423.1 MB, free: 7.41 MB / 330.7 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 (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.01258, allocations: 136 kB / 423.3 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.204e-05/0.01263, allocations: 28.92 kB / 423.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003591/0.01299, allocations: 163.9 kB / 423.5 MB, free: 7.172 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.01299, allocations: 5.031 kB / 423.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.013, allocations: 0.7969 kB / 423.5 MB, free: 7.168 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.01301, allocations: 5.656 kB / 423.5 MB, free: 7.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003394/0.01334, allocations: 234.9 kB / 423.7 MB, free: 6.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.01335, allocations: 5.438 kB / 423.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.01354, allocations: 26.02 kB / 423.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.01355, allocations: 0.9062 kB / 423.7 MB, free: 6.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.01357, allocations: 6.375 kB / 423.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.01357, allocations: 3.281 kB / 423.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01357, allocations: 1.219 kB / 423.7 MB, free: 6.957 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.01396, allocations: 278.4 kB / 424 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.02e-05/0.01403, allocations: 24.78 kB / 424 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.01407, allocations: 5.094 kB / 424 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.01419, allocations: 5.844 kB / 424.1 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.047e-05/0.01424, allocations: 16.39 kB / 424.1 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.327e-06/0.01425, allocations: 6.5 kB / 424.1 MB, free: 6.727 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002254/0.01447, allocations: 209.2 kB / 424.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.91e-07/0.01447, allocations: 96 / 424.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003705/0.01484, allocations: 61.89 kB / 424.3 MB, free: 6.594 MB / 330.7 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 (13): * Single equations (assignments): 13 * 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.0005891/0.01543, allocations: 0.8091 MB / 425.1 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.0157, allocations: 96.02 kB / 425.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.0157, allocations: 192 / 425.2 MB, free: 5.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.525e-05/0.01579, allocations: 50.81 kB / 425.3 MB, free: 5.824 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004436/0.01623, allocations: 56.77 kB / 425.3 MB, free: 5.801 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00309/0.01932, allocations: 2.451 MB / 427.8 MB, free: 4.102 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.01945, allocations: 145.8 kB / 427.9 MB, free: 4.023 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001922/0.01965, allocations: 36.7 kB / 428 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001368/0.01978, allocations: 90.73 kB / 428.1 MB, free: 3.949 MB / 330.7 MB Notification: Performance of SimCode: time 1.493e-06/0.01979, allocations: 4 kB / 428.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02639/0.04617, allocations: 6.473 MB / 434.5 MB, free: 2.012 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.737/6.783, allocations: 7.719 kB / 434.5 MB, free: 2.008 MB / 330.7 MB " [Timeout remaining time 653] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Coursework_ThermSys_component_models_HeatExchanger_1vol_case_002_fmu --startTime=0 --stopTime=1500 --stepSize=3 --timeout=50 --tolerance=1e-06 AES_AES_Coursework_ThermSys_component_models_HeatExchanger_1vol_case_002.fmu > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.681361675262451] Failed to read output from testmodel.py, exit status != 0: 6.867893465794623 6.880405559 6.87197561 Calling exit ...