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.0009154/0.0009154, allocations: 72.83 kB / 20.74 MB, free: 3.754 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.0009243/0.0009243, allocations: 173 kB / 24.17 MB, free: 332 kB / 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.004/1.004, allocations: 177.2 MB / 204.6 MB, free: 5.047 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.06554/0.06554, allocations: 18.14 MB / 279.2 MB, free: 11.02 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 1.273e-06/1.273e-06, allocations: 0 / 304.6 MB, free: 220 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.335e-05, allocations: 4.531 kB / 304.6 MB, free: 216 kB / 266.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002238/0.002252, allocations: 2.039 MB / 306.6 MB, free: 14.85 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.002604, allocations: 154.8 kB / 306.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.569e-05/0.00268, allocations: 2.625 kB / 306.8 MB, free: 14.74 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.657e-05/0.002726, allocations: 19.73 kB / 306.8 MB, free: 14.73 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.002848, allocations: 58.89 kB / 306.9 MB, free: 14.68 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.002961, allocations: 34.44 kB / 306.9 MB, free: 14.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.003103, allocations: 177.3 kB / 307.1 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001555/0.003259, allocations: 77.83 kB / 307.1 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.003363, allocations: 60.94 kB / 307.2 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.38e-05/0.003457, allocations: 53.58 kB / 307.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.003479, allocations: 11.25 kB / 307.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.845e-05/0.003498, allocations: 10.41 kB / 307.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.474e-05/0.003522, allocations: 28.03 kB / 307.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.161e-05/0.003564, allocations: 53.84 kB / 307.4 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.003688, allocations: 101.5 kB / 307.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.00369, allocations: 0.6562 kB / 307.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of FrontEnd: time 6.42e-07/0.003691, allocations: 0 / 307.5 MB, free: 14.4 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.566e-06/0.003694, allocations: 0 / 307.5 MB, free: 14.4 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.0003289/0.004023, allocations: 358.1 kB / 307.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.738e-05/0.004051, allocations: 15.14 kB / 307.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.048e-05/0.004091, allocations: 18.61 kB / 307.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.004233, allocations: 148.1 kB / 308 MB, free: 13.93 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.004244, allocations: 7.469 kB / 308 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.00426, allocations: 6.344 kB / 308 MB, free: 13.92 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.004386, allocations: 114.2 kB / 308.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.483e-06/0.004393, allocations: 192 / 308.1 MB, free: 13.82 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.004401, allocations: 8.375 kB / 308.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.004406, allocations: 1.219 kB / 308.1 MB, free: 13.81 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.207e-05/0.004458, allocations: 32.34 kB / 308.1 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003918/0.00485, allocations: 378.2 kB / 308.5 MB, free: 13.41 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.254e-05/0.004922, allocations: 34.06 kB / 308.5 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.004938, allocations: 9.516 kB / 308.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.247e-06/0.004948, allocations: 0.6094 kB / 308.6 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.606e-05/0.004964, allocations: 30.56 kB / 308.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.004966, allocations: 4 kB / 308.6 MB, free: 13.32 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001191/0.005085, allocations: 51.83 kB / 308.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.348e-05/0.005109, allocations: 52.25 kB / 308.7 MB, free: 13.21 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.005192, allocations: 169 kB / 308.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.405e-06/0.005201, allocations: 25.7 kB / 308.9 MB, free: 13.01 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.41e-05/0.005245, allocations: 126.4 kB / 309 MB, free: 12.89 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.057e-05/0.005255, allocations: 14.89 kB / 309 MB, free: 12.88 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.005285, allocations: 17.67 kB / 309 MB, free: 12.86 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.005358, allocations: 331.2 kB / 309.4 MB, free: 12.53 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.043e-05/0.005368, allocations: 4 kB / 309.4 MB, free: 12.52 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.812e-05/0.005386, allocations: 27.8 kB / 309.4 MB, free: 12.49 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.817e-05/0.005434, allocations: 35.98 kB / 309.4 MB, free: 12.46 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.005437, allocations: 7.938 kB / 309.4 MB, free: 12.45 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 5.981e-05/0.005497, allocations: 64.7 kB / 309.5 MB, free: 12.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.005507, allocations: 4 kB / 309.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.005511, allocations: 0 / 309.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.005521, allocations: 4 kB / 309.5 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.637e-05/0.005607, allocations: 15.28 kB / 309.5 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.005611, allocations: 7.969 kB / 309.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.00564, allocations: 3.938 kB / 309.5 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.005645, allocations: 6.719 kB / 309.5 MB, free: 12.35 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 7.94e-05/0.005725, allocations: 110.8 kB / 309.6 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.794e-05/0.005743, allocations: 10.62 kB / 309.7 MB, free: 12.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.888e-05/0.005761, allocations: 15.19 kB / 309.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.005763, allocations: 0 / 309.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.005764, allocations: 0 / 309.7 MB, free: 12.22 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.005767, allocations: 3.938 kB / 309.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.642e-05/0.005864, allocations: 97.23 kB / 309.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.005865, allocations: 4.75 kB / 309.8 MB, free: 12.11 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.193e-05/0.005917, allocations: 11.33 kB / 309.8 MB, free: 12.1 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.005918, allocations: 4.5 kB / 309.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.005926, allocations: 0.75 kB / 309.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.005927, allocations: 4.062 kB / 309.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.005928, allocations: 0 / 309.8 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.006043, allocations: 151.4 kB / 309.9 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.335e-05/0.006056, allocations: 12.52 kB / 310 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.133e-05/0.006068, allocations: 4.641 kB / 310 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.946e-05/0.006107, allocations: 0.5156 kB / 310 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.038e-05/0.006118, allocations: 1.219 kB / 310 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.006121, allocations: 0.5625 kB / 310 MB, free: 11.92 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.51e-05/0.006156, allocations: 49.2 kB / 310 MB, free: 11.88 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006156, allocations: 0 / 310 MB, free: 11.88 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001384/0.006294, allocations: 20 kB / 310 MB, free: 11.86 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 5.703e-05/0.006351, allocations: 77.02 kB / 310.1 MB, free: 11.77 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 5.985e-05/0.006411, allocations: 28.08 kB / 310.1 MB, free: 11.75 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.006414, allocations: 4.062 kB / 310.1 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.291e-05/0.006427, allocations: 14.36 kB / 310.2 MB, free: 11.73 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.006574, allocations: 38.06 kB / 310.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005738/0.007148, allocations: 337.1 kB / 310.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.449e-05/0.007182, allocations: 65.36 kB / 310.6 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.775e-05/0.00722, allocations: 7.234 kB / 310.6 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.173e-05/0.007292, allocations: 73.42 kB / 310.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of SimCode: time 4.21e-07/0.007292, allocations: 4 kB / 310.7 MB, free: 11.2 MB / 282.7 MB Notification: Performance of Templates: time 0.002704/0.009996, allocations: 1.461 MB / 312.1 MB, free: 9.875 MB / 282.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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > AES_AES.Devel_test_models.Test_header_002.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.5430581220425665]