Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_air_circ_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: translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") translateModel(AES.Devel_test_models.Test_air_circ_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_001") [/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.09363/0.09363, allocations: 21.61 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.0009865/0.0009865, allocations: 189.5 kB / 42.83 MB, free: 3.777 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.262/1.262, allocations: 223.2 MB / 272.1 MB, free: 1.387 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.0008545/0.0008545, allocations: 101.4 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000318/0.0003179, allocations: 8 kB / 397 MB, free: 46.48 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08423/0.08456, allocations: 55.81 MB / 452.9 MB, free: 6.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2738/0.3584, allocations: 82.7 MB / 0.523 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3586, allocations: 68.08 kB / 0.5231 GB, free: 13.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01602/0.3747, allocations: 7.297 MB / 0.5302 GB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3747, allocations: 0 / 0.5302 GB, free: 10.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3747, allocations: 11.56 kB / 0.5302 GB, free: 10.91 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001155/0.3759, allocations: 0.6934 MB / 0.5309 GB, free: 10.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.3759, allocations: 7.656 kB / 0.5309 GB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.067e-05/0.376, allocations: 50.38 kB / 0.5309 GB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.3762, allocations: 226.1 kB / 0.5312 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.721e-05/0.3762, allocations: 40.12 kB / 0.5312 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.018e-05/0.3763, allocations: 61.47 kB / 0.5312 GB, free: 10.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.3769, allocations: 493.6 kB / 0.5317 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.377, allocations: 0 / 0.5317 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/0.377, allocations: 23.19 kB / 0.5317 GB, free: 9.977 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.377, allocations: 19.61 kB / 0.5318 GB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.3777, allocations: 487 kB / 0.5322 GB, free: 9.895 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00188/0.3796, allocations: 1.387 MB / 0.5336 GB, free: 9.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007031/0.3803, allocations: 0.5052 MB / 0.5341 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.018e-05/0.3803, allocations: 15.5 kB / 0.5341 GB, free: 9.145 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3804, allocations: 46.02 kB / 0.5341 GB, free: 9.098 MB / 362.7 MB Notification: Performance of pre-optimization done (n=68): time 1.844e-06/0.3804, allocations: 0 / 0.5341 GB, free: 9.098 MB / 362.7 MB Notification: Performance of matching and sorting (n=78): time 0.005449/0.3858, allocations: 2.419 MB / 0.5365 GB, free: 8.199 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.3859, allocations: 63.52 kB / 0.5366 GB, free: 8.133 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.386, allocations: 169.7 kB / 0.5367 GB, free: 8.016 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.386, allocations: 43.27 kB / 0.5368 GB, free: 7.98 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.39e-05/0.3861, allocations: 182.5 kB / 0.5369 GB, free: 7.836 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.3862, allocations: 266.6 kB / 0.5372 GB, free: 7.645 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.152e-05/0.3863, allocations: 13.5 kB / 0.5372 GB, free: 7.645 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.847e-05/0.3863, allocations: 343.5 kB / 0.5375 GB, free: 7.32 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003048/0.3867, allocations: 213.9 kB / 0.5377 GB, free: 7.293 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003216/0.387, allocations: 262 kB / 0.538 GB, free: 7.242 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.3873, allocations: 263.6 kB / 0.5382 GB, free: 7.219 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.3874, allocations: 0 / 0.5382 GB, free: 7.219 MB / 362.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001584/0.3889, allocations: 0.776 MB / 0.539 GB, free: 7.027 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.389, allocations: 9.125 kB / 0.539 GB, free: 7.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.389, allocations: 3.984 kB / 0.539 GB, free: 7.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.39, allocations: 197.8 kB / 0.5392 GB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003765/0.3938, allocations: 0.5028 MB / 0.5397 GB, free: 6.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007823/0.4016, allocations: 10.17 MB / 0.5496 GB, free: 13.14 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006205/0.4023, allocations: 33.81 kB / 0.5496 GB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.392e-05/0.4023, allocations: 21.7 kB / 0.5497 GB, free: 13.12 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, 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 (75): * Single equations (assignments): 68 * 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.0004042/0.4027, allocations: 203.4 kB / 0.5499 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.383e-05/0.4028, allocations: 38.8 kB / 0.5499 GB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.4049, allocations: 0.9486 MB / 0.5508 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.4049, allocations: 7.625 kB / 0.5508 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.4049, allocations: 0 / 0.5508 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.4049, allocations: 3.984 kB / 0.5508 GB, free: 12.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.408, allocations: 1.896 MB / 0.5527 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.408, allocations: 7.562 kB / 0.5527 GB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/0.4112, allocations: 465.7 kB / 0.5531 GB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002042/0.4132, allocations: 359.8 kB / 0.5535 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/0.4133, allocations: 29.92 kB / 0.5535 GB, free: 11.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009156/0.4225, allocations: 10.32 MB / 0.5636 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/0.4225, allocations: 11.81 kB / 0.5636 GB, free: 1.812 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002739/0.4253, allocations: 1.73 MB / 0.5653 GB, free: 0.8047 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001341/0.4254, allocations: 119.2 kB / 0.5654 GB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.581e-05/0.4255, allocations: 27.67 kB / 0.5654 GB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005245/0.426, allocations: 34.42 kB / 0.5655 GB, free: 0.6758 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.4262, allocations: 85.27 kB / 0.5655 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.4263, allocations: 30.95 kB / 0.5656 GB, free: 0.6328 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001116/0.4264, allocations: 147.3 kB / 0.5657 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4264, allocations: 0 / 0.5657 GB, free: 0.5352 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007238/0.4271, allocations: 183.3 kB / 0.5659 GB, free: 0.5273 MB / 378.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 (69): * Single equations (assignments): 62 * 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 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001869/0.4273, allocations: 134 kB / 0.566 GB, free: 424 kB / 378.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.004086/0.4314, allocations: 1.223 MB / 0.5672 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.4314, allocations: 0 / 0.5672 GB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003225/0.4346, allocations: 0.971 MB / 0.5681 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006723/0.4353, allocations: 123.6 kB / 0.5683 GB, free: 14.39 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.4377, allocations: 1.632 MB / 0.5699 GB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003609/0.4381, allocations: 0.8564 MB / 0.5707 GB, free: 11.94 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004309/0.4385, allocations: 64.23 kB / 0.5708 GB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.4387, allocations: 38.19 kB / 0.5708 GB, free: 11.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.633e-06/0.4387, allocations: 0 / 0.5708 GB, free: 11.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01236/0.451, allocations: 8.212 MB / 0.5788 GB, free: 3.711 MB / 394.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_001.makefile (rm -f AES_AES.Devel_test_models.Test_air_circ_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_air_circ_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_air_circ_001.pipe >> ../files/AES_AES.Devel_test_models.Test_air_circ_001.sim & ./AES_AES.Devel_test_models.Test_air_circ_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)