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.001212/0.001212, allocations: 87.56 kB / 20.97 MB, free: 3.582 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.001463/0.001463, allocations: 177 kB / 24.28 MB, free: 280 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 0.9733/0.9733, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.09121/0.09121, allocations: 18.14 MB / 279.2 MB, free: 11.39 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.473e-06/1.473e-06, allocations: 0 / 357.3 MB, free: 8.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.762e-05/2.91e-05, allocations: 5.547 kB / 357.3 MB, free: 8.164 MB / 282.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_header_002): time 0.002462/0.002491, allocations: 1.992 MB / 359.3 MB, free: 6.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004326/0.002924, allocations: 143.4 kB / 359.4 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.003028, allocations: 4 kB / 359.4 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 5.595e-05/0.003084, allocations: 19.8 kB / 359.4 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001467/0.003231, allocations: 67.47 kB / 359.5 MB, free: 5.93 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001546/0.003385, allocations: 31.89 kB / 359.5 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.003554, allocations: 179 kB / 359.7 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.003745, allocations: 73.62 kB / 359.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001053/0.003851, allocations: 59.84 kB / 359.8 MB, free: 5.59 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.252e-05/0.003943, allocations: 51.83 kB / 359.9 MB, free: 5.539 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.53e-05/0.003968, allocations: 11.98 kB / 359.9 MB, free: 5.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.582e-05/0.003984, allocations: 12 kB / 359.9 MB, free: 5.516 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.471e-05/0.004009, allocations: 23.92 kB / 359.9 MB, free: 5.492 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.211e-05/0.004061, allocations: 59.84 kB / 360 MB, free: 5.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001391/0.0042, allocations: 95.67 kB / 360.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.894e-06/0.004202, allocations: 0 / 360.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.004203, allocations: 0 / 360.1 MB, free: 5.34 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.004207, allocations: 0 / 360.1 MB, free: 5.34 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.0004589/0.004665, allocations: 479.8 kB / 360.5 MB, free: 4.832 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.004702, allocations: 8.922 kB / 360.6 MB, free: 4.824 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.861e-05/0.00475, allocations: 24.8 kB / 360.6 MB, free: 4.801 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.005136, allocations: 165.1 kB / 360.7 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.005153, allocations: 8.234 kB / 360.7 MB, free: 4.602 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.698e-05/0.00518, allocations: 20.31 kB / 360.8 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005368, allocations: 128.2 kB / 360.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.005375, allocations: 192 / 360.9 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.005387, allocations: 4.375 kB / 360.9 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.005396, allocations: 4.375 kB / 360.9 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.005472, allocations: 39.91 kB / 360.9 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.006066, allocations: 0.5444 MB / 361.5 MB, free: 3.805 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.006175, allocations: 43.16 kB / 361.5 MB, free: 3.75 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.006204, allocations: 15.67 kB / 361.5 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.006217, allocations: 4 kB / 361.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.776e-05/0.006234, allocations: 33.39 kB / 361.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.242e-06/0.006236, allocations: 0 / 361.6 MB, free: 3.684 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001581/0.006394, allocations: 69.47 kB / 361.6 MB, free: 3.609 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/0.006421, allocations: 51.41 kB / 361.7 MB, free: 3.547 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001164/0.006538, allocations: 223.4 kB / 361.9 MB, free: 3.312 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.006549, allocations: 33.7 kB / 361.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.938e-05/0.006618, allocations: 178.6 kB / 362.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.144e-05/0.00663, allocations: 7.906 kB / 362.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.006663, allocations: 31.36 kB / 362.2 MB, free: 3.047 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.00677, allocations: 0.4923 MB / 362.7 MB, free: 2.543 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.037e-05/0.00679, allocations: 7.984 kB / 362.7 MB, free: 2.535 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.593e-05/0.006816, allocations: 27.38 kB / 362.7 MB, free: 2.5 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.088e-05/0.006887, allocations: 51.3 kB / 362.7 MB, free: 2.441 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.00689, allocations: 4.062 kB / 362.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.633e-05/0.006986, allocations: 81.53 kB / 362.8 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.006999, allocations: 4 kB / 362.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.007003, allocations: 0 / 362.8 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.007015, allocations: 3.938 kB / 362.8 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.129e-05/0.007076, allocations: 15.98 kB / 362.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.007081, allocations: 0 / 362.8 MB, free: 2.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.362e-05/0.007114, allocations: 4 kB / 362.8 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.08e-06/0.00712, allocations: 0 / 362.8 MB, free: 2.324 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.0001194/0.007239, allocations: 168.5 kB / 363 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.007262, allocations: 16.09 kB / 363 MB, free: 2.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.007288, allocations: 20.94 kB / 363 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007291, allocations: 7.938 kB / 363.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.007295, allocations: 0 / 363.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.007299, allocations: 0 / 363.1 MB, free: 2.109 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.00743, allocations: 148.6 kB / 363.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.007432, allocations: 0 / 363.2 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.007485, allocations: 19.92 kB / 363.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.007487, allocations: 0 / 363.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.007499, allocations: 0 / 363.2 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.007501, allocations: 4 kB / 363.2 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.007503, allocations: 3.938 kB / 363.2 MB, free: 1.902 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000153/0.007656, allocations: 207.9 kB / 363.4 MB, free: 1.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.388e-05/0.00767, allocations: 11.91 kB / 363.4 MB, free: 1.668 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.007684, allocations: 4 kB / 363.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.061e-05/0.007725, allocations: 0 / 363.4 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.554e-05/0.007741, allocations: 3.938 kB / 363.4 MB, free: 1.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.007744, allocations: 4 kB / 363.5 MB, free: 1.656 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.433e-05/0.007809, allocations: 164.1 kB / 363.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.007809, allocations: 0 / 363.6 MB, free: 1.496 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001572/0.007966, allocations: 28.03 kB / 363.6 MB, free: 1.469 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.926e-05/0.008045, allocations: 95.19 kB / 363.7 MB, free: 1.367 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 9.32e-05/0.008138, allocations: 31.67 kB / 363.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.008144, allocations: 0 / 363.8 MB, free: 1.332 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.736e-05/0.008161, allocations: 15.67 kB / 363.8 MB, free: 1.312 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002207/0.008382, allocations: 40.17 kB / 363.8 MB, free: 1.273 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007391/0.009121, allocations: 326.8 kB / 364.1 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.278e-05/0.009164, allocations: 67.33 kB / 364.2 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.179e-05/0.009206, allocations: 8.984 kB / 364.2 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.784e-05/0.009234, allocations: 12.5 kB / 364.2 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of SimCode: time 6.71e-07/0.009234, allocations: 4 kB / 364.2 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of Templates: time 0.002876/0.01211, allocations: 1.363 MB / 365.6 MB, free: 15.48 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.8978861270006746]