Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_002.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_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_002,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_002",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.1064/0.1064, 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.001436/0.001436, 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.328/1.328, allocations: 223.2 MB / 272.1 MB, free: 1.789 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.0008756/0.0008756, allocations: 104.2 kB / 328.7 MB, free: 12.15 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003518, allocations: 12 kB / 397.1 MB, free: 46.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09145/0.09183, allocations: 55.82 MB / 452.9 MB, free: 6.621 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3226/0.4145, allocations: 82.8 MB / 0.5232 GB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002267/0.4147, allocations: 69.98 kB / 0.5232 GB, free: 13.06 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02317/0.4379, allocations: 9.967 MB / 0.533 GB, free: 9.836 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.225e-06/0.438, allocations: 192 / 0.533 GB, free: 9.836 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.003e-05/0.438, allocations: 15.41 kB / 0.533 GB, free: 9.836 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001961/0.4399, allocations: 0.8614 MB / 0.5338 GB, free: 9.215 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.44, allocations: 7.719 kB / 0.5338 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001974/0.4402, allocations: 130.6 kB / 0.534 GB, free: 9.156 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001602/0.4404, allocations: 70.03 kB / 0.534 GB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000213/0.4406, allocations: 240.8 kB / 0.5343 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.182e-05/0.4407, allocations: 62.69 kB / 0.5343 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.4408, allocations: 80.31 kB / 0.5344 GB, free: 8.867 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.442, allocations: 0.731 MB / 0.5351 GB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.442, allocations: 3.938 kB / 0.5351 GB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-05/0.4421, allocations: 34.3 kB / 0.5351 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/0.4421, allocations: 19.22 kB / 0.5352 GB, free: 8.656 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001122/0.4432, allocations: 0.7537 MB / 0.5359 GB, free: 8.535 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.4465, allocations: 1.999 MB / 0.5379 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.4484, allocations: 0.9823 MB / 0.5388 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.847e-05/0.4485, allocations: 18.94 kB / 0.5388 GB, free: 7.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.4485, allocations: 42.41 kB / 0.5389 GB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000581/0.4491, allocations: 125.6 kB / 0.539 GB, free: 7.422 MB / 362.7 MB Notification: Performance of pre-optimization done (n=105): time 5.25e-06/0.4491, allocations: 0 / 0.539 GB, free: 7.422 MB / 362.7 MB Notification: Performance of matching and sorting (n=116): time 0.01391/0.463, allocations: 4.277 MB / 0.5432 GB, free: 5.902 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/0.4631, allocations: 67.81 kB / 0.5432 GB, free: 5.832 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.4633, allocations: 196.3 kB / 0.5434 GB, free: 5.715 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.194e-05/0.4634, allocations: 45.86 kB / 0.5435 GB, free: 5.684 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.4635, allocations: 217.9 kB / 0.5437 GB, free: 5.512 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002116/0.4637, allocations: 395.4 kB / 0.544 GB, free: 5.227 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.4638, allocations: 17.94 kB / 0.5441 GB, free: 5.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.936e-05/0.4639, allocations: 359.1 kB / 0.5444 GB, free: 4.898 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/0.4644, allocations: 320.6 kB / 0.5447 GB, free: 4.863 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005538/0.4649, allocations: 394.5 kB / 0.5451 GB, free: 4.781 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.4655, allocations: 376.6 kB / 0.5454 GB, free: 4.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.4655, allocations: 0 / 0.5454 GB, free: 4.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0048/0.4703, allocations: 1.493 MB / 0.5469 GB, free: 4.348 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4704, allocations: 7.719 kB / 0.5469 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.4704, allocations: 0 / 0.5469 GB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004728/0.4751, allocations: 0.7856 MB / 0.5477 GB, free: 4.043 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005828/0.481, allocations: 0.7337 MB / 0.5484 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0189/0.4999, allocations: 15.41 MB / 0.5634 GB, free: 4.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.501, allocations: 42.34 kB / 0.5635 GB, free: 4.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/0.5011, allocations: 38.78 kB / 0.5635 GB, free: 4.715 MB / 378.7 MB Warning: Assuming fixed start value for the following 2 variables: V.T:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = V.Tstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real V.p:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))) start = V.pstart unit = "Pa" fixed = true nominal = 100000.0 stateSelect=StateSelect.always ) 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,77.8%) 4,(1,100.0%) 1} * Non-linear torn systems: 1 {7 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005238/0.5017, allocations: 227.9 kB / 0.5637 GB, free: 4.539 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.5018, allocations: 51.53 kB / 0.5638 GB, free: 4.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004377/0.5062, allocations: 1.662 MB / 0.5654 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5062, allocations: 12 kB / 0.5654 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.5062, allocations: 4 kB / 0.5654 GB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.5063, allocations: 7.938 kB / 0.5654 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006083/0.5124, allocations: 2.978 MB / 0.5683 GB, free: 0.9453 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.5124, allocations: 12 kB / 0.5684 GB, free: 0.9336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005275/0.5177, allocations: 0.6703 MB / 0.569 GB, free: 276 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003828/0.5215, allocations: 0.744 MB / 0.5697 GB, free: 15.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.5217, allocations: 38.09 kB / 0.5698 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/0.5392, allocations: 15.04 MB / 0.5845 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/0.5392, allocations: 15.94 kB / 0.5845 GB, free: 188 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/0.545, allocations: 2.755 MB / 0.5872 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002163/0.5453, allocations: 136.6 kB / 0.5873 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.5454, allocations: 32 kB / 0.5873 GB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008103/0.5462, allocations: 63.77 kB / 0.5874 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003001/0.5465, allocations: 128.6 kB / 0.5875 GB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.565e-05/0.5466, allocations: 47.98 kB / 0.5876 GB, free: 12.63 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001722/0.5468, allocations: 168.1 kB / 0.5877 GB, free: 12.46 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.51e-07/0.5468, allocations: 4 kB / 0.5877 GB, free: 12.46 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001268/0.5481, allocations: 292 kB / 0.588 GB, free: 12.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 40 * Number of states: 3 (V.Ma,V.p,V.T) * 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 (87): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 4} * Non-linear torn systems: 2 {7 19,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006295/0.5544, allocations: 6.027 MB / 0.5939 GB, free: 5.844 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Air/MAvolume.mo:13:3-13:61:writable] Warning: Variable $DER.V.p has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.006696/0.5611, allocations: 1.799 MB / 0.5956 GB, free: 4.012 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.177e-05/0.5611, allocations: 3.938 kB / 0.5956 GB, free: 4.008 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005473/0.5666, allocations: 1.44 MB / 0.5971 GB, free: 2.527 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009582/0.5676, allocations: 169.1 kB / 0.5972 GB, free: 2.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/0.5778, allocations: 4.898 MB / 0.602 GB, free: 13.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000531/0.5783, allocations: 0.9414 MB / 0.6029 GB, free: 12.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006544/0.579, allocations: 93.19 kB / 0.603 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003464/0.5793, allocations: 219.4 kB / 0.6032 GB, free: 12.01 MB / 426.7 MB Notification: Performance of SimCode: time 1.332e-06/0.5794, allocations: 7.938 kB / 0.6032 GB, free: 12 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03732/0.6167, allocations: 19.83 MB / 0.6226 GB, free: 8.391 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001844/0.6169, allocations: 178.9 kB / 0.6228 GB, free: 8.156 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.276, allocations: 0 / 0.6228 GB, free: 8.156 MB / 442.7 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_002.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_002.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_002_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_002.fmu > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)