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.001747/0.001747, allocations: 77.47 kB / 19.76 MB, free: 2.027 MB / 14.72 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.002031/0.002031, allocations: 157.9 kB / 23.02 MB, free: 4.949 MB / 14.72 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.518/1.518, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.104/0.104, allocations: 17.8 MB / 277.6 MB, free: 15.32 MB / 270.1 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: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002055/0.002055, allocations: 75.88 kB / 414.7 MB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09231/0.09436, allocations: 59.56 MB / 474.2 MB, free: 8.785 MB / 446.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004119/0.09848, allocations: 2.951 MB / 477.2 MB, free: 5.816 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001557/0.1, allocations: 0.9003 MB / 478.1 MB, free: 4.906 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001337/0.1002, allocations: 7.938 kB / 478.1 MB, free: 4.898 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001857/0.1004, allocations: 63.36 kB / 478.1 MB, free: 4.836 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003308/0.1007, allocations: 178.7 kB / 478.3 MB, free: 4.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004875/0.1012, allocations: 195.6 kB / 478.5 MB, free: 4.469 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007563/0.1019, allocations: 0.7524 MB / 479.3 MB, free: 3.711 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004796/0.1024, allocations: 354.1 kB / 479.6 MB, free: 3.359 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003892/0.1028, allocations: 315.1 kB / 479.9 MB, free: 3.051 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.1033, allocations: 354.7 kB / 480.3 MB, free: 2.703 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001186/0.1034, allocations: 76 kB / 480.3 MB, free: 2.629 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.1036, allocations: 76 kB / 480.4 MB, free: 2.555 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002051/0.1038, allocations: 207.4 kB / 480.6 MB, free: 2.352 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003063/0.1041, allocations: 290.9 kB / 480.9 MB, free: 2.066 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007879/0.1049, allocations: 0.8017 MB / 481.7 MB, free: 1.262 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1049, allocations: 4 kB / 481.7 MB, free: 1.258 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1049, allocations: 0 / 481.7 MB, free: 1.258 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1049, allocations: 0 / 481.7 MB, free: 1.258 MB / 446.1 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.001877/0.1067, allocations: 0.8401 MB / 482.5 MB, free: 396 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.1068, allocations: 12.86 kB / 482.6 MB, free: 384 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/0.1069, allocations: 68.56 kB / 482.6 MB, free: 316 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1708/0.2777, allocations: 328 kB / 482.9 MB, free: 52.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001536/0.2779, allocations: 111.2 kB / 483.1 MB, free: 52.39 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.278, allocations: 48.44 kB / 483.1 MB, free: 52.39 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.2795, allocations: 0.7327 MB / 483.8 MB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.2795, allocations: 0 / 483.8 MB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.754e-05/0.2796, allocations: 22.84 kB / 483.9 MB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.2796, allocations: 16.19 kB / 483.9 MB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.2809, allocations: 0.5995 MB / 484.5 MB, free: 52.28 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004576/0.2855, allocations: 2.279 MB / 486.8 MB, free: 51.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.2865, allocations: 0.5236 MB / 487.3 MB, free: 51.23 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007686/0.2873, allocations: 394.6 kB / 487.7 MB, free: 51.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.086e-05/0.2873, allocations: 6.906 kB / 487.7 MB, free: 51.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.249e-05/0.2873, allocations: 36.06 kB / 487.7 MB, free: 51.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=46): time 1.964e-06/0.2873, allocations: 3.188 kB / 487.7 MB, free: 51.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=52): time 0.005471/0.2928, allocations: 2.174 MB / 489.9 MB, free: 50.21 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.2928, allocations: 66.06 kB / 489.9 MB, free: 50.14 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.293, allocations: 287.5 kB / 490.2 MB, free: 49.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.838e-05/0.2931, allocations: 32.92 kB / 490.3 MB, free: 49.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.268e-05/0.2932, allocations: 231.9 kB / 490.5 MB, free: 49.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.2933, allocations: 202.6 kB / 490.7 MB, free: 49.59 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001567/0.2934, allocations: 101.3 kB / 490.8 MB, free: 49.54 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.347e-05/0.2935, allocations: 345 kB / 491.1 MB, free: 49.21 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007742/0.2943, allocations: 372.6 kB / 491.5 MB, free: 49.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007772/0.295, allocations: 426.8 kB / 491.9 MB, free: 48.9 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006263/0.3013, allocations: 2.002 MB / 493.9 MB, free: 48.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.3013, allocations: 0 / 493.9 MB, free: 48.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001725/0.303, allocations: 0.8501 MB / 494.7 MB, free: 48.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.303, allocations: 9.797 kB / 494.8 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.303, allocations: 0 / 494.8 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.3031, allocations: 8.938 kB / 494.8 MB, free: 48.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005897/0.309, allocations: 0.9048 MB / 495.7 MB, free: 47.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.309, allocations: 7.188 kB / 495.7 MB, free: 47.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004985/0.3095, allocations: 54.08 kB / 495.7 MB, free: 47.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.893e-05/0.3095, allocations: 28 kB / 495.8 MB, free: 47.96 MB / 446.1 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.0002629/0.3098, allocations: 201.5 kB / 496 MB, free: 47.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.94e-05/0.3099, allocations: 39.67 kB / 496 MB, free: 47.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001725/0.3116, allocations: 0.8197 MB / 496.8 MB, free: 47.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3116, allocations: 10.28 kB / 496.8 MB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.3116, allocations: 5.812 kB / 496.8 MB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.3116, allocations: 3.328 kB / 496.8 MB, free: 47.45 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002983/0.3146, allocations: 1.588 MB / 498.4 MB, free: 46.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.3146, allocations: 3.938 kB / 498.4 MB, free: 46.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005929/0.3205, allocations: 0.8921 MB / 499.3 MB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-06/0.3205, allocations: 3.156 kB / 499.3 MB, free: 46.64 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.185e-05/0.3206, allocations: 17.83 kB / 499.3 MB, free: 46.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.3206, allocations: 5.406 kB / 499.3 MB, free: 46.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3206, allocations: 0 / 499.3 MB, free: 46.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002408/0.323, allocations: 1.272 MB / 0.4889 GB, free: 46.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.323, allocations: 43.42 kB / 0.4889 GB, free: 46.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.3231, allocations: 14.31 kB / 0.4889 GB, free: 46.03 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005476/0.3237, allocations: 45.92 kB / 0.489 GB, free: 46.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/0.3238, allocations: 82.36 kB / 0.4891 GB, free: 46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.534e-05/0.3239, allocations: 23.59 kB / 0.4891 GB, free: 46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001433/0.324, allocations: 200.4 kB / 0.4893 GB, free: 45.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.324, allocations: 0 / 0.4893 GB, free: 45.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004606/0.3245, allocations: 144.3 kB / 0.4894 GB, free: 45.87 MB / 446.1 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.0001001/0.3246, allocations: 121.6 kB / 0.4895 GB, free: 45.76 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.3262, allocations: 0.748 MB / 0.4903 GB, free: 45.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3262, allocations: 0 / 0.4903 GB, free: 45.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008099/0.327, allocations: 409.6 kB / 0.4906 GB, free: 45.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004718/0.3275, allocations: 81.16 kB / 0.4907 GB, free: 45.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003575/0.331, allocations: 1.866 MB / 0.4925 GB, free: 44.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001705/0.3312, allocations: 260 kB / 0.4928 GB, free: 44.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.3315, allocations: 85.11 kB / 0.4929 GB, free: 44.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.3318, allocations: 48.66 kB / 0.4929 GB, free: 44.28 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3318, allocations: 0 / 0.4929 GB, free: 44.28 MB / 446.1 MB Notification: Performance of Templates: time 0.01109/0.3429, allocations: 7.828 MB / 0.5006 GB, free: 43.47 MB / 446.1 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=480 -s ida -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 145.65452778502367] Failed to read output from testmodel.py, exit status != 0: 0.3509097299538553 0.361783881 0.25448195500000004 Calling exit ...