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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 84.98 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 161.3 kB / 23.55 MB, free: 0.8789 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1202/0.1202, allocations: 18.14 MB / 278.5 MB, free: 11.34 MB / 266.7 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") translateModel(AES.Devel_test_models.Test_stank_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 356.5 MB, free: 8.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.704e-05/2.853e-05, allocations: 6.312 kB / 356.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.005188/0.005216, allocations: 3.161 MB / 359.7 MB, free: 5 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002/0.007217, allocations: 0.9233 MB / 360.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.007401, allocations: 4 kB / 360.6 MB, free: 4.066 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002248/0.007626, allocations: 75.28 kB / 360.7 MB, free: 3.992 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004077/0.008033, allocations: 170.6 kB / 360.9 MB, free: 3.824 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005854/0.008619, allocations: 207.4 kB / 361.1 MB, free: 3.621 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009208/0.00954, allocations: 0.7716 MB / 361.8 MB, free: 2.848 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005929/0.01013, allocations: 362.3 kB / 362.2 MB, free: 2.492 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004758/0.01061, allocations: 307.3 kB / 362.5 MB, free: 2.191 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.01139, allocations: 319.2 kB / 362.8 MB, free: 1.879 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.01152, allocations: 76 kB / 362.9 MB, free: 1.805 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001539/0.01168, allocations: 80 kB / 363 MB, free: 1.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002532/0.01193, allocations: 219.4 kB / 363.2 MB, free: 1.512 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003286/0.01226, allocations: 251.4 kB / 363.4 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001079/0.01334, allocations: 0.8491 MB / 364.3 MB, free: 424 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.01334, allocations: 3.938 kB / 364.3 MB, free: 420 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.01334, allocations: 0 / 364.3 MB, free: 420 kB / 282.7 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.01335, allocations: 4 kB / 364.3 MB, free: 416 kB / 282.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.002096/0.01545, allocations: 0.9593 MB / 365.2 MB, free: 15.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.01549, allocations: 8.922 kB / 365.2 MB, free: 15.4 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.01572, allocations: 112.6 kB / 365.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006773/0.0164, allocations: 332.2 kB / 365.7 MB, free: 14.94 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.01655, allocations: 109 kB / 365.8 MB, free: 14.82 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.01667, allocations: 52.33 kB / 365.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.0181, allocations: 0.6271 MB / 366.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.89e-05/0.01812, allocations: 192 / 366.5 MB, free: 14.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.659e-05/0.01818, allocations: 20.12 kB / 366.5 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.38e-05/0.0182, allocations: 16 kB / 366.5 MB, free: 14.09 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001273/0.01947, allocations: 491.6 kB / 367 MB, free: 13.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005556/0.02502, allocations: 2.265 MB / 369.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.02613, allocations: 454.9 kB / 369.7 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007899/0.02692, allocations: 304.3 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.02697, allocations: 8.375 kB / 370 MB, free: 10.54 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.258e-05/0.02704, allocations: 45.14 kB / 370 MB, free: 10.48 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 2.254e-06/0.02704, allocations: 0 / 370 MB, free: 10.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=52): time 0.005595/0.03263, allocations: 1.823 MB / 371.9 MB, free: 8.625 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.03269, allocations: 59.91 kB / 371.9 MB, free: 8.551 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004287/0.03312, allocations: 370.3 kB / 372.3 MB, free: 8.168 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.7e-05/0.03318, allocations: 33.7 kB / 372.3 MB, free: 8.129 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/0.03341, allocations: 292.5 kB / 372.6 MB, free: 7.84 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000231/0.03364, allocations: 214.2 kB / 372.8 MB, free: 7.629 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002385/0.03388, allocations: 116 kB / 372.9 MB, free: 7.508 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0004535/0.03433, allocations: 0.5391 MB / 373.5 MB, free: 6.957 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007859/0.03512, allocations: 314.1 kB / 373.8 MB, free: 6.648 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008446/0.03596, allocations: 388.4 kB / 374.2 MB, free: 6.238 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002231/0.03819, allocations: 0.8609 MB / 375 MB, free: 5.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.03819, allocations: 0 / 375 MB, free: 5.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001824/0.04002, allocations: 0.7315 MB / 375.7 MB, free: 4.609 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.04004, allocations: 7.938 kB / 375.8 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.04005, allocations: 4 kB / 375.8 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.04007, allocations: 4 kB / 375.8 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005153/0.04522, allocations: 0.6283 MB / 376.4 MB, free: 3.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.04523, allocations: 4 kB / 376.4 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.04571, allocations: 39.95 kB / 376.4 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.794e-05/0.04577, allocations: 19.98 kB / 376.5 MB, free: 3.902 MB / 298.7 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"cold height\" type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004075/0.04618, allocations: 237 kB / 376.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.04656, allocations: 59.69 kB / 376.7 MB, free: 3.602 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001877/0.04844, allocations: 0.7005 MB / 377.4 MB, free: 2.891 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.04845, allocations: 8 kB / 377.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.04845, allocations: 0 / 377.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.616e-05/0.04847, allocations: 3.984 kB / 377.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003577/0.05204, allocations: 1.552 MB / 379 MB, free: 1.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.05205, allocations: 4 kB / 379 MB, free: 1.266 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005344/0.05739, allocations: 0.6126 MB / 379.6 MB, free: 0.6484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.0574, allocations: 4 kB / 379.6 MB, free: 0.6445 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.1e-05/0.05748, allocations: 15.98 kB / 379.6 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.05749, allocations: 4 kB / 379.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.05749, allocations: 0 / 379.6 MB, free: 0.625 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002672/0.06016, allocations: 1.163 MB / 380.8 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.491e-05/0.06025, allocations: 35.75 kB / 380.8 MB, free: 15.39 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.794e-05/0.06033, allocations: 12 kB / 380.9 MB, free: 15.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004574/0.06079, allocations: 39.97 kB / 380.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002199/0.06101, allocations: 80.34 kB / 381 MB, free: 15.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.956e-05/0.06106, allocations: 12 kB / 381 MB, free: 15.25 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000274/0.06133, allocations: 259 kB / 381.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.06133, allocations: 0 / 381.2 MB, free: 14.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005471/0.06188, allocations: 147.9 kB / 381.4 MB, free: 14.85 MB / 314.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001679/0.06205, allocations: 107.2 kB / 381.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00172/0.06377, allocations: 0.6592 MB / 382.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.06377, allocations: 0 / 382.1 MB, free: 14.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.06462, allocations: 352 kB / 382.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005561/0.06518, allocations: 108.9 kB / 382.6 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004229/0.06941, allocations: 1.578 MB / 384.2 MB, free: 12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002849/0.06969, allocations: 250.2 kB / 384.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003788/0.07007, allocations: 79.25 kB / 384.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002773/0.07035, allocations: 48.48 kB / 384.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of SimCode: time 8.72e-07/0.07035, allocations: 0 / 384.5 MB, free: 11.61 MB / 314.7 MB Notification: Performance of Templates: time 0.01605/0.0864, allocations: 7.808 MB / 392.3 MB, free: 3.891 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_stank_002.makefile [Timeout 660] (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=240 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.04715961497277]