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 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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.1007/0.1007, allocations: 21.62 MB / 36.57 MB, free: 1.07 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.00118/0.00118, allocations: 183.4 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.347/1.347, allocations: 223.2 MB / 272.1 MB, free: 1.406 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.0009274/0.0009273, allocations: 102.7 kB / 328.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003185, allocations: 8 kB / 397.1 MB, free: 46.42 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.102, allocations: 55.83 MB / 452.9 MB, free: 6.574 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4374, allocations: 84.32 MB / 0.5247 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.4376, allocations: 64.23 kB / 0.5247 GB, free: 13.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02286/0.4605, allocations: 8.853 MB / 0.5334 GB, free: 9.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.4606, allocations: 0 / 0.5334 GB, free: 9.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.4606, allocations: 11.56 kB / 0.5334 GB, free: 9.75 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001542/0.4621, allocations: 0.8257 MB / 0.5342 GB, free: 9.145 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4622, allocations: 11.62 kB / 0.5342 GB, free: 9.141 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.4623, allocations: 92.98 kB / 0.5343 GB, free: 9.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4624, allocations: 61.22 kB / 0.5343 GB, free: 9.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004954/0.4629, allocations: 381.8 kB / 0.5347 GB, free: 8.777 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.463, allocations: 114.3 kB / 0.5348 GB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-05/0.4631, allocations: 51.42 kB / 0.5349 GB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001471/0.4646, allocations: 0.7909 MB / 0.5356 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.4646, allocations: 0 / 0.5356 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.258e-05/0.4647, allocations: 21.47 kB / 0.5357 GB, free: 8.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.174e-05/0.4647, allocations: 15.47 kB / 0.5357 GB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.4661, allocations: 0.6599 MB / 0.5363 GB, free: 8.324 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/0.4709, allocations: 2.725 MB / 0.539 GB, free: 7.102 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009696/0.4719, allocations: 0.5714 MB / 0.5395 GB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.945e-05/0.472, allocations: 12.02 kB / 0.5396 GB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.472, allocations: 42.12 kB / 0.5396 GB, free: 6.945 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.472, allocations: 0 / 0.5396 GB, free: 6.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.005392/0.4774, allocations: 2.467 MB / 0.542 GB, free: 6.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.185e-05/0.4775, allocations: 55.69 kB / 0.5421 GB, free: 6.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.4778, allocations: 320.4 kB / 0.5424 GB, free: 6 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.4778, allocations: 32.58 kB / 0.5424 GB, free: 5.969 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/0.478, allocations: 227.5 kB / 0.5426 GB, free: 5.824 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.4781, allocations: 189.7 kB / 0.5428 GB, free: 5.688 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/0.4781, allocations: 10.75 kB / 0.5428 GB, free: 5.688 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.158e-05/0.4782, allocations: 347.8 kB / 0.5431 GB, free: 5.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/0.4789, allocations: 413.7 kB / 0.5435 GB, free: 5.277 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007277/0.4797, allocations: 462.2 kB / 0.544 GB, free: 5.141 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.0055/0.4852, allocations: 1.844 MB / 0.5458 GB, free: 4.648 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.4852, allocations: 0 / 0.5458 GB, free: 4.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00175/0.487, allocations: 0.9261 MB / 0.5467 GB, free: 4.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.4871, allocations: 0.6164 MB / 0.5473 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.4871, allocations: 3.875 kB / 0.5473 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4872, allocations: 3.844 kB / 0.5473 GB, free: 3.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005623/0.4928, allocations: 1.2 MB / 0.5485 GB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.4928, allocations: 7.984 kB / 0.5485 GB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006472/0.4935, allocations: 76.23 kB / 0.5485 GB, free: 3.266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.4935, allocations: 19.3 kB / 0.5486 GB, free: 3.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4936, allocations: 4 kB / 0.5486 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001586/0.4952, allocations: 0.8626 MB / 0.5494 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.4952, allocations: 7.938 kB / 0.5494 GB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.585e-06/0.4952, allocations: 4 kB / 0.5494 GB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0055/0.5007, allocations: 1.193 MB / 0.5506 GB, free: 1.434 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.5007, allocations: 4 kB / 0.5506 GB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006302/0.5014, allocations: 78.36 kB / 0.5507 GB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.758e-05/0.5014, allocations: 19.48 kB / 0.5507 GB, free: 1.344 MB / 362.7 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real 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 Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.tube.w = 0.0. 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 (68): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000475/0.5019, allocations: 280.1 kB / 0.5509 GB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/0.502, allocations: 55.38 kB / 0.551 GB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001765/0.5038, allocations: 0.9022 MB / 0.5519 GB, free: 408 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.5038, allocations: 8 kB / 0.5519 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.5038, allocations: 0 / 0.5519 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5038, allocations: 0 / 0.5519 GB, free: 400 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003493/0.5073, allocations: 1.886 MB / 0.5537 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.5073, allocations: 0 / 0.5537 GB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006127/0.5135, allocations: 1.19 MB / 0.5549 GB, free: 13.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.612e-05/0.5135, allocations: 4 kB / 0.5549 GB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.74e-05/0.5136, allocations: 23.09 kB / 0.5549 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.085e-06/0.5136, allocations: 4 kB / 0.5549 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5136, allocations: 0 / 0.5549 GB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002762/0.5164, allocations: 1.417 MB / 0.5563 GB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001773/0.5166, allocations: 124.4 kB / 0.5564 GB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.5167, allocations: 14.89 kB / 0.5564 GB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005878/0.5173, allocations: 78.84 kB / 0.5565 GB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001773/0.5174, allocations: 73.67 kB / 0.5566 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.774e-05/0.5175, allocations: 15.31 kB / 0.5566 GB, free: 12.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003043/0.5178, allocations: 254.7 kB / 0.5568 GB, free: 12.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5178, allocations: 4 kB / 0.5568 GB, free: 12.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007917/0.5186, allocations: 243.9 kB / 0.5571 GB, free: 11.89 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (53): * Single equations (assignments): 53 * 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.003197/0.5218, allocations: 2.178 MB / 0.5592 GB, free: 10.04 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002801/0.5246, allocations: 1.346 MB / 0.5605 GB, free: 9.062 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.708e-06/0.5247, allocations: 4 kB / 0.5605 GB, free: 9.059 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009069/0.5256, allocations: 456.8 kB / 0.561 GB, free: 8.734 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/0.5262, allocations: 91.59 kB / 0.561 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.532, allocations: 3.565 MB / 0.5645 GB, free: 5.211 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.5325, allocations: 0.8666 MB / 0.5654 GB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006566/0.5332, allocations: 132.3 kB / 0.5655 GB, free: 4.191 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.5335, allocations: 190.6 kB / 0.5657 GB, free: 4.125 MB / 378.7 MB Notification: Performance of SimCode: time 1.031e-06/0.5335, allocations: 3.938 kB / 0.5657 GB, free: 4.121 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.5606, allocations: 11.4 MB / 0.5768 GB, free: 8.898 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001932/0.5608, allocations: 145.8 kB / 0.577 GB, free: 8.664 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.142/2.702, allocations: 0 / 0.577 GB, free: 8.664 MB / 394.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)