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.001803/0.001803, allocations: 100.3 kB / 19.72 MB, free: 1.785 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.001602/0.001602, allocations: 209.5 kB / 23.01 MB, free: 4.621 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.1119/0.1119, allocations: 24.05 MB / 337.2 MB, free: 11.35 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="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"}) [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.002276/0.002276, allocations: 63.91 kB / 473.8 MB, free: 6.398 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3576, allocations: 59.57 MB / 0.5209 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002603/0.3602, allocations: 1.779 MB / 0.5226 GB, free: 8.844 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003639/0.3605, allocations: 177.8 kB / 0.5228 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.3606, allocations: 1.312 kB / 0.5228 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.996e-05/0.3607, allocations: 15.16 kB / 0.5228 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001512/0.3608, allocations: 57.75 kB / 0.5229 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.361, allocations: 56.77 kB / 0.5229 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.3612, allocations: 231.1 kB / 0.5232 GB, free: 8.523 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002011/0.3614, allocations: 103.4 kB / 0.5233 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.725e-05/0.3615, allocations: 95.55 kB / 0.5233 GB, free: 8.426 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001604/0.3616, allocations: 93.42 kB / 0.5234 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.705e-05/0.3617, allocations: 21.62 kB / 0.5235 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.877e-05/0.3617, allocations: 22.41 kB / 0.5235 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.037e-05/0.3617, allocations: 52.39 kB / 0.5235 GB, free: 8.355 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.921e-05/0.3618, allocations: 74.41 kB / 0.5236 GB, free: 8.316 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.362, allocations: 219.3 kB / 0.5238 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.362, allocations: 0.7969 kB / 0.5238 GB, free: 8.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3621, allocations: 0 / 0.5238 GB, free: 8.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3621, allocations: 5.406 kB / 0.5238 GB, free: 8.238 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.0007302/0.3628, allocations: 403.7 kB / 0.5242 GB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3628, allocations: 11.66 kB / 0.5242 GB, free: 7.906 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.3629, allocations: 43.27 kB / 0.5243 GB, free: 7.859 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.145e-05/0.3629, allocations: 24.67 kB / 0.5243 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001208/0.3631, allocations: 137.7 kB / 0.5244 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.3632, allocations: 54.53 kB / 0.5245 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.3632, allocations: 14.23 kB / 0.5245 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008012/0.364, allocations: 300.7 kB / 0.5248 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.364, allocations: 2.297 kB / 0.5248 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.235e-05/0.364, allocations: 1.469 kB / 0.5248 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.99e-06/0.3641, allocations: 1.406 kB / 0.5248 GB, free: 7.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007361/0.3648, allocations: 232.8 kB / 0.525 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001826/0.3666, allocations: 0.8655 MB / 0.5258 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.3669, allocations: 116.1 kB / 0.5259 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.939e-05/0.367, allocations: 39.48 kB / 0.526 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.367, allocations: 1.312 kB / 0.526 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.367, allocations: 32.3 kB / 0.526 GB, free: 6.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.367, allocations: 0.9375 kB / 0.526 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001609/0.3686, allocations: 0.5656 MB / 0.5266 GB, free: 6.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.3686, allocations: 52.44 kB / 0.5266 GB, free: 6.379 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.3688, allocations: 193.3 kB / 0.5268 GB, free: 6.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3688, allocations: 30.7 kB / 0.5268 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.431e-05/0.3689, allocations: 114.6 kB / 0.5269 GB, free: 6.098 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.185e-05/0.3689, allocations: 55.95 kB / 0.527 GB, free: 6.055 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.79e-05/0.369, allocations: 41.14 kB / 0.527 GB, free: 6.023 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.952e-05/0.369, allocations: 332.2 kB / 0.5273 GB, free: 5.699 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.3691, allocations: 41.42 kB / 0.5274 GB, free: 5.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.474e-05/0.3692, allocations: 94.14 kB / 0.5275 GB, free: 5.605 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007966/0.37, allocations: 313.9 kB / 0.5278 GB, free: 5.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.352e-06/0.37, allocations: 0 / 0.5278 GB, free: 5.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002876/0.3703, allocations: 190 kB / 0.528 GB, free: 5.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/0.3703, allocations: 9.875 kB / 0.528 GB, free: 5.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.3703, allocations: 5.594 kB / 0.528 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/0.3703, allocations: 2.625 kB / 0.528 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002588/0.3706, allocations: 51.69 kB / 0.528 GB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.3706, allocations: 10.58 kB / 0.528 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.518e-05/0.3707, allocations: 6.719 kB / 0.528 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.353e-05/0.3707, allocations: 5.062 kB / 0.528 GB, free: 5.34 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.0002226/0.3709, allocations: 144.3 kB / 0.5282 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.6e-05/0.371, allocations: 19.78 kB / 0.5282 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.37e-05/0.371, allocations: 20.84 kB / 0.5282 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.371, allocations: 1.219 kB / 0.5282 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.371, allocations: 9.031 kB / 0.5282 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.371, allocations: 0 / 0.5282 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005762/0.3716, allocations: 450.1 kB / 0.5287 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3716, allocations: 5.219 kB / 0.5287 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000212/0.3718, allocations: 46.86 kB / 0.5287 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.3718, allocations: 1.469 kB / 0.5287 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.3719, allocations: 6.406 kB / 0.5287 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.3719, allocations: 1.062 kB / 0.5287 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.3719, allocations: 1.156 kB / 0.5287 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.3721, allocations: 282.2 kB / 0.529 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.876e-05/0.3722, allocations: 26.47 kB / 0.529 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.659e-05/0.3722, allocations: 3.156 kB / 0.529 GB, free: 4.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.3723, allocations: 5.406 kB / 0.529 GB, free: 4.582 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.433e-05/0.3723, allocations: 21.17 kB / 0.529 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.3723, allocations: 2.562 kB / 0.529 GB, free: 4.57 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.921e-05/0.3724, allocations: 145.6 kB / 0.5292 GB, free: 4.469 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3724, allocations: 0 / 0.5292 GB, free: 4.469 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000278/0.3727, allocations: 35.62 kB / 0.5292 GB, free: 4.465 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.0004206/0.3731, allocations: 0.822 MB / 0.53 GB, free: 3.727 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.3733, allocations: 116.8 kB / 0.5301 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3733, allocations: 384 / 0.5301 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.122e-05/0.3734, allocations: 58.05 kB / 0.5302 GB, free: 3.664 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3737, allocations: 26.11 kB / 0.5302 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002034/0.3758, allocations: 2.223 MB / 0.5324 GB, free: 1.898 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.689e-05/0.3758, allocations: 104.4 kB / 0.5325 GB, free: 1.824 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.192e-05/0.3759, allocations: 13.89 kB / 0.5325 GB, free: 1.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.376, allocations: 50.34 kB / 0.5325 GB, free: 1.785 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.376, allocations: 1.125 kB / 0.5325 GB, free: 1.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.4075, allocations: 4.366 MB / 0.5368 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.78, allocations: 8.219 kB / 0.5368 GB, free: 0.7539 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.624634713865817] Failed to read output from testmodel.py, exit status != 0: 11.894172039814293 11.923353419 11.55626443 Calling exit ...