Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_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.001637/0.001637, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002123/0.002123, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.1083/0.1083, allocations: 24.12 MB / 337.3 MB, free: 11.46 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: translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001") [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: 75.88 kB / 474.6 MB, free: 5.898 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3724, allocations: 59.6 MB / 0.5216 GB, free: 10.52 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowOnePort_pwh.mo:4:3-4:45:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. Drag AES.ProcessComponents.Thermal.System_settings.System_liquid into your model to specify the working fluid properties. Notification: Performance of NFInst.instantiate(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001): time 0.04105/0.4134, allocations: 23.02 MB / 0.5441 GB, free: 2.207 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008441/0.4143, allocations: 221.1 kB / 0.5443 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001636/0.4144, allocations: 17.06 kB / 0.5444 GB, free: 2.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 8.69e-05/0.4145, allocations: 26.34 kB / 0.5444 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002333/0.4147, allocations: 113.8 kB / 0.5445 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001516/0.4149, allocations: 37.58 kB / 0.5445 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.4151, allocations: 294.2 kB / 0.5448 GB, free: 1.672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.4154, allocations: 134.3 kB / 0.5449 GB, free: 1.574 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001888/0.4155, allocations: 139.6 kB / 0.5451 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.4157, allocations: 94.77 kB / 0.5452 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.4157, allocations: 16 kB / 0.5452 GB, free: 1.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.167e-05/0.4158, allocations: 16 kB / 0.5452 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.669e-05/0.4158, allocations: 41.67 kB / 0.5452 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.974e-05/0.4159, allocations: 113.5 kB / 0.5453 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002598/0.4162, allocations: 222.8 kB / 0.5456 GB, free: 1.051 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4162, allocations: 7.938 kB / 0.5456 GB, free: 1.043 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.4162, allocations: 4 kB / 0.5456 GB, free: 1.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.071e-06/0.4162, allocations: 0 / 0.5456 GB, free: 1.039 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000638/0.4168, allocations: 452.8 kB / 0.546 GB, free: 0.582 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.4168, allocations: 8.922 kB / 0.546 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.109e-05/0.4169, allocations: 28.73 kB / 0.546 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.4172, allocations: 215.8 kB / 0.5462 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.4172, allocations: 8.703 kB / 0.5462 GB, free: 328 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4172, allocations: 24.38 kB / 0.5463 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.4176, allocations: 192.2 kB / 0.5465 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4176, allocations: 192 / 0.5465 GB, free: 120 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.4176, allocations: 11.94 kB / 0.5465 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.4176, allocations: 4 kB / 0.5465 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002886/0.4179, allocations: 122.6 kB / 0.5466 GB, free: 0 / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.419, allocations: 0.8098 MB / 0.5474 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4192, allocations: 70.5 kB / 0.5474 GB, free: 15.13 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.4194, allocations: 60.5 kB / 0.5475 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.4194, allocations: 256 / 0.5475 GB, free: 15.08 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.4194, allocations: 34.5 kB / 0.5475 GB, free: 15.04 MB / 398.1 MB Notification: Performance of pre-optimization done (n=14): time 9.92e-07/0.4194, allocations: 4 kB / 0.5475 GB, free: 15.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=14): time 0.0005471/0.42, allocations: 186.6 kB / 0.5477 GB, free: 14.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.42, allocations: 52.58 kB / 0.5478 GB, free: 14.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.4203, allocations: 227.5 kB / 0.548 GB, free: 14.59 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.4204, allocations: 25.7 kB / 0.548 GB, free: 14.56 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.4205, allocations: 148.5 kB / 0.5481 GB, free: 14.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.023e-05/0.4206, allocations: 56 kB / 0.5482 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.4206, allocations: 32.58 kB / 0.5482 GB, free: 14.33 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002085/0.4208, allocations: 337.1 kB / 0.5486 GB, free: 14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.421, allocations: 37.86 kB / 0.5486 GB, free: 13.96 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.4211, allocations: 66.39 kB / 0.5487 GB, free: 13.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008503/0.422, allocations: 225.8 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/0.422, allocations: 8 kB / 0.5489 GB, free: 13.7 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003685/0.4223, allocations: 165.5 kB / 0.549 GB, free: 13.54 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4223, allocations: 8 kB / 0.549 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.4224, allocations: 0.6562 kB / 0.549 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.4224, allocations: 0 / 0.549 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002232/0.4226, allocations: 41.28 kB / 0.5491 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.4226, allocations: 3.984 kB / 0.5491 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.4227, allocations: 21.27 kB / 0.5491 GB, free: 13.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.4227, allocations: 4 kB / 0.5491 GB, free: 13.47 MB / 398.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 (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.0001903/0.4229, allocations: 136.4 kB / 0.5492 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.423, allocations: 24.56 kB / 0.5493 GB, free: 13.31 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.168e-05/0.423, allocations: 28.39 kB / 0.5493 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.423, allocations: 4.609 kB / 0.5493 GB, free: 13.28 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.423, allocations: 4 kB / 0.5493 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.423, allocations: 4.688 kB / 0.5493 GB, free: 13.27 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003551/0.4234, allocations: 239.8 kB / 0.5495 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.4234, allocations: 0 / 0.5495 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4236, allocations: 32.73 kB / 0.5496 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4236, allocations: 0 / 0.5496 GB, free: 13 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.4236, allocations: 4.562 kB / 0.5496 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4236, allocations: 0 / 0.5496 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4236, allocations: 0 / 0.5496 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005408/0.4242, allocations: 298.5 kB / 0.5499 GB, free: 12.7 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.4242, allocations: 25.8 kB / 0.5499 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.088e-05/0.4243, allocations: 0 / 0.5499 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.4244, allocations: 5.969 kB / 0.5499 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.4244, allocations: 10.23 kB / 0.5499 GB, free: 12.67 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.178e-06/0.4245, allocations: 8 kB / 0.5499 GB, free: 12.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001722/0.4246, allocations: 167.8 kB / 0.5501 GB, free: 12.52 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4246, allocations: 0 / 0.5501 GB, free: 12.52 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000279/0.4249, allocations: 47.95 kB / 0.5501 GB, free: 12.47 MB / 398.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 (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 Backend phase and start with SimCode phase: time 0.0001208/0.425, allocations: 91.95 kB / 0.5502 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003491/0.4254, allocations: 113.8 kB / 0.5503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4254, allocations: 4 kB / 0.5503 GB, free: 12.27 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4255, allocations: 54.97 kB / 0.5504 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000374/0.4259, allocations: 46.66 kB / 0.5504 GB, free: 12.18 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.4271, allocations: 0.5887 MB / 0.551 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4275, allocations: 0.7367 MB / 0.5517 GB, free: 10.85 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.48e-05/0.4275, allocations: 19.44 kB / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.4275, allocations: 0 / 0.5517 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Templates: time 0.005549/0.4331, allocations: 2.66 MB / 0.5543 GB, free: 9.309 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_001.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.772931438172236] Failed to read output from testmodel.py, exit status != 0: 0.442725078901276 0.45869283400000005 0.039222227000000005 Calling exit ...