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.0009904/0.0009908, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009471/0.0009472, allocations: 177.3 kB / 15.94 MB, free: 228 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.402/1.402, allocations: 223.2 MB / 239.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2146/0.2146, allocations: 22.33 MB / 313.3 MB, free: 13.18 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003185/0.0003186, allocations: 12 kB / 381.9 MB, free: 10.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3771, allocations: 55.98 MB / 437.9 MB, free: 39.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.001828/0.379, allocations: 1.491 MB / 439.4 MB, free: 38.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003861/0.3794, allocations: 207.4 kB / 439.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.886e-05/0.3794, allocations: 0 / 439.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.483e-05/0.3795, allocations: 17.53 kB / 439.6 MB, free: 38.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001359/0.3796, allocations: 53.28 kB / 439.7 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001487/0.3798, allocations: 49.44 kB / 439.7 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001568/0.3799, allocations: 142.7 kB / 439.8 MB, free: 37.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.3801, allocations: 85.36 kB / 439.9 MB, free: 37.92 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.471e-05/0.3802, allocations: 88.66 kB / 440 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3804, allocations: 100.5 kB / 440.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.051e-05/0.3804, allocations: 14.59 kB / 440.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.361e-05/0.3805, allocations: 18.62 kB / 440.1 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.978e-05/0.3805, allocations: 39.61 kB / 440.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.822e-05/0.3806, allocations: 53.55 kB / 440.2 MB, free: 37.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.3807, allocations: 151.6 kB / 440.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.497e-06/0.3807, allocations: 0 / 440.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3807, allocations: 0 / 440.4 MB, free: 37.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.171e-06/0.3808, allocations: 0 / 440.4 MB, free: 37.74 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.0006338/0.3814, allocations: 456.2 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.3814, allocations: 10.41 kB / 440.8 MB, free: 37.34 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.3815, allocations: 44.58 kB / 440.9 MB, free: 37.29 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.3815, allocations: 19.06 kB / 440.9 MB, free: 37.28 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3817, allocations: 191.3 kB / 441.1 MB, free: 37.07 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001027/0.3818, allocations: 55.53 kB / 441.1 MB, free: 37.03 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.933e-05/0.3818, allocations: 9.031 kB / 441.2 MB, free: 37.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008088/0.3826, allocations: 345.1 kB / 441.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.3827, allocations: 3.906 kB / 441.5 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.46e-05/0.3827, allocations: 7.469 kB / 441.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.3827, allocations: 0 / 441.5 MB, free: 36.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006975/0.3834, allocations: 272.3 kB / 441.8 MB, free: 36.83 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001669/0.3851, allocations: 0.9945 MB / 442.8 MB, free: 36.16 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.3854, allocations: 258.6 kB / 443 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3854, allocations: 2.562 kB / 443 MB, free: 35.93 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.621e-05/0.3854, allocations: 38.5 kB / 443.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.3854, allocations: 0 / 443.1 MB, free: 35.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001517/0.3869, allocations: 0.6442 MB / 443.7 MB, free: 35.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.387, allocations: 55.34 kB / 443.8 MB, free: 35.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3871, allocations: 187.7 kB / 443.9 MB, free: 35.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3871, allocations: 29.7 kB / 444 MB, free: 35.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.779e-05/0.3872, allocations: 116.9 kB / 444.1 MB, free: 35.15 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.3872, allocations: 59.59 kB / 444.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.831e-06/0.3872, allocations: 2.781 kB / 444.1 MB, free: 35.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.92e-05/0.3873, allocations: 328.3 kB / 444.5 MB, free: 34.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.348e-05/0.3874, allocations: 40.39 kB / 444.5 MB, free: 34.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.3875, allocations: 93.48 kB / 444.6 MB, free: 34.69 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.628e-05/0.3876, allocations: 57.88 kB / 444.6 MB, free: 34.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.3876, allocations: 3.938 kB / 444.7 MB, free: 34.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002307/0.3878, allocations: 184.8 kB / 444.8 MB, free: 34.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.3878, allocations: 9.875 kB / 444.8 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3878, allocations: 6.875 kB / 444.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.3879, allocations: 3.531 kB / 444.9 MB, free: 34.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002131/0.3881, allocations: 54.41 kB / 444.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.3881, allocations: 10.95 kB / 444.9 MB, free: 34.55 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.536e-05/0.3882, allocations: 11.81 kB / 444.9 MB, free: 34.54 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.3882, allocations: 5.812 kB / 444.9 MB, free: 34.54 MB / 350.1 MB Warning: Assuming fixed start value for the following 3 variables: 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: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000202/0.3884, allocations: 142 kB / 445.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.49e-05/0.3885, allocations: 16.69 kB / 445.1 MB, free: 34.4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.996e-05/0.3885, allocations: 24.28 kB / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.3885, allocations: 6 kB / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3885, allocations: 0 / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.3885, allocations: 3.953 kB / 445.1 MB, free: 34.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.3891, allocations: 0.4909 MB / 445.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.3891, allocations: 3.938 kB / 445.6 MB, free: 33.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001948/0.3893, allocations: 43.81 kB / 445.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.3893, allocations: 3.562 kB / 445.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.3893, allocations: 3.953 kB / 445.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.3894, allocations: 3.375 kB / 445.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3894, allocations: 3.938 kB / 445.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.3896, allocations: 310.3 kB / 446 MB, free: 33.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.91e-05/0.3897, allocations: 92.81 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.3897, allocations: 7.328 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.385e-05/0.3898, allocations: 0 / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.3898, allocations: 13.47 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.033e-06/0.3899, allocations: 2.844 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.241e-05/0.3899, allocations: 141.7 kB / 446.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.39, allocations: 4 kB / 446.2 MB, free: 33.52 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.3902, allocations: 34.22 kB / 446.3 MB, free: 33.51 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 (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.0004415/0.3907, allocations: 0.8904 MB / 447.2 MB, free: 32.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002072/0.3909, allocations: 129.3 kB / 447.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3909, allocations: 3.938 kB / 447.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.109e-05/0.391, allocations: 49.5 kB / 447.3 MB, free: 32.63 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.3912, allocations: 24.31 kB / 447.4 MB, free: 32.62 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3929, allocations: 2.178 MB / 449.5 MB, free: 30.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000165/0.3931, allocations: 0.713 MB / 450.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.167e-05/0.3932, allocations: 20.56 kB / 450.3 MB, free: 30.19 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.573e-05/0.3933, allocations: 45.69 kB / 450.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3933, allocations: 0 / 450.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01381/0.4071, allocations: 3.282 MB / 453.6 MB, free: 29.91 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.4073, allocations: 150 kB / 453.7 MB, free: 29.67 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/2.078, allocations: 0 / 453.7 MB, free: 29.67 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/linux/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) Environment - environmentSimulation: