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.0007642/0.0007642, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008385/0.0008385, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.378/1.378, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2191/0.2191, allocations: 22.35 MB / 313.4 MB, free: 13.05 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003378/0.0003379, allocations: 8 kB / 382 MB, free: 10.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2703, allocations: 55.98 MB / 438 MB, free: 39.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002318/0.2727, allocations: 2.923 MB / 440.9 MB, free: 37.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.2739, allocations: 0.8994 MB / 441.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.274, allocations: 2.531 kB / 441.8 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001364/0.2742, allocations: 52.23 kB / 441.9 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002508/0.2744, allocations: 166.2 kB / 442.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.2748, allocations: 148.9 kB / 442.2 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004779/0.2753, allocations: 0.7301 MB / 442.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.2757, allocations: 345.5 kB / 443.3 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.2759, allocations: 259.4 kB / 443.5 MB, free: 35.84 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003236/0.2762, allocations: 366.9 kB / 443.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.828e-05/0.2763, allocations: 48.09 kB / 443.9 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.907e-05/0.2764, allocations: 45.81 kB / 444 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.2765, allocations: 173.7 kB / 444.1 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.789e-05/0.2766, allocations: 127.3 kB / 444.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003296/0.277, allocations: 0.5804 MB / 444.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.277, allocations: 0 / 444.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.277, allocations: 0 / 444.8 MB, free: 35.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.277, allocations: 2.75 kB / 444.9 MB, free: 35.41 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.001349/0.2784, allocations: 0.8073 MB / 445.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.096e-05/0.2784, allocations: 8.969 kB / 445.7 MB, free: 34.85 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.788e-05/0.2785, allocations: 94.11 kB / 445.8 MB, free: 34.78 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.34e-05/0.2786, allocations: 62.56 kB / 445.8 MB, free: 34.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003922/0.279, allocations: 382.5 kB / 446.2 MB, free: 34.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.2791, allocations: 111.8 kB / 446.3 MB, free: 34.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-05/0.2792, allocations: 48.41 kB / 446.4 MB, free: 34.35 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001268/0.2805, allocations: 0.7245 MB / 447.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.727e-05/0.2805, allocations: 4 kB / 447.1 MB, free: 34.1 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.337e-05/0.2805, allocations: 18.56 kB / 447.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.2806, allocations: 17.69 kB / 447.1 MB, free: 34.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001176/0.2817, allocations: 0.6479 MB / 447.8 MB, free: 33.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004185/0.2859, allocations: 2.683 MB / 450.4 MB, free: 32.49 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/0.287, allocations: 0.569 MB / 451 MB, free: 32.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007601/0.2878, allocations: 435.2 kB / 451.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.638e-05/0.2878, allocations: 10.17 kB / 451.4 MB, free: 32.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/0.2879, allocations: 37.56 kB / 451.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.953e-06/0.2879, allocations: 4 kB / 451.5 MB, free: 32.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004819/0.2927, allocations: 2.346 MB / 453.8 MB, free: 31.12 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.86e-05/0.2927, allocations: 56.41 kB / 453.9 MB, free: 31.05 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.2931, allocations: 352.4 kB / 454.2 MB, free: 30.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.2931, allocations: 36.8 kB / 454.3 MB, free: 30.84 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.2932, allocations: 230.4 kB / 454.5 MB, free: 30.65 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001065/0.2933, allocations: 176.2 kB / 454.7 MB, free: 30.51 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.2934, allocations: 11.19 kB / 454.7 MB, free: 30.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.623e-05/0.2934, allocations: 360.5 kB / 455 MB, free: 30.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000734/0.2942, allocations: 396 kB / 455.4 MB, free: 30.04 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007913/0.295, allocations: 447.7 kB / 455.9 MB, free: 29.85 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008174/0.2958, allocations: 386.5 kB / 456.2 MB, free: 29.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2958, allocations: 4 kB / 456.2 MB, free: 29.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001868/0.2977, allocations: 0.9064 MB / 457.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.2977, allocations: 6.25 kB / 457.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.2977, allocations: 1.406 kB / 457.1 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/0.2978, allocations: 7.703 kB / 457.2 MB, free: 29.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005387/0.3032, allocations: 1.191 MB / 458.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.045e-05/0.3032, allocations: 4.625 kB / 458.4 MB, free: 29.31 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.3038, allocations: 73.67 kB / 458.4 MB, free: 29.3 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.425e-05/0.3038, allocations: 20.44 kB / 458.4 MB, free: 29.29 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003513/0.3042, allocations: 202.8 kB / 458.6 MB, free: 29.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.368e-05/0.3043, allocations: 44.78 kB / 458.7 MB, free: 29.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001844/0.3061, allocations: 0.8871 MB / 459.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.3062, allocations: 9.578 kB / 459.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3062, allocations: 0.6094 kB / 459.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3062, allocations: 2.672 kB / 459.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003226/0.3094, allocations: 1.831 MB / 461.4 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3094, allocations: 2.266 kB / 461.4 MB, free: 27.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005386/0.3148, allocations: 1.175 MB / 462.6 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-05/0.3149, allocations: 4.75 kB / 462.6 MB, free: 27.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.08e-05/0.3149, allocations: 15.77 kB / 462.6 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.315, allocations: 5.359 kB / 462.6 MB, free: 27.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.315, allocations: 10.02 kB / 462.6 MB, free: 27.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.3177, allocations: 1.354 MB / 464 MB, free: 27.24 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.3178, allocations: 114.8 kB / 464.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.793e-05/0.3179, allocations: 13.83 kB / 464.1 MB, free: 27.12 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005029/0.3184, allocations: 70 kB / 464.2 MB, free: 27.11 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002073/0.3186, allocations: 74.2 kB / 464.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.866e-05/0.3187, allocations: 16.56 kB / 464.3 MB, free: 27.09 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003339/0.319, allocations: 255.5 kB / 464.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.319, allocations: 0 / 464.5 MB, free: 26.95 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006053/0.3197, allocations: 145.2 kB / 464.7 MB, free: 26.94 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002917/0.3226, allocations: 1.902 MB / 466.6 MB, free: 25.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001857/0.3245, allocations: 0.8539 MB / 467.4 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3245, allocations: 0 / 467.4 MB, free: 25.57 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008759/0.3253, allocations: 441.1 kB / 467.8 MB, free: 25.44 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006189/0.326, allocations: 109.1 kB / 468 MB, free: 25.39 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008111/0.3341, allocations: 4.687 MB / 472.6 MB, free: 23.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.3344, allocations: 0.8508 MB / 473.5 MB, free: 22.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004673/0.3349, allocations: 95.39 kB / 473.6 MB, free: 22.43 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000349/0.3353, allocations: 188 kB / 473.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3353, allocations: 0 / 473.8 MB, free: 22.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.3565, allocations: 11.44 MB / 485.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001192/0.3567, allocations: 166.4 kB / 485.4 MB, free: 13.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.987/2.343, allocations: 3.938 kB / 485.4 MB, free: 13.48 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/linux/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) Environment - environmentSimulation: