Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_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_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_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.104/0.104, allocations: 21.6 MB / 37.4 MB, free: 0.7578 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.001258/0.001258, allocations: 188.5 kB / 43.63 MB, free: 3.559 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.36/1.36, allocations: 205.1 MB / 254.8 MB, free: 14.29 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.0009455/0.0009457, allocations: 112.2 kB / 307.5 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 53.77 kB / 372.3 MB, free: 59.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07821/0.07945, allocations: 51.98 MB / 424.3 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003615/0.08311, allocations: 3.447 MB / 427.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001652/0.08479, allocations: 1.029 MB / 428.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003513/0.08517, allocations: 7.938 kB / 428.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002218/0.08541, allocations: 51.67 kB / 428.8 MB, free: 9.961 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004104/0.08585, allocations: 146.9 kB / 429 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004773/0.08634, allocations: 175.7 kB / 429.2 MB, free: 9.645 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006371/0.08699, allocations: 0.8031 MB / 430 MB, free: 8.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004927/0.08749, allocations: 381.7 kB / 430.3 MB, free: 8.469 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003523/0.08786, allocations: 291.1 kB / 430.6 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.08829, allocations: 378.7 kB / 431 MB, free: 7.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.08841, allocations: 52 kB / 431 MB, free: 7.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000166/0.08858, allocations: 75.97 kB / 431.1 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.0887, allocations: 179.4 kB / 431.3 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000214/0.08892, allocations: 318.5 kB / 431.6 MB, free: 7.199 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.08937, allocations: 0.7748 MB / 432.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.08938, allocations: 0 / 432.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.08939, allocations: 0 / 432.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.052e-06/0.0894, allocations: 0 / 432.4 MB, free: 6.422 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001501/0.0909, allocations: 0.8927 MB / 433.3 MB, free: 5.477 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.09094, allocations: 8.031 kB / 433.3 MB, free: 5.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.901e-05/0.09105, allocations: 68.19 kB / 433.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004075/0.09146, allocations: 384.2 kB / 433.7 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.09156, allocations: 109 kB / 433.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.097e-05/0.09165, allocations: 56.22 kB / 433.9 MB, free: 4.812 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001205/0.09287, allocations: 0.6896 MB / 434.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.09289, allocations: 0 / 434.6 MB, free: 4.117 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.927e-05/0.09295, allocations: 16 kB / 434.6 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.09296, allocations: 12 kB / 434.6 MB, free: 4.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/0.09413, allocations: 0.605 MB / 435.2 MB, free: 3.484 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004092/0.09823, allocations: 2.586 MB / 437.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008973/0.09914, allocations: 0.5347 MB / 438.3 MB, free: 288 kB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007507/0.09991, allocations: 397.4 kB / 438.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.1001, allocations: 93.47 kB / 438.8 MB, free: 15.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.328e-05/0.1001, allocations: 38.94 kB / 438.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=46): time 2.194e-06/0.1001, allocations: 0 / 438.8 MB, free: 15.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=50): time 0.005212/0.1053, allocations: 2.146 MB / 441 MB, free: 13.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.1054, allocations: 55.84 kB / 441 MB, free: 13.47 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003422/0.1057, allocations: 369.6 kB / 441.4 MB, free: 13.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.755e-05/0.1058, allocations: 29.7 kB / 441.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.1059, allocations: 228.4 kB / 441.6 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.1061, allocations: 177.4 kB / 441.8 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.1063, allocations: 94.23 kB / 441.9 MB, free: 12.56 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.1064, allocations: 354.8 kB / 442.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007918/0.1072, allocations: 366.3 kB / 442.6 MB, free: 11.85 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008269/0.108, allocations: 420 kB / 443 MB, free: 11.41 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008627/0.1167, allocations: 2.154 MB / 445.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.1167, allocations: 0 / 445.2 MB, free: 9.234 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001853/0.1186, allocations: 0.8379 MB / 446 MB, free: 8.391 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.1186, allocations: 4 kB / 446 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.1186, allocations: 4 kB / 446 MB, free: 8.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.1186, allocations: 16.16 kB / 446 MB, free: 8.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006631/0.1253, allocations: 0.9909 MB / 447 MB, free: 7.375 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004319/0.1257, allocations: 0.5938 MB / 447.6 MB, free: 6.758 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005824/0.1263, allocations: 55.88 kB / 447.7 MB, free: 6.703 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.1264, allocations: 28.08 kB / 447.7 MB, free: 6.676 MB / 314.7 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003708/0.1268, allocations: 201.7 kB / 447.9 MB, free: 6.473 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.1269, allocations: 43.53 kB / 447.9 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002005/0.1289, allocations: 0.8093 MB / 448.8 MB, free: 5.617 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.265e-06/0.129, allocations: 8 kB / 448.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.129, allocations: 0 / 448.8 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.129, allocations: 7.922 kB / 448.8 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/0.1326, allocations: 1.72 MB / 450.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1326, allocations: 0 / 450.5 MB, free: 3.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006821/0.1394, allocations: 0.9792 MB / 451.5 MB, free: 2.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/0.1395, allocations: 4 kB / 451.5 MB, free: 2.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.545e-05/0.1396, allocations: 23.92 kB / 451.5 MB, free: 2.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003672/0.1399, allocations: 0.5938 MB / 452.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1399, allocations: 0 / 452.1 MB, free: 2.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/0.158, allocations: 6.966 MB / 459.1 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001008/0.1581, allocations: 116.5 kB / 459.2 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.1582, allocations: 15.98 kB / 459.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004847/0.1587, allocations: 51.88 kB / 459.2 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.1589, allocations: 68.31 kB / 459.3 MB, free: 10.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.1589, allocations: 23.98 kB / 459.3 MB, free: 10.79 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002415/0.1592, allocations: 255.2 kB / 459.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1592, allocations: 0 / 459.6 MB, free: 10.54 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006453/0.1598, allocations: 220 kB / 459.8 MB, free: 10.33 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * 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): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001754/0.16, allocations: 111.3 kB / 459.9 MB, free: 10.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002957/0.163, allocations: 0.9037 MB / 460.8 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.163, allocations: 0 / 460.8 MB, free: 9.305 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00202/0.165, allocations: 0.5296 MB / 461.3 MB, free: 8.777 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.1656, allocations: 101.5 kB / 461.4 MB, free: 8.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004442/0.17, allocations: 2.365 MB / 463.8 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004168/0.1705, allocations: 0.867 MB / 464.7 MB, free: 5.375 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004958/0.171, allocations: 108.3 kB / 464.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.1713, allocations: 51.42 kB / 464.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of SimCode: time 4.41e-07/0.1713, allocations: 0 / 464.8 MB, free: 5.215 MB / 330.7 MB Notification: Performance of Templates: time 0.01604/0.1874, allocations: 10.75 MB / 475.6 MB, free: 10.46 MB / 346.7 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & ./AES_AES.Devel_test_models.Test_stank_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)