Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") translateModel(AES.Devel_test_models.Test_stank_001,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="AES_AES.Devel_test_models.Test_stank_001") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 198.8 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1841/0.1841, allocations: 22.36 MB / 313 MB, free: 12.76 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001913, allocations: 59.91 kB / 380.8 MB, free: 11.12 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2247, allocations: 54.94 MB / 435.7 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.00251/0.2273, allocations: 1.968 MB / 437.7 MB, free: 38.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003923/0.2277, allocations: 191.9 kB / 437.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.97e-05/0.2278, allocations: 2.906 kB / 437.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.901e-05/0.2278, allocations: 9.5 kB / 437.9 MB, free: 38.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001261/0.228, allocations: 43.75 kB / 437.9 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001583/0.2281, allocations: 55.91 kB / 438 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.2283, allocations: 225.7 kB / 438.2 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.2285, allocations: 97.14 kB / 438.3 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.374e-05/0.2286, allocations: 79.75 kB / 438.4 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.2287, allocations: 111.2 kB / 438.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.923e-05/0.2288, allocations: 13.53 kB / 438.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.593e-05/0.2288, allocations: 15.66 kB / 438.5 MB, free: 37.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.375e-05/0.2289, allocations: 35.78 kB / 438.5 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.3e-05/0.2289, allocations: 85.11 kB / 438.6 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.2291, allocations: 156.7 kB / 438.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2291, allocations: 2.375 kB / 438.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.91e-07/0.2291, allocations: 0 / 438.8 MB, free: 37.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2291, allocations: 0 / 438.8 MB, free: 37.71 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006979/0.2298, allocations: 478.1 kB / 439.2 MB, free: 37.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2298, allocations: 12.88 kB / 439.3 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.2299, allocations: 19.22 kB / 439.3 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.23, allocations: 211.4 kB / 439.5 MB, free: 37.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.052e-05/0.2301, allocations: 49.83 kB / 439.5 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.2302, allocations: 13.38 kB / 439.5 MB, free: 37.01 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007339/0.2309, allocations: 302.4 kB / 439.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.2309, allocations: 0 / 439.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.2309, allocations: 4 kB / 439.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.231, allocations: 2.562 kB / 439.8 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006695/0.2316, allocations: 231.8 kB / 440.1 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001678/0.2333, allocations: 0.9588 MB / 441 MB, free: 36.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002555/0.2336, allocations: 258.3 kB / 441.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.812e-05/0.2337, allocations: 38.14 kB / 441.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.015e-05/0.2337, allocations: 3.031 kB / 441.3 MB, free: 35.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.179e-05/0.2337, allocations: 46.44 kB / 441.4 MB, free: 35.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.2337, allocations: 0 / 441.4 MB, free: 35.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001499/0.2352, allocations: 0.6328 MB / 442 MB, free: 35.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.2352, allocations: 58.34 kB / 442.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001202/0.2354, allocations: 184.4 kB / 442.2 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.2354, allocations: 28.33 kB / 442.3 MB, free: 35.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.49e-05/0.2354, allocations: 124.4 kB / 442.4 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.2355, allocations: 52.81 kB / 442.4 MB, free: 35.1 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.774e-05/0.2355, allocations: 36.53 kB / 442.5 MB, free: 35.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.447e-05/0.2356, allocations: 334.8 kB / 442.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.427e-05/0.2356, allocations: 43.27 kB / 442.8 MB, free: 34.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.833e-05/0.2357, allocations: 94.11 kB / 442.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007497/0.2365, allocations: 307.4 kB / 443.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.2365, allocations: 0 / 443.2 MB, free: 34.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002314/0.2367, allocations: 192.4 kB / 443.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2367, allocations: 5.906 kB / 443.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.2367, allocations: 2.906 kB / 443.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.2368, allocations: 14.25 kB / 443.4 MB, free: 34.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.237, allocations: 55.47 kB / 443.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.237, allocations: 2.906 kB / 443.5 MB, free: 34.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.997e-05/0.2371, allocations: 14.67 kB / 443.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2371, allocations: 5.75 kB / 443.5 MB, free: 34.37 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (24): * Single equations (assignments): 24 * 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.0001789/0.2373, allocations: 149.7 kB / 443.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.2374, allocations: 13.59 kB / 443.7 MB, free: 34.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.926e-05/0.2374, allocations: 22.7 kB / 443.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2374, allocations: 0 / 443.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.2374, allocations: 0 / 443.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2374, allocations: 6.812 kB / 443.7 MB, free: 34.21 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005349/0.238, allocations: 0.4947 MB / 444.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.238, allocations: 0 / 444.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.2382, allocations: 37.95 kB / 444.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.2382, allocations: 6.906 kB / 444.2 MB, free: 33.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/0.2382, allocations: 4 kB / 444.2 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.2382, allocations: 6.75 kB / 444.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2382, allocations: 0 / 444.3 MB, free: 33.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.2385, allocations: 289.9 kB / 444.5 MB, free: 33.59 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.413e-05/0.2385, allocations: 98.8 kB / 444.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.572e-05/0.2386, allocations: 0 / 444.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.2387, allocations: 6.875 kB / 444.6 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.2387, allocations: 9.312 kB / 444.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-06/0.2387, allocations: 2.875 kB / 444.7 MB, free: 33.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.655e-05/0.2388, allocations: 142.8 kB / 444.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2388, allocations: 0 / 444.8 MB, free: 33.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002707/0.2391, allocations: 35.91 kB / 444.8 MB, free: 33.38 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * 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 6.596e-05/0.2392, allocations: 109 kB / 444.9 MB, free: 33.28 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.2394, allocations: 116 kB / 445 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2394, allocations: 0 / 445 MB, free: 33.24 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.384e-05/0.2394, allocations: 53.67 kB / 445.1 MB, free: 33.22 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003195/0.2398, allocations: 33.98 kB / 445.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006871/0.2405, allocations: 0.5676 MB / 445.7 MB, free: 32.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001087/0.2406, allocations: 0.7167 MB / 446.4 MB, free: 32.07 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.022e-05/0.2406, allocations: 18.75 kB / 446.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2406, allocations: 0 / 446.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of Templates: time 0.002715/0.2434, allocations: 1.876 MB / 448.3 MB, free: 31.93 MB / 350.1 MB make -j1 -f AES_AES.Devel_test_models.Test_stank_001.makefile (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & ./AES_AES.Devel_test_models.Test_stank_001 -lv=LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)