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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") translateModel(AES.Devel_test_models.Test_air_circ_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_003") [/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.09561/0.09561, allocations: 21.6 MB / 37.4 MB, free: 0.7617 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 184.5 kB / 43.63 MB, free: 3.57 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.1 MB / 254.8 MB, free: 14.32 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001002/0.001002, allocations: 98.28 kB / 307.5 MB, free: 11.37 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 54.72 kB / 372.3 MB, free: 59.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08083/0.08205, allocations: 51.97 MB / 424.3 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_003): time 0.003693/0.08578, allocations: 3.622 MB / 427.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001429/0.08724, allocations: 1.08 MB / 429 MB, free: 9.766 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000274/0.08754, allocations: 8 kB / 429 MB, free: 9.758 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.08769, allocations: 51.53 kB / 429.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.08815, allocations: 166.7 kB / 429.2 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.08844, allocations: 179.8 kB / 429.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005142/0.08896, allocations: 0.8102 MB / 430.2 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004181/0.08939, allocations: 394.8 kB / 430.6 MB, free: 8.168 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003298/0.08973, allocations: 303.1 kB / 430.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003563/0.09009, allocations: 370.7 kB / 431.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.277e-05/0.09019, allocations: 52 kB / 431.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.09031, allocations: 44 kB / 431.4 MB, free: 7.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.0904, allocations: 135.5 kB / 431.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002524/0.09066, allocations: 322.6 kB / 431.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.0911, allocations: 0.7865 MB / 432.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.09111, allocations: 0 / 432.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.52e-07/0.09112, allocations: 0 / 432.6 MB, free: 6.176 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.603e-05/0.09114, allocations: 0 / 432.6 MB, free: 6.176 MB / 298.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.001592/0.09273, allocations: 0.874 MB / 433.5 MB, free: 5.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.09278, allocations: 15.97 kB / 433.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.71e-05/0.09288, allocations: 56.28 kB / 433.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.09302, allocations: 223.7 kB / 433.7 MB, free: 4.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.011e-05/0.09306, allocations: 53.62 kB / 433.8 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.09315, allocations: 64.38 kB / 433.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008051/0.09396, allocations: 0.6037 MB / 434.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.09398, allocations: 0 / 434.5 MB, free: 4.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.078e-05/0.09404, allocations: 28 kB / 434.5 MB, free: 4.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.09406, allocations: 16 kB / 434.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008552/0.09492, allocations: 0.6063 MB / 435.1 MB, free: 3.551 MB / 298.7 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 293.15, confidence number = 2) * Candidate: V.air.T(start = 288.15, confidence number = 8) * Candidate: V.heatPort.T(start = 288.15, confidence number = 8) => Select value from V.T(start = V.Tstart = 293.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00248/0.09741, allocations: 1.936 MB / 437.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00118/0.0986, allocations: 0.6858 MB / 437.7 MB, free: 0.8125 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/0.099, allocations: 310.7 kB / 438 MB, free: 0.5078 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.09906, allocations: 17.59 kB / 438.1 MB, free: 0.4922 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/0.09908, allocations: 51.16 kB / 438.1 MB, free: 444 kB / 298.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003809/0.09947, allocations: 99.38 kB / 438.2 MB, free: 344 kB / 298.7 MB Notification: Performance of pre-optimization done (n=79): time 2.504e-06/0.09948, allocations: 0 / 438.2 MB, free: 344 kB / 298.7 MB Notification: Performance of matching and sorting (n=90): time 0.006849/0.1063, allocations: 2.92 MB / 441.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.1064, allocations: 68.34 kB / 441.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.1066, allocations: 190.3 kB / 441.4 MB, free: 13.04 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.1067, allocations: 41.7 kB / 441.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.1068, allocations: 193 kB / 441.6 MB, free: 12.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002041/0.107, allocations: 307.5 kB / 441.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000207/0.1072, allocations: 130.6 kB / 442 MB, free: 12.36 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1073, allocations: 350.7 kB / 442.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004744/0.1078, allocations: 281.9 kB / 442.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005021/0.1083, allocations: 340.5 kB / 443 MB, free: 11.39 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01414/0.1225, allocations: 2.821 MB / 445.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.1225, allocations: 0 / 445.8 MB, free: 8.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002107/0.1246, allocations: 0.9368 MB / 446.7 MB, free: 7.609 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1247, allocations: 8 kB / 446.8 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.1247, allocations: 3.984 kB / 446.8 MB, free: 7.598 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009402/0.1256, allocations: 186.3 kB / 446.9 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003842/0.1295, allocations: 0.5501 MB / 447.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008076/0.1376, allocations: 9.84 MB / 457.3 MB, free: 12.06 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005939/0.1382, allocations: 39.98 kB / 457.4 MB, free: 12.02 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/0.1383, allocations: 23.98 kB / 457.4 MB, free: 12 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 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 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 (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,5,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005241/0.1388, allocations: 219.9 kB / 457.6 MB, free: 11.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1389, allocations: 51.39 kB / 457.7 MB, free: 11.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002671/0.1416, allocations: 1.175 MB / 458.8 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.1416, allocations: 8 kB / 458.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.1417, allocations: 4 kB / 458.8 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.1417, allocations: 7.922 kB / 458.8 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003639/0.1453, allocations: 2.139 MB / 461 MB, free: 8.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.1453, allocations: 8.812 kB / 461 MB, free: 8.223 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003443/0.1488, allocations: 0.4994 MB / 461.5 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001933/0.1507, allocations: 342.1 kB / 461.8 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.892e-05/0.1509, allocations: 24 kB / 461.9 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008284/0.1592, allocations: 10.09 MB / 471.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/0.1592, allocations: 11.94 kB / 472 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/0.185, allocations: 13.13 MB / 485.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001367/0.1852, allocations: 116.6 kB / 485.2 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001567/0.1854, allocations: 31.98 kB / 485.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005923/0.186, allocations: 36.22 kB / 485.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.1862, allocations: 100.4 kB / 485.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-05/0.1863, allocations: 39.92 kB / 485.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001359/0.1864, allocations: 147.2 kB / 485.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1864, allocations: 0 / 485.5 MB, free: 14.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001277/0.1877, allocations: 316 kB / 485.8 MB, free: 13.72 MB / 362.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 (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001841/0.1879, allocations: 135 kB / 486 MB, free: 13.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004965/0.1929, allocations: 1.501 MB / 487.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.1929, allocations: 0 / 487.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004038/0.197, allocations: 1.208 MB / 488.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008697/0.1978, allocations: 148.8 kB / 488.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.2026, allocations: 2.768 MB / 491.6 MB, free: 7.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.2033, allocations: 0.8965 MB / 492.5 MB, free: 6.805 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007629/0.204, allocations: 96.56 kB / 492.6 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003164/0.2044, allocations: 59.41 kB / 492.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/0.2044, allocations: 0 / 492.7 MB, free: 6.648 MB / 362.7 MB Notification: Performance of Templates: time 0.02252/0.2269, allocations: 15.14 MB / 0.4959 GB, free: 7.496 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_003.makefile (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 & ./AES_AES.Devel_test_models.Test_air_circ_003 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_003.pipe 2>&1)