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 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_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") translateModel(AES.Devel_test_models.Test_air_circ_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_air_circ_002") [/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.09719/0.09719, allocations: 21.61 MB / 37.41 MB, free: 0.7461 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.001237/0.001237, allocations: 180.5 kB / 43.63 MB, free: 3.578 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.372/1.372, allocations: 205.1 MB / 254.8 MB, free: 14.28 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.0009926/0.0009927, allocations: 102.3 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 53.7 kB / 372.3 MB, free: 59.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08968/0.09071, allocations: 51.97 MB / 424.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_002): time 0.00362/0.09437, allocations: 4.145 MB / 428.5 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.09567, allocations: 1.251 MB / 429.7 MB, free: 9.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.09583, allocations: 4 kB / 429.7 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.09596, allocations: 55.52 kB / 429.8 MB, free: 9.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004442/0.09642, allocations: 202.4 kB / 430 MB, free: 8.82 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.0967, allocations: 251.7 kB / 430.2 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005816/0.09729, allocations: 1.036 MB / 431.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004042/0.0977, allocations: 419.7 kB / 431.7 MB, free: 7.125 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000273/0.09799, allocations: 374.9 kB / 432 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000329/0.09832, allocations: 434.4 kB / 432.4 MB, free: 6.332 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.733e-05/0.09841, allocations: 48 kB / 432.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.09852, allocations: 52 kB / 432.5 MB, free: 6.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.361e-05/0.09862, allocations: 155.5 kB / 432.7 MB, free: 6.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.09887, allocations: 390.2 kB / 433.1 MB, free: 5.699 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.09939, allocations: 0.9657 MB / 434 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.0994, allocations: 0 / 434 MB, free: 4.73 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09941, allocations: 0 / 434 MB, free: 4.73 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.195e-06/0.09942, allocations: 4 kB / 434 MB, free: 4.727 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: 207 * Number of variables: 207 Notification: Performance of Generate backend data structure: time 0.001782/0.1012, allocations: 1.003 MB / 435 MB, free: 3.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.1013, allocations: 8.031 kB / 435.1 MB, free: 3.664 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.1014, allocations: 72.09 kB / 435.1 MB, free: 3.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/0.1015, allocations: 239.5 kB / 435.4 MB, free: 3.32 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.979e-05/0.1016, allocations: 58.38 kB / 435.4 MB, free: 3.266 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.677e-05/0.1017, allocations: 80.38 kB / 435.5 MB, free: 3.188 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009429/0.1026, allocations: 0.7412 MB / 436.2 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.1027, allocations: 4 kB / 436.2 MB, free: 2.434 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.1027, allocations: 32 kB / 436.3 MB, free: 2.402 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.1028, allocations: 20 kB / 436.3 MB, free: 2.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.1038, allocations: 0.7457 MB / 437 MB, free: 1.637 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.002954/0.1067, allocations: 2.232 MB / 439.3 MB, free: 15.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.1089, allocations: 0.9984 MB / 440.3 MB, free: 14.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005517/0.1095, allocations: 367.7 kB / 440.6 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.076e-05/0.1096, allocations: 20.92 kB / 440.6 MB, free: 13.91 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.1096, allocations: 43.56 kB / 440.7 MB, free: 13.86 MB / 314.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003357/0.1099, allocations: 99.47 kB / 440.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of pre-optimization done (n=105): time 2.234e-06/0.1099, allocations: 0 / 440.8 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.01378/0.1237, allocations: 4.167 MB / 445 MB, free: 9.516 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.043e-05/0.1239, allocations: 64.41 kB / 445 MB, free: 9.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000363/0.1243, allocations: 215.1 kB / 445.2 MB, free: 9.219 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.192e-05/0.1244, allocations: 49.7 kB / 445.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1246, allocations: 225.1 kB / 445.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.1249, allocations: 390.3 kB / 445.9 MB, free: 8.551 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002623/0.1251, allocations: 158.6 kB / 446 MB, free: 8.391 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001787/0.1253, allocations: 354.8 kB / 446.4 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.1259, allocations: 321.9 kB / 446.7 MB, free: 7.719 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006131/0.1265, allocations: 396.5 kB / 447.1 MB, free: 7.328 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0141/0.1406, allocations: 2.849 MB / 449.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.1407, allocations: 0 / 449.9 MB, free: 4.473 MB / 314.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.004713/0.1454, allocations: 1.498 MB / 451.4 MB, free: 2.957 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1455, allocations: 4 kB / 451.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.1455, allocations: 0 / 451.4 MB, free: 2.953 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004071/0.1496, allocations: 0.7591 MB / 452.2 MB, free: 2.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005277/0.1548, allocations: 0.7257 MB / 452.9 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/0.1716, allocations: 14.87 MB / 467.8 MB, free: 1.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008098/0.1724, allocations: 55.91 kB / 467.8 MB, free: 1.297 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/0.1725, allocations: 35.92 kB / 467.9 MB, free: 1.262 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 (94): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 6 systems {1, 1, 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(7,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004219/0.1729, allocations: 232.2 kB / 468.1 MB, free: 1.027 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.173, allocations: 51.34 kB / 468.2 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004096/0.1771, allocations: 1.66 MB / 469.8 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.1772, allocations: 12 kB / 469.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.1772, allocations: 4 kB / 469.8 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.1772, allocations: 11.95 kB / 469.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005914/0.1831, allocations: 2.967 MB / 472.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.216e-05/0.1832, allocations: 8 kB / 472.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00472/0.1879, allocations: 0.6719 MB / 473.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003385/0.1913, allocations: 0.7203 MB / 474.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.1914, allocations: 32 kB / 474.2 MB, free: 10.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/0.2056, allocations: 14.54 MB / 488.8 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/0.2056, allocations: 15.94 kB / 488.8 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04005/0.2457, allocations: 17.52 MB / 0.4944 GB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.2459, allocations: 136.5 kB / 0.4946 GB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.485e-05/0.246, allocations: 32 kB / 0.4946 GB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006774/0.2466, allocations: 59.97 kB / 0.4947 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003533/0.247, allocations: 132.6 kB / 0.4948 GB, free: 8.293 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-05/0.2471, allocations: 39.98 kB / 0.4948 GB, free: 8.254 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001676/0.2473, allocations: 168.4 kB / 0.495 GB, free: 8.086 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.2473, allocations: 0 / 0.495 GB, free: 8.086 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001549/0.2488, allocations: 428 kB / 0.4954 GB, free: 7.668 MB / 378.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 (not torn): 6 * 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): 6 systems {1, 1, 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): 1 system {(2,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(7,19), (1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000215/0.249, allocations: 151 kB / 0.4955 GB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007048/0.2561, allocations: 1.983 MB / 0.4975 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.2561, allocations: 4.062 kB / 0.4975 GB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005995/0.2621, allocations: 1.631 MB / 0.4991 GB, free: 3.816 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001102/0.2632, allocations: 196.9 kB / 0.4993 GB, free: 3.621 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1709/0.4342, allocations: 3.453 MB / 0.5026 GB, free: 78.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007668/0.435, allocations: 0.9574 MB / 0.5036 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008266/0.4359, allocations: 99.03 kB / 0.5037 GB, free: 78.11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002212/0.4361, allocations: 52.94 kB / 0.5037 GB, free: 78.11 MB / 378.7 MB Notification: Performance of SimCode: time 7.22e-07/0.4361, allocations: 1.281 kB / 0.5037 GB, free: 78.11 MB / 378.7 MB Notification: Performance of Templates: time 0.03111/0.4672, allocations: 21.41 MB / 0.5246 GB, free: 71.55 MB / 378.7 MB make -j1 -f AES_AES.Devel_test_models.Test_air_circ_002.makefile (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 & ./AES_AES.Devel_test_models.Test_air_circ_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_002.pipe 2>&1)