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.0009975/0.0009975, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001058/0.001058, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.199/1.199, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1691/0.1691, allocations: 22.34 MB / 312.3 MB, free: 12.68 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 63.91 kB / 380.2 MB, free: 11.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2165, allocations: 54.95 MB / 435.1 MB, free: 39.49 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002921/0.2194, allocations: 3.451 MB / 438.6 MB, free: 37.01 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009604/0.2204, allocations: 0.9298 MB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001253/0.2205, allocations: 5.625 kB / 439.5 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.2207, allocations: 48.95 kB / 439.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002172/0.2209, allocations: 148.8 kB / 439.7 MB, free: 36.22 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2213, allocations: 176.7 kB / 439.9 MB, free: 36.11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004176/0.2217, allocations: 0.7962 MB / 440.7 MB, free: 35.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00033/0.222, allocations: 391 kB / 441.1 MB, free: 35.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.2222, allocations: 277.6 kB / 441.3 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.2225, allocations: 387.6 kB / 441.7 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.677e-05/0.2226, allocations: 53.7 kB / 441.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.381e-05/0.2227, allocations: 51.81 kB / 441.8 MB, free: 35.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.2228, allocations: 177.8 kB / 442 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002051/0.223, allocations: 307.4 kB / 442.3 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003709/0.2234, allocations: 0.7708 MB / 443.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2234, allocations: 0 / 443.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.52e-07/0.2234, allocations: 3.938 kB / 443.1 MB, free: 34.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.473e-06/0.2234, allocations: 0 / 443.1 MB, free: 34.79 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.001451/0.2249, allocations: 0.9001 MB / 444 MB, free: 34.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.2249, allocations: 12.28 kB / 444 MB, free: 34.16 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.999e-05/0.225, allocations: 98.42 kB / 444.1 MB, free: 34.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.326e-05/0.2251, allocations: 59.16 kB / 444.1 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.2255, allocations: 389.7 kB / 444.5 MB, free: 33.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.2256, allocations: 107.6 kB / 444.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.941e-05/0.2257, allocations: 52.22 kB / 444.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.2269, allocations: 0.6841 MB / 445.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.2269, allocations: 0 / 445.4 MB, free: 33.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.246e-05/0.227, allocations: 22.59 kB / 445.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.227, allocations: 13.12 kB / 445.4 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/0.2281, allocations: 0.5959 MB / 446 MB, free: 33.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003948/0.2321, allocations: 2.595 MB / 448.6 MB, free: 31.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008773/0.233, allocations: 0.5327 MB / 449.1 MB, free: 31.6 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006666/0.2337, allocations: 405.8 kB / 449.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.265e-05/0.2337, allocations: 11.52 kB / 449.5 MB, free: 31.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.263e-05/0.2337, allocations: 34.94 kB / 449.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.463e-06/0.2337, allocations: 0 / 449.6 MB, free: 31.41 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004368/0.2381, allocations: 2.165 MB / 451.7 MB, free: 30.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.025e-05/0.2381, allocations: 55.19 kB / 451.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.2384, allocations: 360.9 kB / 452.1 MB, free: 30.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2384, allocations: 36.64 kB / 452.2 MB, free: 30.19 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.923e-05/0.2385, allocations: 231.2 kB / 452.4 MB, free: 30 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.031e-05/0.2386, allocations: 184.3 kB / 452.6 MB, free: 29.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.2388, allocations: 97.06 kB / 452.7 MB, free: 29.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.349e-05/0.2388, allocations: 356.6 kB / 453 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006771/0.2395, allocations: 366.5 kB / 453.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006668/0.2402, allocations: 416.4 kB / 453.8 MB, free: 29.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005586/0.2458, allocations: 1.967 MB / 455.7 MB, free: 28.61 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.2458, allocations: 3.938 kB / 455.8 MB, free: 28.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001526/0.2473, allocations: 0.8429 MB / 456.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.2474, allocations: 6.891 kB / 456.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2474, allocations: 1.312 kB / 456.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.2474, allocations: 3.875 kB / 456.6 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005046/0.2524, allocations: 0.8983 MB / 457.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2525, allocations: 5.016 kB / 457.5 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.2529, allocations: 58.83 kB / 457.6 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/0.253, allocations: 21.39 kB / 457.6 MB, free: 28.23 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.0002394/0.2532, allocations: 203.7 kB / 457.8 MB, free: 28.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.443e-05/0.2533, allocations: 48.03 kB / 457.8 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.2549, allocations: 0.8182 MB / 458.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.255, allocations: 5.344 kB / 458.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.255, allocations: 0.5156 kB / 458.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.255, allocations: 2.719 kB / 458.7 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.2577, allocations: 1.738 MB / 460.4 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2578, allocations: 3.844 kB / 460.4 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005076/0.2628, allocations: 0.8837 MB / 461.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.2629, allocations: 3.281 kB / 461.3 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.094e-05/0.2629, allocations: 21.78 kB / 461.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.2629, allocations: 1.375 kB / 461.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2629, allocations: 1.438 kB / 461.3 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002265/0.2652, allocations: 1.252 MB / 462.6 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.968e-05/0.2653, allocations: 118.3 kB / 462.7 MB, free: 26.13 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.467e-05/0.2654, allocations: 13.75 kB / 462.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000459/0.2658, allocations: 53.19 kB / 462.7 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.266, allocations: 69.88 kB / 462.8 MB, free: 26.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.266, allocations: 21.91 kB / 462.8 MB, free: 26.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002093/0.2662, allocations: 256.7 kB / 463.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2663, allocations: 0 / 463.1 MB, free: 25.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004196/0.2667, allocations: 144.5 kB / 463.2 MB, free: 25.95 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.002428/0.2691, allocations: 1.799 MB / 465 MB, free: 24.88 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001488/0.2706, allocations: 0.7737 MB / 465.8 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2706, allocations: 0 / 465.8 MB, free: 24.62 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.2714, allocations: 415 kB / 466.2 MB, free: 24.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.2719, allocations: 100.8 kB / 466.3 MB, free: 24.45 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008886/0.2808, allocations: 6.314 MB / 472.6 MB, free: 20.96 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.281, allocations: 0.8473 MB / 473.5 MB, free: 20.26 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003978/0.2814, allocations: 99.58 kB / 473.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000337/0.2818, allocations: 185.5 kB / 473.7 MB, free: 20.11 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2818, allocations: 0 / 473.7 MB, free: 20.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7903/1.072, allocations: 11.71 MB / 485.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001351/1.072, allocations: 184.7 kB / 485.6 MB, free: 11.15 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/3.328, allocations: 0 / 485.6 MB, free: 11.15 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)