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.001015/0.001015, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0009644/0.0009644, allocations: 191.2 kB / 16.13 MB, free: 6.648 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.187/1.187, allocations: 222.9 MB / 239.8 MB, free: 4.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1671/0.1671, allocations: 22.34 MB / 312.3 MB, free: 12.6 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 59.91 kB / 380.2 MB, free: 10.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2013/0.2025, allocations: 54.94 MB / 435.1 MB, free: 39.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002121/0.2046, allocations: 1.969 MB / 437.1 MB, free: 38.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.2049, allocations: 184.4 kB / 437.3 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.928e-05/0.205, allocations: 3.844 kB / 437.3 MB, free: 38.06 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.441e-05/0.205, allocations: 10.55 kB / 437.3 MB, free: 38.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001016/0.2052, allocations: 47.91 kB / 437.3 MB, free: 38.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.2053, allocations: 50.77 kB / 437.4 MB, free: 37.99 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.2054, allocations: 217.4 kB / 437.6 MB, free: 37.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001583/0.2056, allocations: 102.7 kB / 437.7 MB, free: 37.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.901e-05/0.2056, allocations: 84.2 kB / 437.8 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.2058, allocations: 107.9 kB / 437.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.577e-05/0.2058, allocations: 14.12 kB / 437.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.113e-05/0.2058, allocations: 16.28 kB / 437.9 MB, free: 37.76 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.2059, allocations: 39.73 kB / 438 MB, free: 37.74 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.59e-05/0.2059, allocations: 85.48 kB / 438 MB, free: 37.69 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.2061, allocations: 202.4 kB / 438.2 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2061, allocations: 3.375 kB / 438.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.01e-07/0.2061, allocations: 0 / 438.3 MB, free: 37.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.2061, allocations: 0 / 438.3 MB, free: 37.62 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.0005943/0.2067, allocations: 474.6 kB / 438.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.077e-05/0.2067, allocations: 17.94 kB / 438.7 MB, free: 37.2 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.203e-05/0.2068, allocations: 46.31 kB / 438.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.2068, allocations: 19.34 kB / 438.8 MB, free: 37.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.487e-05/0.2069, allocations: 199.6 kB / 439 MB, free: 36.92 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-05/0.207, allocations: 58.59 kB / 439 MB, free: 36.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.207, allocations: 11.72 kB / 439.1 MB, free: 36.87 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006441/0.2077, allocations: 306.4 kB / 439.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.2077, allocations: 0 / 439.4 MB, free: 36.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.2077, allocations: 3.938 kB / 439.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2077, allocations: 2.719 kB / 439.4 MB, free: 36.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005838/0.2083, allocations: 231.5 kB / 439.6 MB, free: 36.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.2098, allocations: 0.959 MB / 440.5 MB, free: 36.03 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.21, allocations: 259.9 kB / 440.8 MB, free: 35.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.419e-05/0.2101, allocations: 37.66 kB / 440.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.217e-06/0.2101, allocations: 2.969 kB / 440.8 MB, free: 35.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.124e-05/0.2101, allocations: 41.83 kB / 440.9 MB, free: 35.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.162e-06/0.2101, allocations: 0 / 440.9 MB, free: 35.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001325/0.2114, allocations: 0.6369 MB / 441.5 MB, free: 35.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.57e-05/0.2115, allocations: 55.41 kB / 441.6 MB, free: 35.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001085/0.2116, allocations: 187.1 kB / 441.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.338e-06/0.2116, allocations: 29.7 kB / 441.8 MB, free: 35.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.93e-05/0.2116, allocations: 120.3 kB / 441.9 MB, free: 35 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2117, allocations: 52.19 kB / 442 MB, free: 34.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.388e-05/0.2117, allocations: 40.05 kB / 442 MB, free: 34.93 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.686e-05/0.2118, allocations: 332.9 kB / 442.3 MB, free: 34.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.95e-05/0.2118, allocations: 39.05 kB / 442.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.785e-05/0.2119, allocations: 98.92 kB / 442.5 MB, free: 34.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000669/0.2126, allocations: 304.1 kB / 442.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.2126, allocations: 0 / 442.8 MB, free: 34.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002093/0.2128, allocations: 198 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.2128, allocations: 5.375 kB / 442.9 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2128, allocations: 2.75 kB / 443 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.2128, allocations: 3.156 kB / 443 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.213, allocations: 55.86 kB / 443 MB, free: 34.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.311e-06/0.2131, allocations: 6.75 kB / 443 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.133e-05/0.2131, allocations: 6.812 kB / 443 MB, free: 34.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.017e-05/0.2132, allocations: 9.406 kB / 443 MB, free: 34.23 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.0001313/0.2133, allocations: 140.7 kB / 443.2 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.195e-05/0.2133, allocations: 19.72 kB / 443.2 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.489e-05/0.2134, allocations: 23.69 kB / 443.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.2134, allocations: 6.938 kB / 443.2 MB, free: 34.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2134, allocations: 3.938 kB / 443.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.2134, allocations: 0 / 443.2 MB, free: 34.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004778/0.2139, allocations: 0.4936 MB / 443.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2139, allocations: 0 / 443.7 MB, free: 33.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000196/0.2141, allocations: 45.14 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.2141, allocations: 3.938 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2141, allocations: 2.688 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.2141, allocations: 0 / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2141, allocations: 6.578 kB / 443.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002313/0.2144, allocations: 296.7 kB / 444.1 MB, free: 33.45 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.791e-05/0.2144, allocations: 97.8 kB / 444.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.2144, allocations: 4 kB / 444.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.561e-05/0.2145, allocations: 3.062 kB / 444.2 MB, free: 33.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.151e-05/0.2145, allocations: 10.19 kB / 444.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/0.2146, allocations: 2.75 kB / 444.2 MB, free: 33.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.448e-05/0.2146, allocations: 140.7 kB / 444.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.2146, allocations: 0 / 444.3 MB, free: 33.23 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.2149, allocations: 35.62 kB / 444.4 MB, free: 33.23 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.0003359/0.2152, allocations: 0.8199 MB / 445.2 MB, free: 32.49 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.2154, allocations: 125.9 kB / 445.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2154, allocations: 384 / 445.3 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.899e-05/0.2155, allocations: 60.97 kB / 445.4 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000288/0.2158, allocations: 28.31 kB / 445.4 MB, free: 32.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.2173, allocations: 2.233 MB / 447.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.464e-05/0.2174, allocations: 0.7198 MB / 448.3 MB, free: 29.93 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.956e-05/0.2175, allocations: 17.48 kB / 448.4 MB, free: 29.92 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.027e-05/0.2175, allocations: 42.7 kB / 448.4 MB, free: 29.89 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2175, allocations: 0 / 448.4 MB, free: 29.89 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7014/0.919, allocations: 3.377 MB / 451.8 MB, free: 29.56 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001276/0.9191, allocations: 167.8 kB / 451.9 MB, free: 29.31 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.736/2.655, allocations: 0 / 451.9 MB, free: 29.31 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)