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.001385/0.001385, allocations: 116.8 kB / 17.16 MB, free: 5.895 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.002144/0.002144, allocations: 212 kB / 20.13 MB, free: 2.949 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.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.12 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.0994/0.0994, allocations: 22.93 MB / 332.5 MB, free: 2.676 MB / 254.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.003109/0.003109, allocations: 72.86 kB / 466.7 MB, free: 31.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1364, allocations: 59.26 MB / 0.5137 GB, free: 14.03 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.003493/0.1399, allocations: 1.844 MB / 0.5155 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004445/0.1403, allocations: 183.5 kB / 0.5157 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.382e-05/0.1404, allocations: 0 / 0.5157 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.554e-05/0.1405, allocations: 19.8 kB / 0.5157 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001625/0.1406, allocations: 43.62 kB / 0.5157 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001935/0.1408, allocations: 63.84 kB / 0.5158 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002711/0.1411, allocations: 235.1 kB / 0.516 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002262/0.1413, allocations: 89 kB / 0.5161 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.1414, allocations: 91.77 kB / 0.5162 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.1417, allocations: 123.6 kB / 0.5163 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.138e-05/0.1417, allocations: 24 kB / 0.5163 GB, free: 11.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.576e-05/0.1417, allocations: 20 kB / 0.5163 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.1418, allocations: 47.89 kB / 0.5164 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.483e-05/0.1419, allocations: 87.64 kB / 0.5165 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002789/0.1422, allocations: 219.3 kB / 0.5167 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1422, allocations: 0 / 0.5167 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1422, allocations: 0 / 0.5167 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.1422, allocations: 0 / 0.5167 GB, free: 10.95 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.0009273/0.1431, allocations: 482.6 kB / 0.5171 GB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1432, allocations: 12.62 kB / 0.5171 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.203e-05/0.1432, allocations: 192 / 0.5171 GB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.024e-05/0.1432, allocations: 46.73 kB / 0.5172 GB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.678e-05/0.1433, allocations: 28.78 kB / 0.5172 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.1435, allocations: 192.8 kB / 0.5174 GB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001144/0.1436, allocations: 54.19 kB / 0.5175 GB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.1436, allocations: 15.95 kB / 0.5175 GB, free: 10.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008991/0.1445, allocations: 297.1 kB / 0.5178 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.1445, allocations: 0 / 0.5178 GB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.1446, allocations: 4 kB / 0.5178 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.1446, allocations: 4 kB / 0.5178 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007861/0.1454, allocations: 235.8 kB / 0.518 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1474, allocations: 0.957 MB / 0.5189 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.1477, allocations: 256.8 kB / 0.5192 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.673e-05/0.1478, allocations: 40.84 kB / 0.5192 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.1478, allocations: 0 / 0.5192 GB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.1479, allocations: 38.56 kB / 0.5192 GB, free: 8.082 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.102e-06/0.1479, allocations: 4 kB / 0.5192 GB, free: 8.078 MB / 382.1 MB Notification: Performance of matching and sorting (n=15): time 0.001833/0.1497, allocations: 0.637 MB / 0.5199 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/0.1497, allocations: 51.41 kB / 0.5199 GB, free: 7.328 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1499, allocations: 199.3 kB / 0.5201 GB, free: 7.125 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.15, allocations: 33.7 kB / 0.5201 GB, free: 7.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.262e-05/0.15, allocations: 112 kB / 0.5202 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.042e-05/0.1501, allocations: 63.47 kB / 0.5203 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.607e-05/0.1502, allocations: 37.7 kB / 0.5203 GB, free: 6.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1503, allocations: 326.8 kB / 0.5207 GB, free: 6.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.778e-05/0.1504, allocations: 43.98 kB / 0.5207 GB, free: 6.496 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.1505, allocations: 93.92 kB / 0.5208 GB, free: 6.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008715/0.1514, allocations: 307.7 kB / 0.5211 GB, free: 6.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.1514, allocations: 0 / 0.5211 GB, free: 6.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.00031/0.1517, allocations: 195.1 kB / 0.5213 GB, free: 5.867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1517, allocations: 8 kB / 0.5213 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1517, allocations: 192 / 0.5213 GB, free: 5.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.1517, allocations: 8 kB / 0.5213 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002478/0.152, allocations: 55.97 kB / 0.5213 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.152, allocations: 7.875 kB / 0.5213 GB, free: 5.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.072e-05/0.1521, allocations: 4 kB / 0.5213 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.1521, allocations: 8 kB / 0.5214 GB, free: 5.777 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.0002699/0.1524, allocations: 146.8 kB / 0.5215 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.1524, allocations: 15.91 kB / 0.5215 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.065e-05/0.1525, allocations: 29.45 kB / 0.5215 GB, free: 5.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.1525, allocations: 3.938 kB / 0.5215 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.1525, allocations: 3.938 kB / 0.5215 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.1525, allocations: 0 / 0.5215 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007671/0.1533, allocations: 0.4953 MB / 0.522 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1533, allocations: 3.938 kB / 0.522 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002267/0.1535, allocations: 43.97 kB / 0.5221 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1535, allocations: 0 / 0.5221 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/0.1535, allocations: 4 kB / 0.5221 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1535, allocations: 4 kB / 0.5221 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.1535, allocations: 0 / 0.5221 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/0.1539, allocations: 294.1 kB / 0.5224 GB, free: 4.652 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.154, allocations: 96.98 kB / 0.5225 GB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.154, allocations: 4 kB / 0.5225 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.1541, allocations: 4.094 kB / 0.5225 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.922e-05/0.1541, allocations: 15.97 kB / 0.5225 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.156e-06/0.1541, allocations: 4 kB / 0.5225 GB, free: 4.512 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001248/0.1543, allocations: 136.3 kB / 0.5226 GB, free: 4.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1543, allocations: 0 / 0.5226 GB, free: 4.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002774/0.1545, allocations: 36 kB / 0.5226 GB, free: 4.344 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.0006816/0.1552, allocations: 0.8249 MB / 0.5234 GB, free: 3.492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.1555, allocations: 115.8 kB / 0.5236 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1555, allocations: 384 / 0.5236 GB, free: 3.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.63e-05/0.1556, allocations: 59.92 kB / 0.5236 GB, free: 3.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003565/0.1559, allocations: 36.19 kB / 0.5237 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.1585, allocations: 2.202 MB / 0.5258 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003515/0.1589, allocations: 0.7125 MB / 0.5265 GB, free: 232 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.36e-05/0.1589, allocations: 17.55 kB / 0.5265 GB, free: 216 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.306e-05/0.159, allocations: 47.42 kB / 0.5266 GB, free: 168 kB / 382.1 MB Notification: Performance of SimCode: time 3.51e-07/0.159, allocations: 3.938 kB / 0.5266 GB, free: 164 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/0.1793, allocations: 3.689 MB / 0.5302 GB, free: 12.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.321/8.5, allocations: 14.91 kB / 0.5302 GB, free: 12.55 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.503227714973036] Failed to read output from testmodel.py, exit status != 0: 8.63239230500767 8.653411168 8.506975216 Calling exit ...