Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_expansion_vessel_isoT_001,fileNamePrefix="AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.111/0.111, allocations: 21.62 MB / 36.56 MB, free: 1.074 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 182.4 kB / 42.83 MB, free: 3.789 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 223.2 MB / 272.1 MB, free: 1.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008804/0.0008803, allocations: 108.5 kB / 328.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002844/0.0002844, allocations: 15.98 kB / 397.1 MB, free: 46.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08974/0.09005, allocations: 55.81 MB / 452.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3394/0.4295, allocations: 83.98 MB / 0.5243 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.4298, allocations: 66.41 kB / 0.5244 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02878/0.4585, allocations: 12.74 MB / 0.5368 GB, free: 8.613 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.4586, allocations: 0 / 0.5368 GB, free: 8.613 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.985e-05/0.4586, allocations: 23.75 kB / 0.5369 GB, free: 8.605 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002342/0.461, allocations: 1.113 MB / 0.5379 GB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.461, allocations: 7.188 kB / 0.5379 GB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002364/0.4613, allocations: 119.7 kB / 0.5381 GB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002162/0.4615, allocations: 85.53 kB / 0.5381 GB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009974/0.4625, allocations: 0.6037 MB / 0.5387 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.43e-05/0.4626, allocations: 51.91 kB / 0.5388 GB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/0.4627, allocations: 83.61 kB / 0.5389 GB, free: 7.406 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001354/0.4641, allocations: 0.995 MB / 0.5398 GB, free: 7.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.4641, allocations: 7.734 kB / 0.5398 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/0.4642, allocations: 26.84 kB / 0.5399 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.4642, allocations: 15.22 kB / 0.5399 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.4653, allocations: 0.7834 MB / 0.5406 GB, free: 6.984 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004061/0.4694, allocations: 3.696 MB / 0.5443 GB, free: 4.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002415/0.4718, allocations: 1.024 MB / 0.5453 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.152e-05/0.4719, allocations: 11.95 kB / 0.5453 GB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.031e-05/0.4719, allocations: 42.38 kB / 0.5453 GB, free: 4.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 1.783e-06/0.4719, allocations: 4 kB / 0.5453 GB, free: 4.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.003724/0.4756, allocations: 2.361 MB / 0.5476 GB, free: 3.156 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.699e-05/0.4757, allocations: 55.88 kB / 0.5477 GB, free: 3.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003436/0.476, allocations: 379.5 kB / 0.548 GB, free: 2.945 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.4761, allocations: 32.89 kB / 0.5481 GB, free: 2.914 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.4762, allocations: 311.4 kB / 0.5484 GB, free: 2.715 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.4764, allocations: 238.9 kB / 0.5486 GB, free: 2.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.4764, allocations: 14.03 kB / 0.5486 GB, free: 2.543 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4765, allocations: 367.3 kB / 0.549 GB, free: 2.215 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005552/0.4771, allocations: 436.7 kB / 0.5494 GB, free: 2.156 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000534/0.4777, allocations: 441.8 kB / 0.5498 GB, free: 2.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000601/0.4783, allocations: 0.5002 MB / 0.5503 GB, free: 2.059 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.4783, allocations: 0 / 0.5503 GB, free: 2.059 MB / 362.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00211/0.4804, allocations: 1.37 MB / 0.5516 GB, free: 1.176 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.537e-05/0.4804, allocations: 98.95 kB / 0.5517 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4805, allocations: 0 / 0.5517 GB, free: 1.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.4815, allocations: 352.6 kB / 0.552 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.4828, allocations: 223.1 kB / 0.5523 GB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.493, allocations: 12.63 MB / 0.5646 GB, free: 3.859 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/0.4937, allocations: 78.27 kB / 0.5647 GB, free: 3.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4939, allocations: 22.17 kB / 0.5647 GB, free: 3.777 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.4939, allocations: 4 kB / 0.5647 GB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/0.4964, allocations: 1.288 MB / 0.566 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.4964, allocations: 0 / 0.566 GB, free: 2.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.4975, allocations: 353.3 kB / 0.5663 GB, free: 2.613 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001009/0.4985, allocations: 203 kB / 0.5665 GB, free: 2.422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.5093, allocations: 13.35 MB / 0.5795 GB, free: 4.918 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008083/0.5102, allocations: 74.05 kB / 0.5796 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001331/0.5103, allocations: 22.88 kB / 0.5796 GB, free: 4.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (75): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006745/0.511, allocations: 352.8 kB / 0.5799 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.5112, allocations: 55.38 kB / 0.58 GB, free: 4.504 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.5138, allocations: 1.211 MB / 0.5812 GB, free: 3.387 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.5138, allocations: 4 kB / 0.5812 GB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.5138, allocations: 4 kB / 0.5812 GB, free: 3.379 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.834e-06/0.5138, allocations: 3.984 kB / 0.5812 GB, free: 3.375 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.5152, allocations: 0.9642 MB / 0.5821 GB, free: 2.371 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.5152, allocations: 3.938 kB / 0.5821 GB, free: 2.367 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001171/0.5164, allocations: 183.8 kB / 0.5823 GB, free: 2.188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008353/0.5172, allocations: 306.7 kB / 0.5826 GB, free: 1.863 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.206e-05/0.5173, allocations: 35.92 kB / 0.5826 GB, free: 1.828 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008845/0.5262, allocations: 11.57 MB / 0.5939 GB, free: 5.191 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.5262, allocations: 4.031 kB / 0.5939 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002892/0.5291, allocations: 1.653 MB / 0.5956 GB, free: 3.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.5293, allocations: 140.9 kB / 0.5957 GB, free: 3.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001296/0.5295, allocations: 35.95 kB / 0.5957 GB, free: 3.305 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.53, allocations: 47.8 kB / 0.5958 GB, free: 3.258 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.5302, allocations: 56.41 kB / 0.5958 GB, free: 3.203 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.5303, allocations: 16 kB / 0.5958 GB, free: 3.188 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000347/0.5306, allocations: 295.1 kB / 0.5961 GB, free: 2.895 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5306, allocations: 0 / 0.5961 GB, free: 2.895 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001449/0.5321, allocations: 0.5027 MB / 0.5966 GB, free: 2.391 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 22 (tube01.fluidStream.w,tube01.fluidStream.T[1],tube01.fluidStream.T[2],tube01.fluidStream.T[3],tube01.fluidStream.T[4],tube01.fluidStream.T[5],tube01.wall.wall.T[1,1],tube01.wall.wall.T[1,2],tube01.wall.wall.T[1,3],tube01.wall.wall.T[2,1],tube01.wall.wall.T[2,2],tube01.wall.wall.T[2,3],tube01.wall.wall.T[3,1],tube01.wall.wall.T[3,2],tube01.wall.wall.T[3,3],tube01.wall.wall.T[4,1],tube01.wall.wall.T[4,2],tube01.wall.wall.T[4,3],tube01.wall.wall.T[5,1],tube01.wall.wall.T[5,2],tube01.wall.wall.T[5,3],ev.lfrac) * 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 (50): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 2,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003123/0.5352, allocations: 2.236 MB / 0.5988 GB, free: 104 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005233/0.5404, allocations: 3.51 MB / 0.6022 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5405, allocations: 0 / 0.6022 GB, free: 12.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001662/0.5421, allocations: 1.411 MB / 0.6036 GB, free: 10.88 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006456/0.5428, allocations: 167.7 kB / 0.6038 GB, free: 10.72 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005808/0.5486, allocations: 4.025 MB / 0.6077 GB, free: 6.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.5494, allocations: 1.037 MB / 0.6087 GB, free: 5.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008236/0.5502, allocations: 272.4 kB / 0.609 GB, free: 5.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004195/0.5506, allocations: 251.3 kB / 0.6092 GB, free: 5.074 MB / 426.7 MB Notification: Performance of SimCode: time 4.8e-07/0.5506, allocations: 0 / 0.6092 GB, free: 5.074 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04139/0.592, allocations: 20.97 MB / 0.6297 GB, free: 412 kB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000184/0.5923, allocations: 194.4 kB / 0.6299 GB, free: 172 kB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.504/3.097, allocations: 4 kB / 0.6299 GB, free: 168 kB / 442.7 MB (rm -f AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe >> ../files/AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001_fmu --startTime=0 --stopTime=80000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_expansion_vessel_isoT_001.fmu > AES_AES.Devel_test_models.Test_expansion_vessel_isoT_001.pipe 2>&1)