Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_header_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.001418/0.001418, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001489/0.001489, allocations: 173 kB / 23.82 MB, free: 0.75 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 0.9091/0.9091, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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.06713/0.06713, allocations: 18.13 MB / 278.9 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_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") translateModel(AES.Devel_test_models.Test_header_002,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_header_002") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.796e-06/2.796e-06, allocations: 4 kB / 357.3 MB, free: 7.812 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.525e-05/3.804e-05, allocations: 2.312 kB / 357.3 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002495/0.002533, allocations: 2.002 MB / 359.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003173/0.00285, allocations: 143.4 kB / 359.5 MB, free: 5.656 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.031e-05/0.002931, allocations: 4 kB / 359.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.391e-05/0.002994, allocations: 19.78 kB / 359.5 MB, free: 5.633 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.003129, allocations: 67.48 kB / 359.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001451/0.003274, allocations: 27.91 kB / 359.6 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.003428, allocations: 182.9 kB / 359.7 MB, free: 5.359 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003636/0.003791, allocations: 73.64 kB / 359.8 MB, free: 5.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.003896, allocations: 63.83 kB / 359.9 MB, free: 5.223 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001718/0.004068, allocations: 43.91 kB / 359.9 MB, free: 5.18 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.004095, allocations: 12 kB / 359.9 MB, free: 5.168 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.819e-05/0.004113, allocations: 11.94 kB / 359.9 MB, free: 5.156 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.751e-05/0.004141, allocations: 31.91 kB / 360 MB, free: 5.125 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.923e-05/0.00419, allocations: 51.86 kB / 360 MB, free: 5.074 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.004339, allocations: 99.64 kB / 360.1 MB, free: 4.977 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.004344, allocations: 4 kB / 360.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.004345, allocations: 0 / 360.1 MB, free: 4.973 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.004351, allocations: 4 kB / 360.1 MB, free: 4.969 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004517/0.004802, allocations: 463.9 kB / 360.6 MB, free: 4.477 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.004847, allocations: 8.922 kB / 360.6 MB, free: 4.469 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.505e-05/0.004902, allocations: 36.73 kB / 360.6 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.005094, allocations: 157.1 kB / 360.8 MB, free: 4.25 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/0.005112, allocations: 16.23 kB / 360.8 MB, free: 4.234 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.435e-05/0.005136, allocations: 12.38 kB / 360.8 MB, free: 4.223 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001829/0.005319, allocations: 129 kB / 360.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.005327, allocations: 192 / 360.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.005339, allocations: 384 / 360.9 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.005347, allocations: 4.375 kB / 360.9 MB, free: 4.078 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.005429, allocations: 43.86 kB / 361 MB, free: 4.035 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000606/0.006035, allocations: 0.5444 MB / 361.5 MB, free: 3.445 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.006153, allocations: 43.05 kB / 361.6 MB, free: 3.391 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.889e-05/0.006182, allocations: 15.69 kB / 361.6 MB, free: 3.371 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.598e-05/0.006198, allocations: 4 kB / 361.6 MB, free: 3.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.006219, allocations: 37.38 kB / 361.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.994e-06/0.006221, allocations: 0 / 361.6 MB, free: 3.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001702/0.006391, allocations: 73.55 kB / 361.7 MB, free: 3.242 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.006423, allocations: 51.41 kB / 361.8 MB, free: 3.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.006541, allocations: 227.4 kB / 362 MB, free: 2.941 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006553, allocations: 25.7 kB / 362 MB, free: 2.91 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.817e-05/0.006631, allocations: 178.6 kB / 362.2 MB, free: 2.73 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.006649, allocations: 11.91 kB / 362.2 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.006682, allocations: 27.36 kB / 362.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.006806, allocations: 0.4923 MB / 362.7 MB, free: 2.18 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.642e-05/0.006833, allocations: 8 kB / 362.7 MB, free: 2.172 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.481e-05/0.006867, allocations: 27.36 kB / 362.7 MB, free: 2.137 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.108e-05/0.006948, allocations: 47.31 kB / 362.8 MB, free: 2.082 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.006951, allocations: 4 kB / 362.8 MB, free: 2.078 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.436e-05/0.007045, allocations: 81.59 kB / 362.9 MB, free: 1.992 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.007059, allocations: 4 kB / 362.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007064, allocations: 0 / 362.9 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.007078, allocations: 3.938 kB / 362.9 MB, free: 1.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.007134, allocations: 15.98 kB / 362.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-06/0.007141, allocations: 0 / 362.9 MB, free: 1.969 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.007174, allocations: 8 kB / 362.9 MB, free: 1.961 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.00718, allocations: 0 / 362.9 MB, free: 1.961 MB / 282.7 MB Warning: Assuming fixed start value for the following 1 variables: header.T:VARIABLE(min = 0.0 start = header.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"fluid T\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (7): * Single equations (assignments): 7 * 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.0001177/0.007298, allocations: 168.5 kB / 363.1 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.007318, allocations: 19.91 kB / 363.1 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.007339, allocations: 9.031 kB / 363.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.007342, allocations: 7.938 kB / 363.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.007346, allocations: 0 / 363.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.007348, allocations: 0 / 363.1 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.007462, allocations: 152.6 kB / 363.2 MB, free: 1.57 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.007463, allocations: 3.938 kB / 363.3 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003126/0.007776, allocations: 15.92 kB / 363.3 MB, free: 1.551 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007777, allocations: 4 kB / 363.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.771e-05/0.007795, allocations: 0 / 363.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.007797, allocations: 0 / 363.3 MB, free: 1.547 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.007799, allocations: 3.938 kB / 363.3 MB, free: 1.543 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/0.007957, allocations: 211.9 kB / 363.5 MB, free: 1.316 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.498e-05/0.007972, allocations: 11.91 kB / 363.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.007987, allocations: 0 / 363.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.877e-05/0.008026, allocations: 0 / 363.5 MB, free: 1.305 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.008044, allocations: 7.922 kB / 363.5 MB, free: 1.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-06/0.008048, allocations: 4 kB / 363.5 MB, free: 1.293 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.622e-05/0.008114, allocations: 160.2 kB / 363.7 MB, free: 1.137 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008114, allocations: 4.031 kB / 363.7 MB, free: 1.133 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001454/0.008259, allocations: 28 kB / 363.7 MB, free: 1.105 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (header.T) * 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 (3): * Single equations (assignments): 3 * 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 7.375e-05/0.008333, allocations: 95.19 kB / 363.8 MB, free: 1.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.289e-05/0.008426, allocations: 31.67 kB / 363.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008427, allocations: 0 / 363.8 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/0.008445, allocations: 19.67 kB / 363.8 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.008652, allocations: 28.23 kB / 363.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.00941, allocations: 335 kB / 364.2 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.561e-05/0.009446, allocations: 63.34 kB / 364.3 MB, free: 488 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.558e-05/0.009481, allocations: 12.97 kB / 364.3 MB, free: 472 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.009513, allocations: 16.5 kB / 364.3 MB, free: 456 kB / 282.7 MB Notification: Performance of SimCode: time 9.52e-07/0.009514, allocations: 0 / 364.3 MB, free: 456 kB / 282.7 MB Notification: Performance of Templates: time 0.003163/0.01268, allocations: 1.44 MB / 365.7 MB, free: 15.04 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f AES_AES.Devel_test_models.Test_header_002.makefile [Timeout 660] (rm -f AES_AES.Devel_test_models.Test_header_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_header_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_header_002.pipe >> ../files/AES_AES.Devel_test_models.Test_header_002.sim & ./AES_AES.Devel_test_models.Test_header_002 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=240 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.782011551782489]