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.0009857/0.0009857, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009488/0.0009487, allocations: 189.9 kB / 16.25 MB, free: 6.621 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.181/1.181, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.17/0.17, allocations: 22.35 MB / 312.4 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.91 kB / 380.4 MB, free: 10.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2067, allocations: 54.94 MB / 435.3 MB, free: 39.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002145/0.2089, allocations: 1.951 MB / 437.3 MB, free: 38.28 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002947/0.2092, allocations: 206.8 kB / 437.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.965e-05/0.2092, allocations: 0 / 437.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.662e-05/0.2093, allocations: 6.984 kB / 437.5 MB, free: 38.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.2094, allocations: 45.11 kB / 437.6 MB, free: 38.1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.2095, allocations: 51.41 kB / 437.6 MB, free: 38.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000146/0.2097, allocations: 227.9 kB / 437.8 MB, free: 37.96 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001692/0.2099, allocations: 115.6 kB / 437.9 MB, free: 37.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.333e-05/0.2099, allocations: 90.52 kB / 438 MB, free: 37.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.2101, allocations: 112.8 kB / 438.1 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.2101, allocations: 22.12 kB / 438.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.2101, allocations: 23.69 kB / 438.2 MB, free: 37.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.026e-05/0.2102, allocations: 51.58 kB / 438.2 MB, free: 37.78 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.2102, allocations: 94.78 kB / 438.3 MB, free: 37.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.2104, allocations: 208.3 kB / 438.5 MB, free: 37.65 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2104, allocations: 4 kB / 438.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2104, allocations: 0 / 438.5 MB, free: 37.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.2104, allocations: 0 / 438.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.0006122/0.211, allocations: 474.7 kB / 439 MB, free: 37.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.927e-05/0.211, allocations: 8.062 kB / 439 MB, free: 37.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.2111, allocations: 47.48 kB / 439 MB, free: 37.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.2111, allocations: 17.31 kB / 439.1 MB, free: 37.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.526e-05/0.2112, allocations: 212.3 kB / 439.3 MB, free: 36.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.389e-05/0.2113, allocations: 51.38 kB / 439.3 MB, free: 36.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.444e-05/0.2113, allocations: 13.22 kB / 439.3 MB, free: 36.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006699/0.212, allocations: 302.8 kB / 439.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.212, allocations: 0 / 439.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.111e-05/0.2121, allocations: 0 / 439.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2121, allocations: 3.438 kB / 439.6 MB, free: 36.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005886/0.2127, allocations: 229.1 kB / 439.9 MB, free: 36.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2141, allocations: 0.957 MB / 440.8 MB, free: 36.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002279/0.2144, allocations: 264.4 kB / 441.1 MB, free: 35.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.2144, allocations: 38.19 kB / 441.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.137e-05/0.2145, allocations: 5.906 kB / 441.1 MB, free: 35.8 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.212e-05/0.2145, allocations: 34.56 kB / 441.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of pre-optimization done (n=11): time 1.132e-06/0.2145, allocations: 0 / 441.2 MB, free: 35.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001333/0.2158, allocations: 0.6375 MB / 441.8 MB, free: 35.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.867e-05/0.2158, allocations: 54 kB / 441.8 MB, free: 35.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.216, allocations: 191.3 kB / 442 MB, free: 35.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.959e-06/0.216, allocations: 32.17 kB / 442.1 MB, free: 35.14 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.825e-05/0.216, allocations: 120.7 kB / 442.2 MB, free: 35.03 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.499e-05/0.216, allocations: 48.34 kB / 442.2 MB, free: 34.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.2161, allocations: 43.11 kB / 442.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.787e-05/0.2161, allocations: 333 kB / 442.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.709e-05/0.2162, allocations: 41.27 kB / 442.6 MB, free: 34.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.2163, allocations: 89.5 kB / 442.7 MB, free: 34.54 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.2169, allocations: 306.7 kB / 443 MB, free: 34.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.217, allocations: 4 kB / 443 MB, free: 34.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002072/0.2172, allocations: 193.1 kB / 443.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.378e-06/0.2172, allocations: 6.156 kB / 443.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.2172, allocations: 0 / 443.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.2172, allocations: 2.906 kB / 443.2 MB, free: 34.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002074/0.2174, allocations: 60.27 kB / 443.3 MB, free: 34.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.2174, allocations: 10.81 kB / 443.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.2175, allocations: 3.062 kB / 443.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.2175, allocations: 13.72 kB / 443.3 MB, free: 34.27 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.0001255/0.2177, allocations: 144.8 kB / 443.4 MB, free: 34.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.137e-05/0.2177, allocations: 13.38 kB / 443.5 MB, free: 34.12 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.2177, allocations: 27.56 kB / 443.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.2178, allocations: 7.719 kB / 443.5 MB, free: 34.1 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2178, allocations: 3.938 kB / 443.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2178, allocations: 0 / 443.5 MB, free: 34.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004666/0.2182, allocations: 499.1 kB / 444 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2183, allocations: 3.938 kB / 444 MB, free: 33.7 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002056/0.2185, allocations: 46.94 kB / 444 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2185, allocations: 2.156 kB / 444 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.2185, allocations: 6.562 kB / 444 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2185, allocations: 0 / 444 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.2185, allocations: 3.328 kB / 444 MB, free: 33.69 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.2187, allocations: 287.6 kB / 444.3 MB, free: 33.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.912e-05/0.2188, allocations: 95.16 kB / 444.4 MB, free: 33.38 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.428e-05/0.2188, allocations: 10.78 kB / 444.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.909e-05/0.2189, allocations: 4 kB / 444.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.2189, allocations: 12.98 kB / 444.4 MB, free: 33.36 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.2189, allocations: 2.875 kB / 444.5 MB, free: 33.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 6.728e-05/0.219, allocations: 140.6 kB / 444.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.219, allocations: 0 / 444.6 MB, free: 33.27 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002452/0.2193, allocations: 34.88 kB / 444.6 MB, free: 33.26 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.000345/0.2196, allocations: 0.8224 MB / 445.4 MB, free: 32.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001778/0.2198, allocations: 132.9 kB / 445.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.2198, allocations: 0 / 445.6 MB, free: 32.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.2199, allocations: 58.78 kB / 445.6 MB, free: 32.45 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.2202, allocations: 35.33 kB / 445.7 MB, free: 32.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.2217, allocations: 2.23 MB / 447.9 MB, free: 30.65 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.674e-05/0.2218, allocations: 0.7137 MB / 448.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.306e-05/0.2219, allocations: 20.77 kB / 448.6 MB, free: 29.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.2219, allocations: 44.09 kB / 448.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.2219, allocations: 3.656 kB / 448.7 MB, free: 29.91 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5384/0.7603, allocations: 3.497 MB / 452.2 MB, free: 29.57 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/0.7605, allocations: 169.7 kB / 452.3 MB, free: 29.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.582/2.342, allocations: 0 / 452.3 MB, free: 29.32 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)