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.001667/0.001667, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 195 kB / 16.53 MB, free: 6.664 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.336/1.336, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2075/0.2075, allocations: 22.35 MB / 312.7 MB, free: 12.54 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 67.89 kB / 380.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.275, allocations: 54.93 MB / 435.9 MB, free: 39.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.00307/0.2781, allocations: 1.818 MB / 437.7 MB, free: 38.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004545/0.2786, allocations: 185 kB / 437.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.066e-05/0.2787, allocations: 2.938 kB / 437.9 MB, free: 38.3 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.463e-05/0.2787, allocations: 15.23 kB / 437.9 MB, free: 38.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001501/0.2789, allocations: 55.38 kB / 437.9 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001914/0.2791, allocations: 62.12 kB / 438 MB, free: 38.22 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.2793, allocations: 229.5 kB / 438.2 MB, free: 38.11 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002683/0.2796, allocations: 110.5 kB / 438.3 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.2797, allocations: 89.2 kB / 438.4 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.2798, allocations: 116.8 kB / 438.5 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.704e-05/0.2799, allocations: 24.66 kB / 438.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.968e-05/0.2799, allocations: 23.38 kB / 438.6 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.28, allocations: 43.55 kB / 438.6 MB, free: 37.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.452e-05/0.2801, allocations: 90.39 kB / 438.7 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001869/0.2803, allocations: 210.9 kB / 438.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.2803, allocations: 0 / 438.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.2803, allocations: 0 / 438.9 MB, free: 37.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.2803, allocations: 0 / 438.9 MB, free: 37.8 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.0007416/0.281, allocations: 478 kB / 439.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/0.2811, allocations: 8.25 kB / 439.4 MB, free: 37.38 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.152e-05/0.2811, allocations: 47.58 kB / 439.4 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.532e-05/0.2812, allocations: 16.97 kB / 439.5 MB, free: 37.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001354/0.2813, allocations: 203.8 kB / 439.7 MB, free: 37.11 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/0.2814, allocations: 54.55 kB / 439.7 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.2815, allocations: 8.781 kB / 439.7 MB, free: 37.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007409/0.2822, allocations: 305.6 kB / 440 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2823, allocations: 0 / 440 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.59e-05/0.2823, allocations: 4 kB / 440 MB, free: 36.94 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.2823, allocations: 6.938 kB / 440 MB, free: 36.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000664/0.283, allocations: 226.4 kB / 440.2 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.2847, allocations: 0.9547 MB / 441.2 MB, free: 36.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.285, allocations: 270.5 kB / 441.5 MB, free: 35.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.608e-05/0.2851, allocations: 40.14 kB / 441.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.2851, allocations: 0 / 441.5 MB, free: 35.96 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.2851, allocations: 33.25 kB / 441.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 9.32e-07/0.2851, allocations: 0 / 441.5 MB, free: 35.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001581/0.2867, allocations: 0.6362 MB / 442.2 MB, free: 35.53 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.2867, allocations: 58.47 kB / 442.2 MB, free: 35.46 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.2869, allocations: 188.3 kB / 442.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.285e-05/0.2869, allocations: 37.64 kB / 442.5 MB, free: 35.29 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.2869, allocations: 113.6 kB / 442.6 MB, free: 35.19 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.233e-05/0.287, allocations: 54.75 kB / 442.6 MB, free: 35.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.355e-05/0.287, allocations: 37.05 kB / 442.7 MB, free: 35.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.2871, allocations: 335.2 kB / 443 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.521e-05/0.2872, allocations: 39.06 kB / 443 MB, free: 34.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.2873, allocations: 99.23 kB / 443.1 MB, free: 34.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007484/0.288, allocations: 310.5 kB / 443.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.288, allocations: 0 / 443.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002461/0.2883, allocations: 196.2 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2883, allocations: 5.344 kB / 443.6 MB, free: 34.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.2883, allocations: 4.188 kB / 443.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2883, allocations: 2.906 kB / 443.6 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/0.2886, allocations: 49.52 kB / 443.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2886, allocations: 10.62 kB / 443.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.561e-05/0.2887, allocations: 6.75 kB / 443.7 MB, free: 34.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.2887, allocations: 8.875 kB / 443.7 MB, free: 34.43 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.0002126/0.2889, allocations: 150.9 kB / 443.8 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.521e-05/0.2889, allocations: 14.56 kB / 443.9 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.562e-05/0.289, allocations: 20.5 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.289, allocations: 3.938 kB / 443.9 MB, free: 34.26 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.289, allocations: 6.812 kB / 443.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.289, allocations: 3.188 kB / 443.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005171/0.2895, allocations: 498.5 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.2896, allocations: 2.781 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001978/0.2898, allocations: 45.27 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.2898, allocations: 2.938 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.2898, allocations: 0 / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.2898, allocations: 2.75 kB / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2898, allocations: 0 / 444.4 MB, free: 33.86 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.2901, allocations: 296.8 kB / 444.7 MB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.2901, allocations: 91.7 kB / 444.8 MB, free: 33.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.868e-05/0.2901, allocations: 14.17 kB / 444.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.494e-05/0.2902, allocations: 0 / 444.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.2903, allocations: 8.844 kB / 444.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.2903, allocations: 7.156 kB / 444.8 MB, free: 33.53 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.917e-05/0.2904, allocations: 139.2 kB / 445 MB, free: 33.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2904, allocations: 0 / 445 MB, free: 33.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.2906, allocations: 41 kB / 445 MB, free: 33.42 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.0004163/0.2911, allocations: 0.8216 MB / 445.8 MB, free: 32.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002223/0.2913, allocations: 133.7 kB / 446 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2913, allocations: 4.125 kB / 446 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.36e-05/0.2914, allocations: 52.53 kB / 446 MB, free: 32.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.2917, allocations: 40.94 kB / 446.1 MB, free: 32.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001841/0.2936, allocations: 2.202 MB / 448.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2937, allocations: 0.7178 MB / 449 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.766e-05/0.2938, allocations: 17.73 kB / 449 MB, free: 30.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.828e-05/0.2939, allocations: 43.41 kB / 449 MB, free: 30.1 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.2939, allocations: 4 kB / 449 MB, free: 30.09 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01922/0.3131, allocations: 3.571 MB / 452.6 MB, free: 29.64 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.424/7.737, allocations: 8.562 kB / 452.6 MB, free: 29.63 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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_001_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)