Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002062/0.002062, allocations: 186.4 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 251 MB, free: 13.01 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.1192/0.1192, allocations: 22.94 MB / 329.2 MB, free: 2.109 MB / 254.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.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: translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") translateModel(AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 71.88 kB / 463.5 MB, free: 14.26 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1565, allocations: 58.12 MB / 0.5094 GB, free: 4.023 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/HE_LiquidLiquid_1vol.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/Liquid/HE_LiquidLiquid_1vol.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_003): time 0.3521/0.5086, allocations: 23.31 MB / 0.5321 GB, free: 7.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.51, allocations: 425.2 kB / 0.5325 GB, free: 7.051 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002386/0.5103, allocations: 16.81 kB / 0.5326 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000122/0.5104, allocations: 46.17 kB / 0.5326 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004585/0.5108, allocations: 147.8 kB / 0.5327 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002352/0.5111, allocations: 83.69 kB / 0.5328 GB, free: 6.945 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004432/0.5115, allocations: 425.9 kB / 0.5332 GB, free: 6.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003341/0.5119, allocations: 210.1 kB / 0.5334 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002669/0.5121, allocations: 204.3 kB / 0.5336 GB, free: 6.785 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002546/0.5124, allocations: 190.2 kB / 0.5338 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.741e-05/0.5124, allocations: 29.31 kB / 0.5338 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.5126, allocations: 59.23 kB / 0.5339 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.761e-05/0.5127, allocations: 70.52 kB / 0.534 GB, free: 6.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001746/0.5128, allocations: 178.7 kB / 0.5341 GB, free: 6.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005662/0.5134, allocations: 409.7 kB / 0.5345 GB, free: 6.605 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.5134, allocations: 5.062 kB / 0.5345 GB, free: 6.602 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.5134, allocations: 0 / 0.5345 GB, free: 6.602 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.5134, allocations: 7.938 kB / 0.5345 GB, free: 6.594 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001074/0.5145, allocations: 0.559 MB / 0.5351 GB, free: 6.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.5145, allocations: 13.11 kB / 0.5351 GB, free: 6.188 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.368e-05/0.5146, allocations: 39.08 kB / 0.5351 GB, free: 6.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.515, allocations: 253.8 kB / 0.5354 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.5151, allocations: 20.72 kB / 0.5354 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.841e-05/0.5151, allocations: 22.81 kB / 0.5354 GB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/0.5157, allocations: 279.6 kB / 0.5357 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.5157, allocations: 0.7969 kB / 0.5357 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/0.5157, allocations: 13.34 kB / 0.5357 GB, free: 5.926 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.5157, allocations: 9.562 kB / 0.5357 GB, free: 5.922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.5161, allocations: 207.2 kB / 0.5359 GB, free: 5.918 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.5177, allocations: 0.8764 MB / 0.5367 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000359/0.518, allocations: 150.6 kB / 0.5369 GB, free: 5.414 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002096/0.5182, allocations: 92.73 kB / 0.537 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.281e-05/0.5183, allocations: 3.125 kB / 0.537 GB, free: 5.406 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.266e-05/0.5183, allocations: 39 kB / 0.537 GB, free: 5.363 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002876/0.5186, allocations: 55.12 kB / 0.5371 GB, free: 5.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=18): time 1.903e-06/0.5186, allocations: 1.562 kB / 0.5371 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=18): time 0.001349/0.5199, allocations: 366.9 kB / 0.5374 GB, free: 5.281 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.321e-05/0.5199, allocations: 56.09 kB / 0.5375 GB, free: 5.219 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002471/0.5202, allocations: 302.5 kB / 0.5378 GB, free: 5.102 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.5202, allocations: 29.14 kB / 0.5378 GB, free: 5.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.5203, allocations: 181.3 kB / 0.538 GB, free: 4.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.998e-05/0.5203, allocations: 67.52 kB / 0.538 GB, free: 4.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.5204, allocations: 50.23 kB / 0.5381 GB, free: 4.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.45e-05/0.5205, allocations: 346.5 kB / 0.5384 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001147/0.5206, allocations: 64.38 kB / 0.5385 GB, free: 4.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.5207, allocations: 89.88 kB / 0.5386 GB, free: 4.562 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004053/0.5248, allocations: 0.6934 MB / 0.5392 GB, free: 4.414 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.5248, allocations: 1.812 kB / 0.5392 GB, free: 4.414 MB / 382.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008394/0.5256, allocations: 307.3 kB / 0.5395 GB, free: 4.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.5256, allocations: 6.25 kB / 0.5395 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.5256, allocations: 1.375 kB / 0.5395 GB, free: 4.273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007681/0.5264, allocations: 110 kB / 0.5396 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/0.5267, allocations: 47.75 kB / 0.5397 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003283/0.527, allocations: 0.5773 MB / 0.5402 GB, free: 3.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.5272, allocations: 5.375 kB / 0.5403 GB, free: 3.684 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.5272, allocations: 9.5 kB / 0.5403 GB, free: 3.684 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: 2 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002096/0.5274, allocations: 154.5 kB / 0.5404 GB, free: 3.539 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/0.5275, allocations: 30.31 kB / 0.5404 GB, free: 3.523 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008955/0.5284, allocations: 353.4 kB / 0.5408 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.834e-06/0.5284, allocations: 6.531 kB / 0.5408 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.186e-06/0.5284, allocations: 1.828 kB / 0.5408 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.5284, allocations: 1.547 kB / 0.5408 GB, free: 3.363 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.5297, allocations: 0.7094 MB / 0.5415 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5297, allocations: 5.344 kB / 0.5415 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002475/0.53, allocations: 42.55 kB / 0.5415 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005678/0.5305, allocations: 100.6 kB / 0.5416 GB, free: 2.875 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.5306, allocations: 7.141 kB / 0.5416 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003242/0.5309, allocations: 0.5898 MB / 0.5422 GB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5309, allocations: 5.438 kB / 0.5422 GB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008557/0.5317, allocations: 0.4938 MB / 0.5427 GB, free: 2.016 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.5318, allocations: 35.27 kB / 0.5427 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.093e-05/0.5319, allocations: 7.828 kB / 0.5427 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.532, allocations: 5.375 kB / 0.5427 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.543e-05/0.5321, allocations: 20.05 kB / 0.5428 GB, free: 1.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.5321, allocations: 15.88 kB / 0.5428 GB, free: 1.973 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.5323, allocations: 212.4 kB / 0.543 GB, free: 1.859 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5323, allocations: 4.062 kB / 0.543 GB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004022/0.5327, allocations: 78.61 kB / 0.5431 GB, free: 1.816 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001296/0.5328, allocations: 100.5 kB / 0.5431 GB, free: 1.711 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000462/0.5333, allocations: 189.6 kB / 0.5433 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5333, allocations: 0 / 0.5433 GB, free: 1.551 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.5335, allocations: 118.6 kB / 0.5434 GB, free: 1.449 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004578/0.534, allocations: 66.02 kB / 0.5435 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.535, allocations: 0.7012 MB / 0.5442 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004521/0.5355, allocations: 0.7937 MB / 0.545 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001911/0.5357, allocations: 39.95 kB / 0.545 GB, free: 15.93 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.602e-05/0.5358, allocations: 43.27 kB / 0.545 GB, free: 15.89 MB / 398.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5358, allocations: 3.938 kB / 0.545 GB, free: 15.89 MB / 398.1 MB Notification: Performance of Templates: time 0.01094/0.5467, allocations: 4.336 MB / 0.5493 GB, free: 13.25 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.makefile [Timeout 660] (rm -f AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; mkfifo AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe ; head -c 1048576 < AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe >> ../files/AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.sim & ./AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Coursework.ThermSys_component_models.HeatExchanger_1vol_case_003.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.424321875907481] Failed to read output from testmodel.py, exit status != 0: 0.5564157934859395 0.570901898 0.054205889 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f65cc9b97b0>