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.001172/0.001172, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.009315/0.009315, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.324/1.324, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2077/0.2077, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003017/0.0003018, allocations: 8 kB / 382.7 MB, free: 10.06 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2297, allocations: 55.97 MB / 438.7 MB, free: 39.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002484/0.2322, allocations: 3.062 MB / 441.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.2337, allocations: 0.924 MB / 442.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000256/0.2339, allocations: 10.59 kB / 442.7 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.2341, allocations: 38.86 kB / 442.7 MB, free: 36.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003465/0.2345, allocations: 162.3 kB / 442.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004647/0.2349, allocations: 164.3 kB / 443 MB, free: 36.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006135/0.2356, allocations: 0.7979 MB / 443.8 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005047/0.2361, allocations: 381.4 kB / 444.2 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003201/0.2364, allocations: 263.7 kB / 444.5 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000489/0.2369, allocations: 370.4 kB / 444.8 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00012/0.237, allocations: 48.81 kB / 444.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.2372, allocations: 45.16 kB / 444.9 MB, free: 35.55 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.2373, allocations: 176.5 kB / 445.1 MB, free: 35.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002204/0.2375, allocations: 327.7 kB / 445.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004356/0.238, allocations: 0.7489 MB / 446.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.238, allocations: 0 / 446.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.238, allocations: 0 / 446.2 MB, free: 35.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.263e-06/0.238, allocations: 0 / 446.2 MB, free: 35.04 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.001488/0.2395, allocations: 0.8039 MB / 447 MB, free: 34.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2395, allocations: 12.28 kB / 447 MB, free: 34.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.2396, allocations: 93.27 kB / 447.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.2397, allocations: 64.56 kB / 447.1 MB, free: 34.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.2402, allocations: 390.4 kB / 447.5 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001138/0.2403, allocations: 107.5 kB / 447.6 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.466e-05/0.2404, allocations: 52.72 kB / 447.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001436/0.2418, allocations: 0.7285 MB / 448.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.559e-05/0.2419, allocations: 0 / 448.4 MB, free: 33.72 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.2419, allocations: 25.19 kB / 448.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.977e-06/0.2419, allocations: 13.56 kB / 448.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.2433, allocations: 0.6425 MB / 449.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004648/0.248, allocations: 2.688 MB / 451.8 MB, free: 32.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.249, allocations: 0.5749 MB / 452.3 MB, free: 31.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008344/0.2499, allocations: 440.1 kB / 452.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.127e-05/0.2499, allocations: 9.609 kB / 452.8 MB, free: 31.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.545e-05/0.25, allocations: 37.56 kB / 452.8 MB, free: 31.69 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.643e-06/0.25, allocations: 4 kB / 452.8 MB, free: 31.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005381/0.2553, allocations: 2.339 MB / 455.2 MB, free: 30.74 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.131e-05/0.2554, allocations: 64.59 kB / 455.2 MB, free: 30.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.2557, allocations: 361.5 kB / 455.6 MB, free: 30.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.851e-05/0.2558, allocations: 36.02 kB / 455.6 MB, free: 30.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.2559, allocations: 227.9 kB / 455.8 MB, free: 30.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001089/0.256, allocations: 182.6 kB / 456 MB, free: 30.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.777e-05/0.2561, allocations: 48.59 kB / 456.1 MB, free: 30.08 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.18e-05/0.2562, allocations: 357.6 kB / 456.4 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008863/0.257, allocations: 398.2 kB / 456.8 MB, free: 29.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008746/0.2579, allocations: 450.8 kB / 457.2 MB, free: 29.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00683/0.2648, allocations: 2.222 MB / 459.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2648, allocations: 0 / 459.5 MB, free: 28.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001957/0.2667, allocations: 0.9114 MB / 460.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.698e-05/0.2668, allocations: 10.11 kB / 460.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.852e-06/0.2668, allocations: 1 kB / 460.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.2668, allocations: 4.125 kB / 460.4 MB, free: 28.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006638/0.2735, allocations: 1.192 MB / 461.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.2735, allocations: 3.938 kB / 461.6 MB, free: 28.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005566/0.274, allocations: 74.47 kB / 461.7 MB, free: 28.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.842e-05/0.2741, allocations: 20.05 kB / 461.7 MB, free: 28.43 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.000285/0.2744, allocations: 215.2 kB / 461.9 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-05/0.2745, allocations: 44.92 kB / 461.9 MB, free: 28.23 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.2765, allocations: 0.8893 MB / 462.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2766, allocations: 4.75 kB / 462.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2766, allocations: 0.5938 kB / 462.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.2766, allocations: 0.8906 kB / 462.8 MB, free: 27.91 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.2801, allocations: 1.832 MB / 464.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.2801, allocations: 9.688 kB / 464.7 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006519/0.2866, allocations: 1.172 MB / 465.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.2867, allocations: 1.938 kB / 465.8 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/0.2867, allocations: 16.92 kB / 465.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.2867, allocations: 2.75 kB / 465.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2867, allocations: 2.125 kB / 465.9 MB, free: 26.95 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.2895, allocations: 1.36 MB / 467.2 MB, free: 26.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.796e-05/0.2896, allocations: 114.8 kB / 467.3 MB, free: 26.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.1e-05/0.2897, allocations: 13.42 kB / 467.3 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005559/0.2903, allocations: 70.02 kB / 467.4 MB, free: 26.25 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.2904, allocations: 67.89 kB / 467.5 MB, free: 26.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.431e-05/0.2905, allocations: 21.97 kB / 467.5 MB, free: 26.23 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002449/0.2907, allocations: 258 kB / 467.8 MB, free: 26.1 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2907, allocations: 3.938 kB / 467.8 MB, free: 26.09 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004809/0.2912, allocations: 144.3 kB / 467.9 MB, free: 26.08 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.002937/0.2942, allocations: 1.905 MB / 469.8 MB, free: 24.98 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001914/0.2961, allocations: 0.8528 MB / 470.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2961, allocations: 0 / 470.7 MB, free: 24.72 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009209/0.297, allocations: 442.6 kB / 471.1 MB, free: 24.59 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005847/0.2976, allocations: 99.27 kB / 471.2 MB, free: 24.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3083, allocations: 6.676 MB / 477.9 MB, free: 20.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002521/0.3086, allocations: 0.8565 MB / 478.7 MB, free: 20.03 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.000424/0.309, allocations: 93.97 kB / 478.8 MB, free: 19.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.3093, allocations: 183.9 kB / 479 MB, free: 19.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3093, allocations: 0 / 479 MB, free: 19.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5568/0.8662, allocations: 11.56 MB / 490.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/0.8663, allocations: 172.8 kB / 490.7 MB, free: 8.613 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.163/3.029, allocations: 0 / 490.7 MB, free: 8.613 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)