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: "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) [/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.1046/0.1046, allocations: 21.61 MB / 36.56 MB, free: 1.121 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: 179.2 kB / 42.83 MB, free: 3.836 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.423/1.423, allocations: 223.2 MB / 272.1 MB, free: 1.828 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.0008848/0.000885, allocations: 100.3 kB / 328.7 MB, free: 12.11 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004679/0.0004679, allocations: 8 kB / 397.1 MB, free: 46.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 55.82 MB / 452.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3371/0.4452, allocations: 80.49 MB / 0.5209 GB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.4455, allocations: 68.59 kB / 0.521 GB, free: 12.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006841/0.4523, allocations: 2.627 MB / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4524, allocations: 0 / 0.5235 GB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.4524, allocations: 0 / 0.5235 GB, free: 12.46 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.0007118/0.4531, allocations: 478.9 kB / 0.524 GB, free: 12.06 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4531, allocations: 7.094 kB / 0.524 GB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.532e-05/0.4532, allocations: 44.81 kB / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.4533, allocations: 19.41 kB / 0.5241 GB, free: 12.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000145/0.4534, allocations: 199.4 kB / 0.5243 GB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.4535, allocations: 55.39 kB / 0.5243 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.069e-05/0.4536, allocations: 14.17 kB / 0.5243 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007756/0.4544, allocations: 338 kB / 0.5247 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4544, allocations: 3.953 kB / 0.5247 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.585e-05/0.4544, allocations: 7.094 kB / 0.5247 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4544, allocations: 0 / 0.5247 GB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006735/0.4551, allocations: 273.4 kB / 0.5249 GB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.4568, allocations: 0.9651 MB / 0.5259 GB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.4571, allocations: 263.5 kB / 0.5261 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.4571, allocations: 0 / 0.5261 GB, free: 11.03 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.628e-05/0.4572, allocations: 38.62 kB / 0.5262 GB, free: 10.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.4572, allocations: 3.938 kB / 0.5262 GB, free: 10.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.001563/0.4587, allocations: 0.6345 MB / 0.5268 GB, free: 10.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.4588, allocations: 55.36 kB / 0.5268 GB, free: 10.63 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.4589, allocations: 173.7 kB / 0.527 GB, free: 10.53 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.4589, allocations: 29.14 kB / 0.527 GB, free: 10.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.492e-05/0.459, allocations: 117.1 kB / 0.5271 GB, free: 10.4 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.459, allocations: 59.97 kB / 0.5272 GB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4591, allocations: 3.75 kB / 0.5272 GB, free: 10.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.511e-05/0.4591, allocations: 331.6 kB / 0.5275 GB, free: 10.05 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.33e-05/0.4592, allocations: 36.77 kB / 0.5275 GB, free: 10.05 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.256e-05/0.4593, allocations: 94.42 kB / 0.5276 GB, free: 9.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.4594, allocations: 68.55 kB / 0.5277 GB, free: 9.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4594, allocations: 3.844 kB / 0.5277 GB, free: 9.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002599/0.4597, allocations: 184.6 kB / 0.5279 GB, free: 9.926 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.4597, allocations: 7.688 kB / 0.5279 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.4597, allocations: 0 / 0.5279 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4597, allocations: 3.844 kB / 0.5279 GB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.46, allocations: 58.88 kB / 0.5279 GB, free: 9.922 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.46, allocations: 6 kB / 0.528 GB, free: 9.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.318e-05/0.4601, allocations: 7.922 kB / 0.528 GB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.4601, allocations: 11.31 kB / 0.528 GB, free: 9.914 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.0002162/0.4603, allocations: 141.4 kB / 0.5281 GB, free: 9.793 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.4604, allocations: 11.59 kB / 0.5281 GB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.4604, allocations: 23 kB / 0.5281 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.4604, allocations: 0 / 0.5281 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4604, allocations: 3.844 kB / 0.5281 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4604, allocations: 2.766 kB / 0.5281 GB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000619/0.4611, allocations: 0.4933 MB / 0.5286 GB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4611, allocations: 11.86 kB / 0.5286 GB, free: 9.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002017/0.4613, allocations: 34.45 kB / 0.5287 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4613, allocations: 3.812 kB / 0.5287 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.4613, allocations: 3 kB / 0.5287 GB, free: 9.406 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.429e-06/0.4613, allocations: 5.453 kB / 0.5287 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.4613, allocations: 3.781 kB / 0.5287 GB, free: 9.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002753/0.4616, allocations: 305.4 kB / 0.529 GB, free: 9.215 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.4617, allocations: 92.27 kB / 0.5291 GB, free: 9.113 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4617, allocations: 3.953 kB / 0.5291 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.4618, allocations: 0.8125 kB / 0.5291 GB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.4618, allocations: 12.73 kB / 0.5291 GB, free: 9.105 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.035e-06/0.4619, allocations: 5.031 kB / 0.5291 GB, free: 9.105 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001031/0.462, allocations: 137.7 kB / 0.5292 GB, free: 9.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.462, allocations: 0 / 0.5292 GB, free: 9.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002599/0.4622, allocations: 37.06 kB / 0.5293 GB, free: 9.02 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.0004586/0.4627, allocations: 0.9126 MB / 0.5301 GB, free: 8.234 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.4629, allocations: 121 kB / 0.5303 GB, free: 8.215 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.4629, allocations: 4.062 kB / 0.5303 GB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.463, allocations: 52.89 kB / 0.5303 GB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002395/0.4632, allocations: 34.5 kB / 0.5304 GB, free: 8.195 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.465, allocations: 2.174 MB / 0.5325 GB, free: 6.469 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.4651, allocations: 0.7117 MB / 0.5332 GB, free: 5.754 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.4652, allocations: 21.08 kB / 0.5332 GB, free: 5.746 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.824e-05/0.4653, allocations: 41.48 kB / 0.5332 GB, free: 5.734 MB / 362.7 MB Notification: Performance of SimCode: time 3.3e-07/0.4653, allocations: 3.781 kB / 0.5332 GB, free: 5.734 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.4791, allocations: 3.291 MB / 0.5364 GB, free: 4.219 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001605/0.4793, allocations: 150.2 kB / 0.5366 GB, free: 3.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.061, allocations: 4 kB / 0.5366 GB, free: 3.977 MB / 362.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)