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 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_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.1113/0.1113, allocations: 21.44 MB / 36.39 MB, free: 1.191 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.001411/0.001411, allocations: 179.7 kB / 42.62 MB, free: 4 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.535/1.535, allocations: 205.4 MB / 254.1 MB, free: 15.19 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.0009891/0.0009889, allocations: 93.55 kB / 307.8 MB, free: 11.1 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004614/0.0004618, allocations: 8.812 kB / 373.2 MB, free: 59.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1309, allocations: 52.95 MB / 426.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_air_circ_001): time 0.002342/0.1333, allocations: 2.627 MB / 428.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001213/0.1346, allocations: 1.026 MB / 429.8 MB, free: 9.5 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001182/0.1347, allocations: 4 kB / 429.8 MB, free: 9.496 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 6.663e-05/0.1348, allocations: 35.67 kB / 429.9 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003178/0.1351, allocations: 175.5 kB / 430 MB, free: 9.289 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.1353, allocations: 131.8 kB / 430.2 MB, free: 9.16 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003723/0.1357, allocations: 487.9 kB / 430.6 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003498/0.1361, allocations: 248.6 kB / 430.9 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002283/0.1363, allocations: 239.3 kB / 431.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002385/0.1366, allocations: 271 kB / 431.4 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.205e-05/0.1366, allocations: 28 kB / 431.4 MB, free: 7.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.329e-05/0.1367, allocations: 36 kB / 431.4 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.126e-05/0.1367, allocations: 99.64 kB / 431.5 MB, free: 7.777 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.92e-05/0.1368, allocations: 117.5 kB / 431.7 MB, free: 7.656 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003018/0.1371, allocations: 0.4986 MB / 432.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1371, allocations: 0 / 432.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1372, allocations: 0 / 432.2 MB, free: 7.156 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.345e-06/0.1372, allocations: 0 / 432.2 MB, free: 7.156 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: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001185/0.1384, allocations: 0.6983 MB / 432.9 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.1384, allocations: 8.031 kB / 432.9 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.601e-05/0.1385, allocations: 55.38 kB / 432.9 MB, free: 6.348 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1387, allocations: 222.4 kB / 433.1 MB, free: 6.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.012e-05/0.1387, allocations: 37.31 kB / 433.2 MB, free: 6.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.224e-05/0.1388, allocations: 60 kB / 433.2 MB, free: 5.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006964/0.1395, allocations: 490.4 kB / 433.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.1395, allocations: 0 / 433.7 MB, free: 5.508 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.025e-05/0.1396, allocations: 31.94 kB / 433.7 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.339e-05/0.1396, allocations: 12 kB / 433.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006939/0.1403, allocations: 484.9 kB / 434.2 MB, free: 4.992 MB / 298.7 MB Warning: Alias set with conflicting start values * Candidate: V.T(start = V.Tstart = 291.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 = 291.15) for variable: V.T Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002072/0.1424, allocations: 1.632 MB / 435.9 MB, free: 3.254 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007007/0.1431, allocations: 0.5079 MB / 436.4 MB, free: 2.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.1431, allocations: 8.562 kB / 436.4 MB, free: 2.727 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.1432, allocations: 43.08 kB / 436.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of pre-optimization done (n=68): time 2.214e-06/0.1432, allocations: 0 / 436.4 MB, free: 2.676 MB / 298.7 MB Notification: Performance of matching and sorting (n=78): time 0.005508/0.1487, allocations: 2.421 MB / 438.8 MB, free: 156 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/0.1487, allocations: 60.06 kB / 438.9 MB, free: 84 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001744/0.1489, allocations: 182.3 kB / 439.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.149, allocations: 45.7 kB / 439.1 MB, free: 15.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.1491, allocations: 181.1 kB / 439.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001829/0.1493, allocations: 276 kB / 439.6 MB, free: 15.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.1493, allocations: 12 kB / 439.6 MB, free: 15.38 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.1495, allocations: 346.8 kB / 439.9 MB, free: 15.03 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003591/0.1498, allocations: 209.6 kB / 440.1 MB, free: 14.82 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003909/0.1502, allocations: 258.9 kB / 440.4 MB, free: 14.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/0.1506, allocations: 255.6 kB / 440.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1507, allocations: 0 / 440.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001718/0.1524, allocations: 0.7767 MB / 441.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.1524, allocations: 4 kB / 441.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.1524, allocations: 3.953 kB / 441.4 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001038/0.1535, allocations: 206.3 kB / 441.6 MB, free: 13.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00353/0.157, allocations: 0.4956 MB / 442.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008344/0.1654, allocations: 9.923 MB / 452 MB, free: 1.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.1659, allocations: 35.95 kB / 452.1 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-05/0.166, allocations: 20 kB / 452.1 MB, free: 1.883 MB / 314.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.0003951/0.1664, allocations: 200.7 kB / 452.3 MB, free: 1.68 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.459e-05/0.1665, allocations: 39.53 kB / 452.3 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.1688, allocations: 0.9475 MB / 453.3 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/0.1688, allocations: 8 kB / 453.3 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.1688, allocations: 4 kB / 453.3 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.097e-05/0.1689, allocations: 7.984 kB / 453.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003422/0.1723, allocations: 1.872 MB / 455.2 MB, free: 14.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/0.1723, allocations: 16.11 kB / 455.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003126/0.1755, allocations: 463.5 kB / 455.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.1775, allocations: 358 kB / 456 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.303e-05/0.1776, allocations: 28.2 kB / 456 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00889/0.1865, allocations: 10.12 MB / 466.1 MB, free: 2.707 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.288e-05/0.1866, allocations: 15.89 kB / 466.1 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003023/0.1896, allocations: 1.695 MB / 467.8 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001852/0.1898, allocations: 120.7 kB / 467.9 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.19, allocations: 24 kB / 468 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000533/0.1905, allocations: 35.98 kB / 468 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/0.1907, allocations: 88.23 kB / 468.1 MB, free: 464 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.384e-05/0.1908, allocations: 39.98 kB / 468.1 MB, free: 424 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.1909, allocations: 136.1 kB / 468.3 MB, free: 288 kB / 330.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1909, allocations: 3.938 kB / 468.3 MB, free: 284 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008801/0.1918, allocations: 168 kB / 468.4 MB, free: 116 kB / 330.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.0002502/0.1921, allocations: 130.8 kB / 468.6 MB, free: 15.97 MB / 346.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.004822/0.1969, allocations: 1.362 MB / 469.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.777e-06/0.1969, allocations: 0 / 469.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00398/0.2009, allocations: 1.109 MB / 471 MB, free: 13.42 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007461/0.2017, allocations: 108.5 kB / 471.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.2041, allocations: 1.593 MB / 472.7 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004239/0.2046, allocations: 0.8486 MB / 473.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.205, allocations: 68.23 kB / 473.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2052, allocations: 35.44 kB / 473.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2052, allocations: 3.938 kB / 473.7 MB, free: 10.64 MB / 346.7 MB Notification: Performance of Templates: time 0.0149/0.2201, allocations: 7.954 MB / 481.6 MB, free: 2.68 MB / 346.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_air_circ_001.pipe 2>&1)