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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 101.5 kB / 19.73 MB, free: 2.23 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 217 kB / 23.04 MB, free: 5.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.523/1.523, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1037/0.1037, allocations: 22.94 MB / 336.2 MB, free: 12.6 MB / 270.1 MB " [Timeout remaining time 180] Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00226/0.00226, allocations: 59.91 kB / 472.3 MB, free: 7.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3448/0.3471, allocations: 59.28 MB / 0.5191 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.00278/0.3498, allocations: 1.862 MB / 0.5209 GB, free: 9.461 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003887/0.3502, allocations: 179.5 kB / 0.5211 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.323e-05/0.3503, allocations: 4.875 kB / 0.5211 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.694e-05/0.3503, allocations: 19.84 kB / 0.5211 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.3505, allocations: 53.8 kB / 0.5212 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.3507, allocations: 58.64 kB / 0.5212 GB, free: 9.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002455/0.3509, allocations: 230.2 kB / 0.5214 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002417/0.3512, allocations: 98.47 kB / 0.5215 GB, free: 9.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.3513, allocations: 100.7 kB / 0.5216 GB, free: 9.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.3515, allocations: 111.7 kB / 0.5217 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.993e-05/0.3515, allocations: 22.53 kB / 0.5218 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.3515, allocations: 22.16 kB / 0.5218 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.792e-05/0.3516, allocations: 48.17 kB / 0.5218 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.287e-05/0.3517, allocations: 90.72 kB / 0.5219 GB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002662/0.3519, allocations: 217.9 kB / 0.5221 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3519, allocations: 0 / 0.5221 GB, free: 8.824 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.352, allocations: 5.219 kB / 0.5221 GB, free: 8.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.352, allocations: 0 / 0.5221 GB, free: 8.82 MB / 382.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.0007374/0.3527, allocations: 408.6 kB / 0.5225 GB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.3527, allocations: 11.05 kB / 0.5225 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.275e-05/0.3527, allocations: 1.656 kB / 0.5225 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.3528, allocations: 44.53 kB / 0.5226 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.812e-05/0.3528, allocations: 19.38 kB / 0.5226 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3529, allocations: 134.6 kB / 0.5227 GB, free: 8.293 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.896e-05/0.353, allocations: 61.41 kB / 0.5228 GB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.3531, allocations: 18.59 kB / 0.5228 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009288/0.354, allocations: 291.1 kB / 0.5231 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.354, allocations: 5.984 kB / 0.5231 GB, free: 8.121 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.446e-05/0.3541, allocations: 4 kB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.3541, allocations: 3.188 kB / 0.5231 GB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007497/0.3548, allocations: 230 kB / 0.5233 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001881/0.3567, allocations: 0.931 MB / 0.5242 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002709/0.357, allocations: 104.8 kB / 0.5243 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.451e-05/0.357, allocations: 42.33 kB / 0.5243 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.357, allocations: 1.188 kB / 0.5243 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.3571, allocations: 35.44 kB / 0.5244 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.3571, allocations: 0 / 0.5244 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001733/0.3588, allocations: 0.5556 MB / 0.5249 GB, free: 7.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.846e-05/0.3588, allocations: 52.47 kB / 0.525 GB, free: 6.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.359, allocations: 197.3 kB / 0.5252 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.359, allocations: 31.05 kB / 0.5252 GB, free: 6.777 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.3591, allocations: 123.4 kB / 0.5253 GB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.558e-05/0.3591, allocations: 62.98 kB / 0.5254 GB, free: 6.613 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.861e-05/0.3592, allocations: 36.92 kB / 0.5254 GB, free: 6.586 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.042e-05/0.3592, allocations: 332 kB / 0.5257 GB, free: 6.262 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.136e-05/0.3593, allocations: 41.8 kB / 0.5258 GB, free: 6.246 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.219e-05/0.3594, allocations: 91.23 kB / 0.5258 GB, free: 6.172 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007569/0.3601, allocations: 316.1 kB / 0.5262 GB, free: 6.012 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3601, allocations: 1.406 kB / 0.5262 GB, free: 6.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002559/0.3604, allocations: 183.4 kB / 0.5263 GB, free: 5.922 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.3604, allocations: 7.969 kB / 0.5263 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.3604, allocations: 2.281 kB / 0.5263 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.3604, allocations: 2.406 kB / 0.5263 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/0.3607, allocations: 54.72 kB / 0.5264 GB, free: 5.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.3607, allocations: 8.375 kB / 0.5264 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.3608, allocations: 10.25 kB / 0.5264 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.3608, allocations: 7.344 kB / 0.5264 GB, free: 5.902 MB / 382.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.0002537/0.361, allocations: 143.1 kB / 0.5266 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.843e-05/0.3611, allocations: 14.75 kB / 0.5266 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.3611, allocations: 28.27 kB / 0.5266 GB, free: 5.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3611, allocations: 10.62 kB / 0.5266 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.3611, allocations: 3.938 kB / 0.5266 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3611, allocations: 0 / 0.5266 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005931/0.3617, allocations: 465.8 kB / 0.5271 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3617, allocations: 5.156 kB / 0.5271 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000215/0.3619, allocations: 40.05 kB / 0.5271 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.706e-06/0.362, allocations: 5.219 kB / 0.5271 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.362, allocations: 5.156 kB / 0.5271 GB, free: 5.367 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.362, allocations: 4.969 kB / 0.5271 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.362, allocations: 0.8438 kB / 0.5271 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.3622, allocations: 291.6 kB / 0.5274 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.692e-05/0.3623, allocations: 20.47 kB / 0.5274 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.3623, allocations: 3.156 kB / 0.5274 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.3624, allocations: 9.031 kB / 0.5274 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.226e-05/0.3624, allocations: 8.469 kB / 0.5274 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.3624, allocations: 3.125 kB / 0.5274 GB, free: 5.133 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.602e-05/0.3625, allocations: 141.9 kB / 0.5276 GB, free: 5.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3625, allocations: 0 / 0.5276 GB, free: 5.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002791/0.3628, allocations: 36.25 kB / 0.5276 GB, free: 5.031 MB / 382.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.0004361/0.3632, allocations: 0.8182 MB / 0.5284 GB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.3635, allocations: 124.5 kB / 0.5285 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.3635, allocations: 0 / 0.5285 GB, free: 4.246 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.3635, allocations: 55.41 kB / 0.5286 GB, free: 4.227 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003259/0.3639, allocations: 41.41 kB / 0.5286 GB, free: 4.203 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.366, allocations: 2.206 MB / 0.5308 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/0.3662, allocations: 0.7156 MB / 0.5315 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.3662, allocations: 16.47 kB / 0.5315 GB, free: 1.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.064e-05/0.3663, allocations: 43.86 kB / 0.5315 GB, free: 1.727 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3663, allocations: 4 kB / 0.5315 GB, free: 1.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02527/0.3916, allocations: 3.931 MB / 0.5354 GB, free: 1.184 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.73, allocations: 8.312 kB / 0.5354 GB, free: 1.184 MB / 382.1 MB " [Timeout remaining time 648] (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 --stepSize=8.64 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.639214043971151] Failed to read output from testmodel.py, exit status != 0: 11.894106958003249 11.920835069 11.563835833 Calling exit ...