Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.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_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit,fileNamePrefix="AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit",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.09784/0.09784, allocations: 21.62 MB / 36.57 MB, free: 1.086 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.001117/0.001116, allocations: 187.3 kB / 42.83 MB, free: 3.781 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.298/1.298, allocations: 223.2 MB / 272.1 MB, free: 1.379 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.0008384/0.0008384, allocations: 92.31 kB / 328.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003025/0.0003023, allocations: 8 kB / 395.1 MB, free: 48.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09639/0.09671, allocations: 55.82 MB / 450.9 MB, free: 8.512 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3471/0.4439, allocations: 80.16 MB / 0.5186 GB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.4441, allocations: 79.31 kB / 0.5187 GB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03884/0.483, allocations: 13.46 MB / 0.5319 GB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4831, allocations: 0 / 0.5319 GB, free: 7.949 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.114e-05/0.4831, allocations: 26.62 kB / 0.5319 GB, free: 7.941 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.003074/0.4862, allocations: 1.342 MB / 0.5332 GB, free: 7.035 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/0.4863, allocations: 19.31 kB / 0.5332 GB, free: 7.027 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.828e-05/0.4864, allocations: 68.25 kB / 0.5333 GB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.4865, allocations: 90.09 kB / 0.5334 GB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002655/0.4892, allocations: 1.066 MB / 0.5344 GB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.4892, allocations: 21.81 kB / 0.5344 GB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.397e-05/0.4893, allocations: 44.23 kB / 0.5345 GB, free: 6.363 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.49, allocations: 403.7 kB / 0.5349 GB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.49, allocations: 0 / 0.5349 GB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.4901, allocations: 17.7 kB / 0.5349 GB, free: 6.246 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.4901, allocations: 11.75 kB / 0.5349 GB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006934/0.4908, allocations: 483.3 kB / 0.5353 GB, free: 6.168 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002199/0.493, allocations: 1.493 MB / 0.5368 GB, free: 5.504 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007918/0.4938, allocations: 0.6479 MB / 0.5374 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.4938, allocations: 3.594 kB / 0.5374 GB, free: 5.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.514e-05/0.4939, allocations: 34.44 kB / 0.5375 GB, free: 5.344 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 1.633e-06/0.4939, allocations: 0 / 0.5375 GB, free: 5.344 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001685/0.4956, allocations: 0.9664 MB / 0.5384 GB, free: 5.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.4956, allocations: 55.25 kB / 0.5385 GB, free: 4.957 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.4975, allocations: 0.9874 MB / 0.5394 GB, free: 4.617 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.4976, allocations: 37.23 kB / 0.5395 GB, free: 4.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.4978, allocations: 347.6 kB / 0.5398 GB, free: 4.441 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.4979, allocations: 159.1 kB / 0.5399 GB, free: 4.328 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.4979, allocations: 7.75 kB / 0.54 GB, free: 4.328 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.857e-05/0.498, allocations: 328.8 kB / 0.5403 GB, free: 4.016 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002952/0.4983, allocations: 220.3 kB / 0.5405 GB, free: 3.988 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.4986, allocations: 228.1 kB / 0.5407 GB, free: 3.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003318/0.4989, allocations: 258.5 kB / 0.5409 GB, free: 3.922 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.4989, allocations: 3.953 kB / 0.5409 GB, free: 3.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.0007938/0.4997, allocations: 0.6367 MB / 0.5416 GB, free: 3.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.4998, allocations: 7.766 kB / 0.5416 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.4998, allocations: 3.844 kB / 0.5416 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4998, allocations: 0 / 0.5416 GB, free: 3.766 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007452/0.5005, allocations: 150.1 kB / 0.5417 GB, free: 3.738 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.5006, allocations: 7.969 kB / 0.5417 GB, free: 3.734 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007694/0.5013, allocations: 142.8 kB / 0.5419 GB, free: 3.668 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.287e-05/0.5014, allocations: 14.38 kB / 0.5419 GB, free: 3.668 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: D.Fcs1.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] D.Fcs2.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] 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 (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000318/0.5017, allocations: 256.4 kB / 0.5421 GB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.5018, allocations: 81.61 kB / 0.5422 GB, free: 3.484 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001713/0.502, allocations: 101.6 kB / 0.5423 GB, free: 3.457 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.502, allocations: 7.844 kB / 0.5423 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.502, allocations: 0 / 0.5423 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.502, allocations: 7.641 kB / 0.5423 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.5027, allocations: 0.7153 MB / 0.543 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5027, allocations: 0 / 0.543 GB, free: 3.078 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004331/0.5031, allocations: 68.83 kB / 0.5431 GB, free: 3.062 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002563/0.5034, allocations: 69.44 kB / 0.5431 GB, free: 3.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.5034, allocations: 18.58 kB / 0.5432 GB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001104/0.5045, allocations: 1.62 MB / 0.5447 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.5046, allocations: 0 / 0.5447 GB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.5058, allocations: 1.029 MB / 0.5458 GB, free: 1.363 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.506, allocations: 174 kB / 0.5459 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.423e-05/0.506, allocations: 17.91 kB / 0.5459 GB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008282/0.5069, allocations: 121.1 kB / 0.546 GB, free: 1.164 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.192e-05/0.507, allocations: 35.08 kB / 0.5461 GB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.507, allocations: 15.27 kB / 0.5461 GB, free: 1.145 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001739/0.5088, allocations: 0.8274 MB / 0.5469 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5088, allocations: 0 / 0.5469 GB, free: 0.8633 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004075/0.5092, allocations: 116.6 kB / 0.547 GB, free: 0.8516 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (Pdec.P11.x_scaled[1],Pdec.P12.x_scaled[1],Pdec.P21.x_scaled[1],Pdec.P22.x_scaled[1],D.D12.x_scaled[1],D.D21.x_scaled[1],D.Fcs2.x_scaled[1],D.Fcs1.x_scaled[1],P.P11.x_scaled[1],P.P12.x_scaled[1],P.P21.x_scaled[1],P.P22.x_scaled[1]) * 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 (38): * Single equations (assignments): 37 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001395/0.5106, allocations: 1.581 MB / 0.5486 GB, free: 0 / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008627/0.5115, allocations: 0.5137 MB / 0.5491 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5115, allocations: 11.75 kB / 0.5491 GB, free: 15.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005171/0.512, allocations: 394.4 kB / 0.5494 GB, free: 15.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005429/0.5125, allocations: 117.2 kB / 0.5496 GB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/0.5237, allocations: 6.004 MB / 0.5554 GB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006468/0.5243, allocations: 1.05 MB / 0.5565 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004605/0.5248, allocations: 153 kB / 0.5566 GB, free: 11.65 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003592/0.5252, allocations: 276.3 kB / 0.5569 GB, free: 11.58 MB / 378.7 MB Notification: Performance of SimCode: time 1.102e-06/0.5252, allocations: 0 / 0.5569 GB, free: 11.58 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02945/0.5547, allocations: 14.31 MB / 0.5708 GB, free: 13.45 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001729/0.5549, allocations: 197 kB / 0.571 GB, free: 13.2 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.264/2.819, allocations: 0 / 0.571 GB, free: 13.2 MB / 394.7 MB (rm -f AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; mkfifo AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe >> ../files/AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_analogue_TITOdecoupler_zeroInit.fmu > AES_AES.Devel_test_models.Test_analogue_TITOdecoupler_zeroInit.pipe 2>&1)