Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_003.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_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_air_circ_003,fileNamePrefix="AES_AES_Devel_test_models_Test_air_circ_003",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.1322/0.1322, allocations: 21.62 MB / 36.56 MB, free: 1.109 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.001052/0.001052, allocations: 187.5 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.34/1.34, allocations: 223.2 MB / 272.1 MB, free: 1.383 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.0008294/0.0008294, allocations: 106 kB / 328.7 MB, free: 11.73 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 12 kB / 397.1 MB, free: 46.37 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1034, allocations: 55.82 MB / 452.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4681, allocations: 82.73 MB / 0.5231 GB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001944/0.4684, allocations: 71.83 kB / 0.5232 GB, free: 12.77 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.4868, allocations: 7.99 MB / 0.531 GB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4868, allocations: 0 / 0.531 GB, free: 10.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.559e-05/0.4868, allocations: 11.53 kB / 0.531 GB, free: 10.32 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001913/0.4887, allocations: 0.7406 MB / 0.5317 GB, free: 9.762 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.4888, allocations: 7.688 kB / 0.5317 GB, free: 9.762 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.489, allocations: 105.5 kB / 0.5318 GB, free: 9.707 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001215/0.4891, allocations: 62.03 kB / 0.5319 GB, free: 9.676 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002098/0.4894, allocations: 225.4 kB / 0.5321 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.4894, allocations: 48.72 kB / 0.5321 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.4895, allocations: 60.41 kB / 0.5322 GB, free: 9.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009368/0.4905, allocations: 0.6154 MB / 0.5328 GB, free: 9.258 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.4905, allocations: 4 kB / 0.5328 GB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.719e-05/0.4906, allocations: 25.86 kB / 0.5328 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.4906, allocations: 15.22 kB / 0.5329 GB, free: 9.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/0.4915, allocations: 0.6168 MB / 0.5335 GB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002823/0.4943, allocations: 1.692 MB / 0.5351 GB, free: 8.375 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.4956, allocations: 0.6833 MB / 0.5358 GB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.14e-05/0.4957, allocations: 19.81 kB / 0.5358 GB, free: 8.266 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.4957, allocations: 42.62 kB / 0.5358 GB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006127/0.4964, allocations: 146.7 kB / 0.536 GB, free: 8.176 MB / 362.7 MB Notification: Performance of pre-optimization done (n=79): time 2.194e-06/0.4964, allocations: 0 / 0.536 GB, free: 8.176 MB / 362.7 MB Notification: Performance of matching and sorting (n=90): time 0.006568/0.5029, allocations: 2.828 MB / 0.5387 GB, free: 7.297 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.503, allocations: 63.66 kB / 0.5388 GB, free: 7.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.5032, allocations: 173.1 kB / 0.539 GB, free: 7.125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.242e-05/0.5032, allocations: 46.2 kB / 0.539 GB, free: 7.09 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.929e-05/0.5033, allocations: 192.6 kB / 0.5392 GB, free: 6.941 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/0.5035, allocations: 304 kB / 0.5395 GB, free: 6.719 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.069e-05/0.5035, allocations: 17.69 kB / 0.5395 GB, free: 6.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.546e-05/0.5036, allocations: 349.9 kB / 0.5398 GB, free: 6.391 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/0.504, allocations: 277.2 kB / 0.5401 GB, free: 6.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.5044, allocations: 330.9 kB / 0.5404 GB, free: 6.293 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004717/0.5049, allocations: 325.5 kB / 0.5407 GB, free: 6.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.5049, allocations: 0 / 0.5407 GB, free: 6.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001966/0.5069, allocations: 0.934 MB / 0.5416 GB, free: 6.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.5069, allocations: 7.531 kB / 0.5416 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.507, allocations: 0 / 0.5416 GB, free: 6.055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001111/0.5081, allocations: 203.2 kB / 0.5418 GB, free: 5.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004176/0.5123, allocations: 0.5412 MB / 0.5424 GB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008459/0.5207, allocations: 10.17 MB / 0.5523 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/0.5216, allocations: 34.44 kB / 0.5523 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.404e-05/0.5217, allocations: 34 kB / 0.5524 GB, free: 12.13 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 (87): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,77.8%) 4,(1,100.0%) 2,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004666/0.5221, allocations: 222.7 kB / 0.5526 GB, free: 11.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.5222, allocations: 38.91 kB / 0.5526 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002576/0.5248, allocations: 1.17 MB / 0.5538 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.5248, allocations: 15.61 kB / 0.5538 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.5248, allocations: 0 / 0.5538 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/0.5249, allocations: 3.984 kB / 0.5538 GB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003635/0.5285, allocations: 2.155 MB / 0.5559 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.5285, allocations: 4.031 kB / 0.5559 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003747/0.5323, allocations: 0.4963 MB / 0.5564 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002257/0.5346, allocations: 362.8 kB / 0.5567 GB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.964e-05/0.5346, allocations: 25.45 kB / 0.5567 GB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01049/0.5451, allocations: 10.37 MB / 0.5669 GB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.5452, allocations: 15.94 kB / 0.5669 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003404/0.5486, allocations: 2.012 MB / 0.5688 GB, free: 14.1 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.5488, allocations: 120.5 kB / 0.569 GB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.866e-05/0.5489, allocations: 31.03 kB / 0.569 GB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.5495, allocations: 32.67 kB / 0.569 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001964/0.5497, allocations: 97.88 kB / 0.5691 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.156e-05/0.5498, allocations: 34.92 kB / 0.5691 GB, free: 13.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.5499, allocations: 160.2 kB / 0.5693 GB, free: 13.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5499, allocations: 4 kB / 0.5693 GB, free: 13.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008955/0.5508, allocations: 203.8 kB / 0.5695 GB, free: 13.51 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 3 (V.Mv,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 (86): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {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%) 2} * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004124/0.5549, allocations: 4.363 MB / 0.5738 GB, free: 9.488 MB / 394.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.00436/0.5593, allocations: 1.381 MB / 0.5751 GB, free: 8.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.5593, allocations: 4 kB / 0.5751 GB, free: 8.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003375/0.5627, allocations: 1.077 MB / 0.5762 GB, free: 7.375 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000694/0.5634, allocations: 144 kB / 0.5763 GB, free: 7.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005909/0.5693, allocations: 3.774 MB / 0.58 GB, free: 4.102 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.5698, allocations: 0.8809 MB / 0.5808 GB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005675/0.5704, allocations: 92.55 kB / 0.5809 GB, free: 3.098 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003381/0.5707, allocations: 188.2 kB / 0.5811 GB, free: 3.031 MB / 394.7 MB Notification: Performance of SimCode: time 6.31e-07/0.5707, allocations: 0 / 0.5811 GB, free: 3.031 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.6009, allocations: 14.18 MB / 0.595 GB, free: 5.062 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001737/0.6011, allocations: 191 kB / 0.5951 GB, free: 4.816 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.463/3.064, allocations: 0 / 0.5951 GB, free: 4.816 MB / 410.7 MB (rm -f AES_AES.Devel_test_models.Test_air_circ_003.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_003.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_003.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_003.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_air_circ_003_fmu --startTime=0 --stopTime=200 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_air_circ_003.fmu > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)