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: 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.09619/0.09619, allocations: 21.61 MB / 36.56 MB, free: 1.055 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.001019/0.001019, allocations: 178.4 kB / 42.82 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.337/1.337, allocations: 223.2 MB / 272.1 MB, free: 1.77 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.0008653/0.0008653, allocations: 98.81 kB / 328.7 MB, free: 12.14 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000337/0.000337, allocations: 8 kB / 397 MB, free: 46.54 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07995/0.0803, allocations: 55.83 MB / 452.9 MB, free: 6.703 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2677/0.348, allocations: 84.32 MB / 0.5246 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001741/0.3482, allocations: 69.16 kB / 0.5247 GB, free: 13.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02101/0.3692, allocations: 8.861 MB / 0.5333 GB, free: 9.723 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3693, allocations: 0 / 0.5333 GB, free: 9.723 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.662e-05/0.3693, allocations: 11.38 kB / 0.5333 GB, free: 9.723 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.001369/0.3707, allocations: 0.8229 MB / 0.5341 GB, free: 9.125 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.3707, allocations: 11.69 kB / 0.5341 GB, free: 9.121 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.3708, allocations: 61.47 kB / 0.5342 GB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004476/0.3713, allocations: 374.5 kB / 0.5345 GB, free: 8.809 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.3714, allocations: 109.5 kB / 0.5347 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.727e-05/0.3715, allocations: 51.03 kB / 0.5347 GB, free: 8.742 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.3729, allocations: 0.7908 MB / 0.5355 GB, free: 8.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.664e-05/0.3729, allocations: 7.953 kB / 0.5355 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.038e-05/0.373, allocations: 22.72 kB / 0.5355 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.373, allocations: 11.25 kB / 0.5355 GB, free: 8.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.3742, allocations: 0.6548 MB / 0.5362 GB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004489/0.3787, allocations: 2.72 MB / 0.5388 GB, free: 7.145 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009287/0.3797, allocations: 0.5682 MB / 0.5394 GB, free: 7.039 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.354e-05/0.3797, allocations: 15.89 kB / 0.5394 GB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.3798, allocations: 46.62 kB / 0.5394 GB, free: 6.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 1.684e-06/0.3798, allocations: 3.938 kB / 0.5394 GB, free: 6.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.005009/0.3848, allocations: 2.469 MB / 0.5418 GB, free: 6.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.999e-05/0.3848, allocations: 63.41 kB / 0.5419 GB, free: 6.168 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002614/0.3851, allocations: 312.4 kB / 0.5422 GB, free: 6.035 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.3851, allocations: 33.45 kB / 0.5422 GB, free: 6.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.921e-05/0.3852, allocations: 232.5 kB / 0.5425 GB, free: 5.855 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.3853, allocations: 186.9 kB / 0.5426 GB, free: 5.723 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.508e-05/0.3854, allocations: 6.25 kB / 0.5426 GB, free: 5.723 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.025e-05/0.3855, allocations: 357.9 kB / 0.543 GB, free: 5.395 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007124/0.3862, allocations: 409.3 kB / 0.5434 GB, free: 5.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.3869, allocations: 453.7 kB / 0.5438 GB, free: 5.176 MB / 362.7 MB Notification: The given system is mixed-determined. [index = 1] Notification: Performance of analyzeInitialSystem (initialization): time 0.00522/0.3921, allocations: 1.843 MB / 0.5456 GB, free: 4.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.3922, allocations: 0 / 0.5456 GB, free: 4.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00162/0.3938, allocations: 0.9346 MB / 0.5465 GB, free: 4.477 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.3939, allocations: 0.6124 MB / 0.5471 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3939, allocations: 0 / 0.5471 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3939, allocations: 3.875 kB / 0.5471 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005239/0.3992, allocations: 1.205 MB / 0.5483 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.195e-05/0.3992, allocations: 4 kB / 0.5483 GB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005183/0.3997, allocations: 71.12 kB / 0.5484 GB, free: 3.355 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-05/0.3998, allocations: 26.23 kB / 0.5484 GB, free: 3.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.3998, allocations: 5.875 kB / 0.5484 GB, free: 3.332 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/0.4013, allocations: 0.8621 MB / 0.5492 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.765e-06/0.4013, allocations: 0 / 0.5492 GB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.4013, allocations: 4 kB / 0.5492 GB, free: 2.715 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005208/0.4066, allocations: 1.197 MB / 0.5504 GB, free: 1.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.4066, allocations: 4 kB / 0.5504 GB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004727/0.407, allocations: 73.94 kB / 0.5505 GB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.331e-05/0.4071, allocations: 23.48 kB / 0.5505 GB, free: 1.434 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.0003449/0.4074, allocations: 280 kB / 0.5508 GB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.4075, allocations: 47.44 kB / 0.5508 GB, free: 1.137 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001643/0.4092, allocations: 0.9085 MB / 0.5517 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.4092, allocations: 4 kB / 0.5517 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4092, allocations: 3.938 kB / 0.5517 GB, free: 484 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.4092, allocations: 3.984 kB / 0.5517 GB, free: 480 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003187/0.4124, allocations: 1.887 MB / 0.5536 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.4124, allocations: 0 / 0.5536 GB, free: 14.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005583/0.418, allocations: 1.186 MB / 0.5547 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/0.4181, allocations: 4 kB / 0.5547 GB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.217e-05/0.4181, allocations: 19.17 kB / 0.5547 GB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-06/0.4182, allocations: 7.938 kB / 0.5547 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.4182, allocations: 0 / 0.5547 GB, free: 13.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002583/0.4208, allocations: 1.417 MB / 0.5561 GB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.4209, allocations: 120.2 kB / 0.5562 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.141e-05/0.421, allocations: 14.89 kB / 0.5563 GB, free: 12.55 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.4215, allocations: 70.94 kB / 0.5563 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001635/0.4217, allocations: 87.83 kB / 0.5564 GB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.4218, allocations: 11.98 kB / 0.5564 GB, free: 12.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002585/0.422, allocations: 255.8 kB / 0.5567 GB, free: 12.2 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.422, allocations: 0 / 0.5567 GB, free: 12.2 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007211/0.4228, allocations: 251.2 kB / 0.5569 GB, free: 11.98 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.0001806/0.423, allocations: 117.9 kB / 0.557 GB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.4255, allocations: 1.344 MB / 0.5583 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.4255, allocations: 0 / 0.5583 GB, free: 10.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008507/0.4264, allocations: 462.8 kB / 0.5588 GB, free: 10.56 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.4268, allocations: 94.45 kB / 0.5589 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003977/0.4308, allocations: 2.238 MB / 0.561 GB, free: 8.367 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.4312, allocations: 0.8742 MB / 0.5619 GB, free: 7.469 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006182/0.4318, allocations: 132.3 kB / 0.562 GB, free: 7.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002357/0.4321, allocations: 50.16 kB / 0.5621 GB, free: 7.293 MB / 378.7 MB Notification: Performance of SimCode: time 5.21e-07/0.4321, allocations: 0 / 0.5621 GB, free: 7.293 MB / 378.7 MB Notification: Performance of Templates: time 0.01145/0.4436, allocations: 7.464 MB / 0.5694 GB, free: 15.91 MB / 394.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)