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 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_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.1213/0.1213, allocations: 21.45 MB / 36.39 MB, free: 1.148 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.001545/0.001545, allocations: 179.7 kB / 42.62 MB, free: 3.988 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.766/1.766, allocations: 205.4 MB / 254.1 MB, free: 15.43 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.0009039/0.0009039, allocations: 101.1 kB / 307.8 MB, free: 11.3 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003661/0.0003662, allocations: 12.41 kB / 373.2 MB, free: 59.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1133, allocations: 52.95 MB / 426.2 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3782/0.4916, allocations: 79.52 MB / 0.4938 GB, free: 24.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/0.492, allocations: 66.8 kB / 0.4939 GB, free: 24.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01197/0.504, allocations: 2.573 MB / 0.4964 GB, free: 23.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.5041, allocations: 3.938 kB / 0.4964 GB, free: 23.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.175e-05/0.5041, allocations: 2.031 kB / 0.4964 GB, free: 23.66 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.001106/0.5052, allocations: 469.3 kB / 0.4969 GB, free: 23.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.271e-05/0.5053, allocations: 8.906 kB / 0.4969 GB, free: 23.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.5054, allocations: 17.5 kB / 0.4969 GB, free: 23.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002427/0.5056, allocations: 200.4 kB / 0.4971 GB, free: 23.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.5058, allocations: 58.03 kB / 0.4971 GB, free: 23.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.499e-05/0.5059, allocations: 10.91 kB / 0.4972 GB, free: 23.01 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001408/0.5073, allocations: 342.7 kB / 0.4975 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.5074, allocations: 2.578 kB / 0.4975 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.5074, allocations: 0 / 0.4975 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.5074, allocations: 2.438 kB / 0.4975 GB, free: 22.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.5087, allocations: 280.7 kB / 0.4978 GB, free: 22.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003033/0.5117, allocations: 0.9632 MB / 0.4987 GB, free: 22.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.5123, allocations: 263.3 kB / 0.4989 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/0.5123, allocations: 2.344 kB / 0.4989 GB, free: 22.27 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.951e-05/0.5124, allocations: 34.44 kB / 0.499 GB, free: 22.23 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 1.993e-06/0.5124, allocations: 1.438 kB / 0.499 GB, free: 22.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.002405/0.5148, allocations: 0.6375 MB / 0.4996 GB, free: 21.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.5149, allocations: 60.33 kB / 0.4997 GB, free: 21.87 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000232/0.5151, allocations: 173.4 kB / 0.4998 GB, free: 21.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5152, allocations: 27.05 kB / 0.4999 GB, free: 21.74 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.5153, allocations: 117.2 kB / 0.5 GB, free: 21.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.5153, allocations: 56.98 kB / 0.5 GB, free: 21.61 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.183e-05/0.5153, allocations: 4.875 kB / 0.5 GB, free: 21.61 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.173e-05/0.5154, allocations: 326.3 kB / 0.5003 GB, free: 21.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001098/0.5156, allocations: 40 kB / 0.5004 GB, free: 21.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001432/0.5157, allocations: 90.83 kB / 0.5005 GB, free: 21.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000188/0.5159, allocations: 64.59 kB / 0.5005 GB, free: 21.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.5159, allocations: 4.844 kB / 0.5005 GB, free: 21.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004202/0.5164, allocations: 184 kB / 0.5007 GB, free: 21.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.973e-05/0.5164, allocations: 5.844 kB / 0.5007 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5164, allocations: 5.266 kB / 0.5007 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5165, allocations: 2.719 kB / 0.5007 GB, free: 21.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.5168, allocations: 58.84 kB / 0.5008 GB, free: 21.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.5168, allocations: 2.938 kB / 0.5008 GB, free: 21.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.517, allocations: 10.97 kB / 0.5008 GB, free: 21.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.517, allocations: 9.781 kB / 0.5008 GB, free: 21.16 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.0002485/0.5173, allocations: 142.2 kB / 0.5009 GB, free: 21.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.5173, allocations: 14.84 kB / 0.5009 GB, free: 21.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.916e-05/0.5174, allocations: 21.8 kB / 0.501 GB, free: 21.03 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.5174, allocations: 13.67 kB / 0.501 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.5174, allocations: 0 / 0.501 GB, free: 21.02 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5174, allocations: 5.688 kB / 0.501 GB, free: 21.01 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008368/0.5183, allocations: 496.8 kB / 0.5015 GB, free: 20.71 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5183, allocations: 3.953 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003012/0.5186, allocations: 38.67 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.5186, allocations: 1.594 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.5187, allocations: 9.219 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.5187, allocations: 4.047 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.5187, allocations: 3.938 kB / 0.5015 GB, free: 20.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004323/0.5191, allocations: 300.9 kB / 0.5018 GB, free: 20.52 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.973e-05/0.5192, allocations: 94.05 kB / 0.5019 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.5192, allocations: 5.438 kB / 0.5019 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.5194, allocations: 5.688 kB / 0.5019 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.5194, allocations: 8.953 kB / 0.5019 GB, free: 20.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5194, allocations: 7 kB / 0.5019 GB, free: 20.42 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000132/0.5196, allocations: 135 kB / 0.502 GB, free: 20.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.5196, allocations: 0 / 0.502 GB, free: 20.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004765/0.5201, allocations: 35.97 kB / 0.5021 GB, free: 20.34 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 0.0001667/0.5203, allocations: 106.3 kB / 0.5022 GB, free: 20.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003264/0.5206, allocations: 125.2 kB / 0.5023 GB, free: 20.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5206, allocations: 0 / 0.5023 GB, free: 20.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001112/0.5207, allocations: 54.09 kB / 0.5024 GB, free: 20.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003806/0.5211, allocations: 37.25 kB / 0.5024 GB, free: 20.23 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.5224, allocations: 0.6113 MB / 0.503 GB, free: 19.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.5242, allocations: 0.7208 MB / 0.5037 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001419/0.5243, allocations: 15.17 kB / 0.5037 GB, free: 35.14 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.5244, allocations: 16.59 kB / 0.5037 GB, free: 35.13 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5244, allocations: 1.594 kB / 0.5037 GB, free: 35.13 MB / 378.7 MB Notification: Performance of Templates: time 0.006472/0.5309, allocations: 1.636 MB / 0.5053 GB, free: 35 MB / 378.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 -abortSlowSimulation -alarm=480 -lv=LOG_STATS -s=dassl -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)