Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_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_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_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.09561/0.09561, allocations: 21.61 MB / 36.56 MB, free: 1.109 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.001119/0.001119, allocations: 187.1 kB / 42.83 MB, free: 3.785 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.266/1.266, allocations: 223.2 MB / 272.1 MB, free: 1.398 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.0008677/0.0008677, allocations: 106.8 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003457, allocations: 8 kB / 397 MB, free: 46.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08867/0.08903, allocations: 55.81 MB / 452.9 MB, free: 6.668 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2949/0.384, allocations: 80.49 MB / 0.5208 GB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.3843, allocations: 64.77 kB / 0.5209 GB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006415/0.3907, allocations: 2.639 MB / 0.5235 GB, free: 12.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3907, allocations: 0 / 0.5235 GB, free: 12.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.3907, allocations: 7.875 kB / 0.5235 GB, free: 12.81 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006361/0.3914, allocations: 467.3 kB / 0.5239 GB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.954e-05/0.3914, allocations: 11.31 kB / 0.5239 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.908e-05/0.3915, allocations: 19.22 kB / 0.524 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.3916, allocations: 194.6 kB / 0.5241 GB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.831e-05/0.3917, allocations: 50.8 kB / 0.5242 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/0.3917, allocations: 11.41 kB / 0.5242 GB, free: 12.17 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007148/0.3924, allocations: 347.2 kB / 0.5245 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.3925, allocations: 3.875 kB / 0.5245 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3925, allocations: 9.688 kB / 0.5245 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.3925, allocations: 0 / 0.5245 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006473/0.3932, allocations: 273.6 kB / 0.5248 GB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001509/0.3947, allocations: 0.9651 MB / 0.5258 GB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002509/0.3949, allocations: 254.6 kB / 0.526 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.395, allocations: 7.906 kB / 0.526 GB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.294e-05/0.395, allocations: 34 kB / 0.526 GB, free: 11.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.603e-06/0.395, allocations: 0 / 0.526 GB, free: 11.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001445/0.3964, allocations: 0.6372 MB / 0.5267 GB, free: 11.1 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.445e-05/0.3965, allocations: 55.12 kB / 0.5267 GB, free: 11.04 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.3966, allocations: 178.3 kB / 0.5269 GB, free: 10.93 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3966, allocations: 25.7 kB / 0.5269 GB, free: 10.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.309e-05/0.3967, allocations: 124.5 kB / 0.527 GB, free: 10.8 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.387e-05/0.3967, allocations: 55.19 kB / 0.5271 GB, free: 10.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.104e-06/0.3967, allocations: 7.562 kB / 0.5271 GB, free: 10.76 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.54e-05/0.3968, allocations: 326.7 kB / 0.5274 GB, free: 10.45 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.46e-05/0.3969, allocations: 42.36 kB / 0.5274 GB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.3969, allocations: 88.44 kB / 0.5275 GB, free: 10.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.897e-05/0.397, allocations: 61.98 kB / 0.5276 GB, free: 10.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.3971, allocations: 0 / 0.5276 GB, free: 10.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002235/0.3973, allocations: 200 kB / 0.5278 GB, free: 10.33 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.3973, allocations: 3.969 kB / 0.5278 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.3973, allocations: 3.844 kB / 0.5278 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3973, allocations: 0 / 0.5278 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.3976, allocations: 51.27 kB / 0.5278 GB, free: 10.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.3976, allocations: 7.781 kB / 0.5278 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.35e-05/0.3977, allocations: 3.25 kB / 0.5278 GB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3977, allocations: 11.64 kB / 0.5278 GB, free: 10.32 MB / 362.7 MB Warning: Assuming fixed start value for the following 3 variables: stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001708/0.3979, allocations: 143.4 kB / 0.528 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.3979, allocations: 11.22 kB / 0.528 GB, free: 10.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.782e-05/0.3979, allocations: 22.09 kB / 0.528 GB, free: 10.18 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.398, allocations: 11.86 kB / 0.528 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.398, allocations: 1.688 kB / 0.528 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.398, allocations: 10.7 kB / 0.528 GB, free: 10.17 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000559/0.3985, allocations: 499 kB / 0.5285 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3986, allocations: 3.875 kB / 0.5285 GB, free: 9.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000263/0.3988, allocations: 41.88 kB / 0.5286 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3988, allocations: 1.5 kB / 0.5286 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/0.3989, allocations: 1.5 kB / 0.5286 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.3989, allocations: 1.531 kB / 0.5286 GB, free: 9.812 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3989, allocations: 9.453 kB / 0.5286 GB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.3992, allocations: 297.2 kB / 0.5289 GB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.773e-05/0.3992, allocations: 96.48 kB / 0.5289 GB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.3992, allocations: 4.5 kB / 0.5289 GB, free: 9.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001005/0.3993, allocations: 6.109 kB / 0.529 GB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.436e-05/0.3994, allocations: 13.17 kB / 0.529 GB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-06/0.3994, allocations: 5.844 kB / 0.529 GB, free: 9.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.566e-05/0.3995, allocations: 133.8 kB / 0.5291 GB, free: 9.426 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3995, allocations: 0 / 0.5291 GB, free: 9.426 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002501/0.3997, allocations: 41.56 kB / 0.5291 GB, free: 9.426 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.678e-05/0.3998, allocations: 97.95 kB / 0.5292 GB, free: 9.336 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.4, allocations: 121.8 kB / 0.5294 GB, free: 9.316 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.928e-06/0.4, allocations: 7.312 kB / 0.5294 GB, free: 9.312 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.85e-05/0.4001, allocations: 55.86 kB / 0.5294 GB, free: 9.301 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.4003, allocations: 32.27 kB / 0.5294 GB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.401, allocations: 0.6102 MB / 0.53 GB, free: 8.828 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000117/0.4011, allocations: 0.7198 MB / 0.5307 GB, free: 8.109 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.4012, allocations: 13.23 kB / 0.5308 GB, free: 8.102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.4012, allocations: 23.11 kB / 0.5308 GB, free: 8.09 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4012, allocations: 0 / 0.5308 GB, free: 8.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003211/0.4044, allocations: 1.634 MB / 0.5324 GB, free: 7.32 MB / 362.7 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & ./AES_AES.Devel_test_models.Test_stank_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)