Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_liquid_circuit_005.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_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_liquid_circuit_005,fileNamePrefix="AES_AES_Devel_test_models_Test_liquid_circuit_005",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.1011/0.1011, allocations: 21.61 MB / 36.56 MB, free: 1.062 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.001175/0.001175, allocations: 186.1 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.35/1.35, allocations: 223.2 MB / 272.1 MB, free: 1.793 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.001011/0.001011, allocations: 84.38 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003522/0.0003523, allocations: 8 kB / 397.1 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1028, allocations: 55.81 MB / 452.9 MB, free: 6.613 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3261/0.429, allocations: 83.01 MB / 0.5234 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001892/0.4293, allocations: 73.58 kB / 0.5235 GB, free: 13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04494/0.4742, allocations: 19.47 MB / 0.5425 GB, free: 6.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4742, allocations: 0 / 0.5425 GB, free: 6.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.23e-05/0.4743, allocations: 30.59 kB / 0.5425 GB, free: 6.062 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: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003868/0.4782, allocations: 1.562 MB / 0.544 GB, free: 5.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4783, allocations: 7.812 kB / 0.544 GB, free: 5.121 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005003/0.4788, allocations: 168.2 kB / 0.5442 GB, free: 5.055 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004185/0.4792, allocations: 123.8 kB / 0.5443 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/0.481, allocations: 0.8899 MB / 0.5452 GB, free: 4.559 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.476e-05/0.4811, allocations: 82.38 kB / 0.5453 GB, free: 4.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003203/0.4814, allocations: 124.5 kB / 0.5454 GB, free: 4.539 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002528/0.4839, allocations: 1.595 MB / 0.5469 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.484, allocations: 0 / 0.5469 GB, free: 4.051 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.4841, allocations: 42.69 kB / 0.547 GB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.607e-05/0.4841, allocations: 27.12 kB / 0.547 GB, free: 4.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/0.4861, allocations: 1.271 MB / 0.5482 GB, free: 3.867 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00847/0.4946, allocations: 6.234 MB / 0.5543 GB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004573/0.4992, allocations: 1.793 MB / 0.5561 GB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.521e-05/0.4993, allocations: 20.16 kB / 0.5561 GB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/0.4994, allocations: 42.06 kB / 0.5561 GB, free: 13.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 3.086e-06/0.4994, allocations: 4 kB / 0.5561 GB, free: 13.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=96): time 0.009581/0.509, allocations: 5.228 MB / 0.5612 GB, free: 9.648 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.168e-05/0.5091, allocations: 67.55 kB / 0.5613 GB, free: 9.574 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.51, allocations: 0.4952 MB / 0.5618 GB, free: 9.191 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.72e-05/0.5101, allocations: 43.77 kB / 0.5618 GB, free: 9.156 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002947/0.5104, allocations: 428.8 kB / 0.5622 GB, free: 8.844 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003773/0.5108, allocations: 391.6 kB / 0.5626 GB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.17e-05/0.5109, allocations: 26.5 kB / 0.5626 GB, free: 8.512 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.5111, allocations: 400.1 kB / 0.563 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.5123, allocations: 0.7343 MB / 0.5637 GB, free: 7.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001303/0.5136, allocations: 0.8637 MB / 0.5646 GB, free: 6.844 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.5242, allocations: 2.939 MB / 0.5675 GB, free: 3.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5242, allocations: 0 / 0.5675 GB, free: 3.887 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.004746/0.529, allocations: 2.285 MB / 0.5697 GB, free: 1.562 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000282/0.5293, allocations: 0.7873 MB / 0.5705 GB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.5293, allocations: 4 kB / 0.5705 GB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.5315, allocations: 0.54 MB / 0.571 GB, free: 140 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/0.5332, allocations: 343.5 kB / 0.5713 GB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.5457, allocations: 15.46 MB / 0.5864 GB, free: 14.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.5472, allocations: 75.8 kB / 0.5865 GB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003132/0.5476, allocations: 43.98 kB / 0.5865 GB, free: 14.81 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.5476, allocations: 4 kB / 0.5865 GB, free: 14.8 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004577/0.5522, allocations: 2.148 MB / 0.5886 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.5522, allocations: 4 kB / 0.5886 GB, free: 12.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001856/0.5541, allocations: 0.5127 MB / 0.5891 GB, free: 12.07 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00162/0.5557, allocations: 339.6 kB / 0.5895 GB, free: 11.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/0.5691, allocations: 16.68 MB / 0.6057 GB, free: 9.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001258/0.5704, allocations: 75.77 kB / 0.6058 GB, free: 9.465 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000242/0.5707, allocations: 43.98 kB / 0.6059 GB, free: 9.422 MB / 426.7 MB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.tubeC.fluidStream.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (134): * Single equations (assignments): 123 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 10 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(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: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009621/0.5717, allocations: 449 kB / 0.6063 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002514/0.5719, allocations: 87 kB / 0.6064 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003792/0.5757, allocations: 1.892 MB / 0.6082 GB, free: 6.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.669e-06/0.5757, allocations: 12 kB / 0.6082 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5758, allocations: 4 kB / 0.6082 GB, free: 6.938 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.5758, allocations: 3.984 kB / 0.6082 GB, free: 6.934 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006725/0.5825, allocations: 3.685 MB / 0.6118 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5825, allocations: 0 / 0.6118 GB, free: 3.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001956/0.5845, allocations: 323.7 kB / 0.6121 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.5863, allocations: 489 kB / 0.6126 GB, free: 2.352 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001603/0.5865, allocations: 67.91 kB / 0.6127 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01114/0.5977, allocations: 15.7 MB / 0.628 GB, free: 1.125 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.5977, allocations: 4.031 kB / 0.628 GB, free: 1.121 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005304/0.603, allocations: 2.548 MB / 0.6305 GB, free: 14.51 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003707/0.6034, allocations: 164.1 kB / 0.6307 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002721/0.6037, allocations: 59.98 kB / 0.6307 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009983/0.6047, allocations: 71.77 kB / 0.6308 GB, free: 14.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003645/0.6051, allocations: 88.8 kB / 0.6309 GB, free: 14.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6052, allocations: 23.98 kB / 0.6309 GB, free: 14.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008177/0.606, allocations: 398.8 kB / 0.6313 GB, free: 13.7 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6061, allocations: 0 / 0.6313 GB, free: 13.7 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003513/0.6096, allocations: 0.664 MB / 0.6319 GB, free: 13.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 41 (tubeH.fluidStream.w,tubeH.fluidStream.T[1],tubeH.fluidStream.T[2],tubeH.fluidStream.T[3],tubeH.fluidStream.T[4],tubeH.fluidStream.T[5],tubeH.wall.wall.T[1,1],tubeH.wall.wall.T[1,2],tubeH.wall.wall.T[1,3],tubeH.wall.wall.T[2,1],tubeH.wall.wall.T[2,2],tubeH.wall.wall.T[2,3],tubeH.wall.wall.T[3,1],tubeH.wall.wall.T[3,2],tubeH.wall.wall.T[3,3],tubeH.wall.wall.T[4,1],tubeH.wall.wall.T[4,2],tubeH.wall.wall.T[4,3],tubeH.wall.wall.T[5,1],tubeH.wall.wall.T[5,2],tubeH.wall.wall.T[5,3],tubeC.fluidStream.T[1],tubeC.fluidStream.T[2],tubeC.fluidStream.T[3],tubeC.fluidStream.T[4],tubeC.fluidStream.T[5],tubeC.wall.wall.T[1,1],tubeC.wall.wall.T[1,2],tubeC.wall.wall.T[1,3],tubeC.wall.wall.T[2,1],tubeC.wall.wall.T[2,2],tubeC.wall.wall.T[2,3],tubeC.wall.wall.T[3,1],tubeC.wall.wall.T[3,2],tubeC.wall.wall.T[3,3],tubeC.wall.wall.T[4,1],tubeC.wall.wall.T[4,2],tubeC.wall.wall.T[4,3],tubeC.wall.wall.T[5,1],tubeC.wall.wall.T[5,2],tubeC.wall.wall.T[5,3]) * 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 (86): * Single equations (assignments): 75 * 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: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005222/0.6148, allocations: 3.245 MB / 0.6351 GB, free: 9.723 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006899/0.6217, allocations: 5.088 MB / 0.6401 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.6218, allocations: 0 / 0.6401 GB, free: 4.367 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.6242, allocations: 2.038 MB / 0.642 GB, free: 2.188 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.6254, allocations: 273.5 kB / 0.6423 GB, free: 1.926 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01253/0.6379, allocations: 8.26 MB / 0.6504 GB, free: 9.578 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009845/0.6389, allocations: 1.234 MB / 0.6516 GB, free: 8.316 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001866/0.6408, allocations: 0.5607 MB / 0.6521 GB, free: 7.75 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007464/0.6416, allocations: 399.3 kB / 0.6525 GB, free: 7.359 MB / 474.7 MB Notification: Performance of SimCode: time 4.007e-06/0.6416, allocations: 0 / 0.6525 GB, free: 7.359 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.261/0.9026, allocations: 32.42 MB / 0.6842 GB, free: 153 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/0.9028, allocations: 194 kB / 0.6843 GB, free: 152.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.91/3.812, allocations: 0 / 0.6843 GB, free: 152.8 MB / 490.7 MB (rm -f AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; mkfifo AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe >> ../files/AES_AES.Devel_test_models.Test_liquid_circuit_005.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_liquid_circuit_005_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_liquid_circuit_005.fmu > AES_AES.Devel_test_models.Test_liquid_circuit_005.pipe 2>&1)