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.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: "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 191.7 kB / 16.25 MB, free: 6.637 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.184/1.184, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1795/0.1795, allocations: 22.36 MB / 312.4 MB, free: 12.64 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.001449, allocations: 59.91 kB / 380.4 MB, free: 10.86 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2118/0.2133, allocations: 54.95 MB / 435.4 MB, free: 39.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002925/0.2162, allocations: 3.448 MB / 438.8 MB, free: 37.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.2172, allocations: 0.9209 MB / 439.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.2174, allocations: 9.156 kB / 439.7 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001437/0.2175, allocations: 51.47 kB / 439.8 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00023/0.2178, allocations: 146 kB / 439.9 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003482/0.2181, allocations: 169.9 kB / 440.1 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004112/0.2185, allocations: 0.735 MB / 440.8 MB, free: 36.03 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003639/0.2189, allocations: 443.1 kB / 441.3 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.2191, allocations: 309 kB / 441.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002898/0.2194, allocations: 392.5 kB / 441.9 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.414e-05/0.2195, allocations: 81.38 kB / 442 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.388e-05/0.2196, allocations: 77.12 kB / 442.1 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.2197, allocations: 210.8 kB / 442.3 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001899/0.2199, allocations: 339.1 kB / 442.6 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003902/0.2203, allocations: 0.7872 MB / 443.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.2203, allocations: 0 / 443.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2203, allocations: 0 / 443.4 MB, free: 34.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.2203, allocations: 0 / 443.4 MB, free: 34.91 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001403/0.2217, allocations: 0.9059 MB / 444.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.2218, allocations: 8.594 kB / 444.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.815e-05/0.2219, allocations: 91.09 kB / 444.4 MB, free: 34.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.142e-05/0.2219, allocations: 61.97 kB / 444.5 MB, free: 34.19 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2223, allocations: 387.5 kB / 444.9 MB, free: 33.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.333e-05/0.2224, allocations: 112.2 kB / 445 MB, free: 33.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.825e-05/0.2225, allocations: 51.92 kB / 445 MB, free: 33.78 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.2237, allocations: 0.6878 MB / 445.7 MB, free: 33.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.2237, allocations: 4 kB / 445.7 MB, free: 33.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/0.2238, allocations: 17.78 kB / 445.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.046e-06/0.2238, allocations: 11.75 kB / 445.7 MB, free: 33.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.2249, allocations: 0.6052 MB / 446.4 MB, free: 33.31 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003931/0.2289, allocations: 2.59 MB / 448.9 MB, free: 31.93 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008718/0.2298, allocations: 0.5366 MB / 449.5 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.2304, allocations: 402.8 kB / 449.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.582e-05/0.2305, allocations: 6.625 kB / 449.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.262e-05/0.2305, allocations: 34.94 kB / 449.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.493e-06/0.2305, allocations: 0 / 449.9 MB, free: 31.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004383/0.2349, allocations: 2.169 MB / 452.1 MB, free: 30.59 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.2349, allocations: 54.81 kB / 452.1 MB, free: 30.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.2352, allocations: 362.9 kB / 452.5 MB, free: 30.34 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/0.2353, allocations: 32.02 kB / 452.5 MB, free: 30.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.901e-05/0.2354, allocations: 229.5 kB / 452.7 MB, free: 30.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.2355, allocations: 183.1 kB / 452.9 MB, free: 29.97 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.2356, allocations: 96.06 kB / 453 MB, free: 29.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.424e-05/0.2357, allocations: 359.8 kB / 453.4 MB, free: 29.59 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006678/0.2364, allocations: 365 kB / 453.7 MB, free: 29.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006914/0.2371, allocations: 412.7 kB / 454.1 MB, free: 29.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00562/0.2427, allocations: 1.975 MB / 456.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2427, allocations: 1.281 kB / 456.1 MB, free: 28.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001634/0.2443, allocations: 0.8446 MB / 456.9 MB, free: 28.4 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2444, allocations: 9.594 kB / 457 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2444, allocations: 1.312 kB / 457 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.2444, allocations: 4.469 kB / 457 MB, free: 28.4 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005213/0.2496, allocations: 0.8964 MB / 457.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.2496, allocations: 4.109 kB / 457.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.2501, allocations: 58.92 kB / 457.9 MB, free: 28.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.956e-05/0.2502, allocations: 20.97 kB / 457.9 MB, free: 28.35 MB / 350.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 66 * 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.0002723/0.2504, allocations: 208.6 kB / 458.1 MB, free: 28.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.2505, allocations: 49.17 kB / 458.2 MB, free: 28.15 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001701/0.2522, allocations: 0.8168 MB / 459 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2523, allocations: 5.188 kB / 459 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2523, allocations: 1.906 kB / 459 MB, free: 27.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.2523, allocations: 9.953 kB / 459 MB, free: 27.83 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002908/0.2552, allocations: 1.73 MB / 460.8 MB, free: 26.96 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2552, allocations: 6 kB / 460.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005256/0.2605, allocations: 0.8793 MB / 461.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.2605, allocations: 1.406 kB / 461.6 MB, free: 26.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/0.2606, allocations: 17.7 kB / 461.7 MB, free: 26.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.2606, allocations: 10.72 kB / 461.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2606, allocations: 0 / 461.7 MB, free: 26.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002369/0.2629, allocations: 1.248 MB / 462.9 MB, free: 26.37 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001066/0.2631, allocations: 119.6 kB / 463 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.942e-05/0.2632, allocations: 13.25 kB / 463.1 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004993/0.2637, allocations: 52.88 kB / 463.1 MB, free: 26.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001604/0.2638, allocations: 68.47 kB / 463.2 MB, free: 26.22 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.52e-05/0.2639, allocations: 25.17 kB / 463.2 MB, free: 26.21 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.2641, allocations: 257.7 kB / 463.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2641, allocations: 0 / 463.4 MB, free: 26.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004712/0.2646, allocations: 147.2 kB / 463.6 MB, free: 26.05 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 51 * 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.002548/0.2672, allocations: 1.795 MB / 465.4 MB, free: 24.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001808/0.269, allocations: 0.8335 MB / 466.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.269, allocations: 0 / 466.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.2698, allocations: 407.5 kB / 466.6 MB, free: 24.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.2704, allocations: 114.1 kB / 466.7 MB, free: 24.52 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009331/0.2797, allocations: 6.304 MB / 473 MB, free: 21.05 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.28, allocations: 0.854 MB / 473.9 MB, free: 20.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004439/0.2805, allocations: 95.73 kB / 474 MB, free: 20.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003291/0.2808, allocations: 183.5 kB / 474.2 MB, free: 20.19 MB / 350.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2808, allocations: 0 / 474.2 MB, free: 20.19 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.191/1.472, allocations: 12.15 MB / 486.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001412/1.472, allocations: 176.1 kB / 486.5 MB, free: 10.41 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.576/4.049, allocations: 0 / 486.5 MB, free: 10.41 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1)