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: "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",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.0007186/0.0007187, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004119/0.004119, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.205/1.205, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1839/0.1839, allocations: 22.35 MB / 313.8 MB, free: 13.11 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004125, allocations: 8 kB / 382.7 MB, free: 10.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2329/0.2333, allocations: 55.97 MB / 438.7 MB, free: 39.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001362/0.2347, allocations: 1.617 MB / 440.3 MB, free: 38.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003339/0.235, allocations: 189.4 kB / 440.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.939e-05/0.2351, allocations: 2.781 kB / 440.5 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 3.084e-05/0.2351, allocations: 11.34 kB / 440.5 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001117/0.2353, allocations: 48.16 kB / 440.6 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001468/0.2354, allocations: 50.64 kB / 440.6 MB, free: 38.03 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001527/0.2356, allocations: 217.1 kB / 440.8 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001713/0.2358, allocations: 98.25 kB / 440.9 MB, free: 37.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.647e-05/0.2358, allocations: 89.45 kB / 441 MB, free: 37.85 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.236, allocations: 101.6 kB / 441.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.803e-05/0.236, allocations: 13.69 kB / 441.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.905e-05/0.236, allocations: 14 kB / 441.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.2361, allocations: 39.8 kB / 441.2 MB, free: 37.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.821e-05/0.2361, allocations: 111.7 kB / 441.3 MB, free: 37.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001339/0.2363, allocations: 200.3 kB / 441.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2363, allocations: 4 kB / 441.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2363, allocations: 0 / 441.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.028e-06/0.2363, allocations: 3.219 kB / 441.5 MB, free: 37.64 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.0005663/0.2369, allocations: 448 kB / 441.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.2369, allocations: 12.97 kB / 441.9 MB, free: 37.24 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.862e-05/0.237, allocations: 47.62 kB / 442 MB, free: 37.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.922e-05/0.237, allocations: 17.84 kB / 442 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001015/0.2371, allocations: 209.6 kB / 442.2 MB, free: 36.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.847e-05/0.2372, allocations: 51.66 kB / 442.2 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.544e-05/0.2372, allocations: 13.47 kB / 442.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.238, allocations: 344.6 kB / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.238, allocations: 0 / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.291e-05/0.238, allocations: 4 kB / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.238, allocations: 2.969 kB / 442.6 MB, free: 36.79 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006731/0.2387, allocations: 274.5 kB / 442.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.2402, allocations: 0.9921 MB / 443.9 MB, free: 36.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002297/0.2405, allocations: 256.8 kB / 444.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.2406, allocations: 40.8 kB / 444.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.266e-06/0.2406, allocations: 0 / 444.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.116e-05/0.2406, allocations: 41.59 kB / 444.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.11e-07/0.2406, allocations: 0 / 444.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001414/0.242, allocations: 0.6413 MB / 444.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.625e-05/0.242, allocations: 58.16 kB / 444.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001117/0.2422, allocations: 190.6 kB / 445.1 MB, free: 35.17 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.2422, allocations: 32.77 kB / 445.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.917e-05/0.2422, allocations: 116.8 kB / 445.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.569e-05/0.2423, allocations: 55.25 kB / 445.3 MB, free: 34.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.611e-05/0.2423, allocations: 23.64 kB / 445.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.892e-05/0.2423, allocations: 333.2 kB / 445.6 MB, free: 34.64 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.915e-05/0.2424, allocations: 41.8 kB / 445.7 MB, free: 34.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.101e-05/0.2425, allocations: 95.39 kB / 445.8 MB, free: 34.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.2432, allocations: 308.4 kB / 446.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.2432, allocations: 3.312 kB / 446.1 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002171/0.2434, allocations: 189.8 kB / 446.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2434, allocations: 9.812 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2434, allocations: 6.062 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2434, allocations: 2.875 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002021/0.2436, allocations: 51.94 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2436, allocations: 3.062 kB / 446.3 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.563e-05/0.2437, allocations: 10.84 kB / 446.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.828e-06/0.2438, allocations: 3.844 kB / 446.3 MB, free: 34.28 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.0001386/0.2439, allocations: 155 kB / 446.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.289e-05/0.2439, allocations: 16.28 kB / 446.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/0.244, allocations: 23.5 kB / 446.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.244, allocations: 2.625 kB / 446.5 MB, free: 34.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.244, allocations: 3.938 kB / 446.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.244, allocations: 3.938 kB / 446.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/0.2445, allocations: 0.4909 MB / 447 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.2445, allocations: 0 / 447 MB, free: 33.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001954/0.2447, allocations: 48.91 kB / 447.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2447, allocations: 3.938 kB / 447.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.2448, allocations: 2.906 kB / 447.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2448, allocations: 0 / 447.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.2448, allocations: 0 / 447.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002301/0.245, allocations: 295.3 kB / 447.4 MB, free: 33.49 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.245, allocations: 95 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.336e-05/0.2451, allocations: 6.938 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.526e-05/0.2452, allocations: 0 / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.189e-05/0.2452, allocations: 9.062 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-06/0.2452, allocations: 6.906 kB / 447.5 MB, free: 33.38 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.267e-05/0.2453, allocations: 138.5 kB / 447.6 MB, free: 33.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2453, allocations: 3.938 kB / 447.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000251/0.2455, allocations: 40.06 kB / 447.7 MB, free: 33.27 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 0.0003422/0.2459, allocations: 0.8153 MB / 448.5 MB, free: 32.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.2461, allocations: 122.2 kB / 448.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2461, allocations: 0 / 448.6 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.024e-05/0.2461, allocations: 56.17 kB / 448.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.2464, allocations: 27.48 kB / 448.7 MB, free: 32.46 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.248, allocations: 2.335 MB / 451 MB, free: 30.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001038/0.2481, allocations: 0.7103 MB / 451.7 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.2482, allocations: 20.45 kB / 451.7 MB, free: 29.94 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.997e-05/0.2483, allocations: 42.97 kB / 451.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2483, allocations: 0 / 451.8 MB, free: 29.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/1.818, allocations: 3.295 MB / 455.1 MB, free: 29.67 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001299/1.818, allocations: 166.3 kB / 455.2 MB, free: 29.42 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.172/3.99, allocations: 3.969 kB / 455.2 MB, free: 29.42 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)