Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_002.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.001798/0.001798, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002088/0.002088, allocations: 213.9 kB / 23.04 MB, free: 5.078 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.504/1.504, allocations: 230.6 MB / 256.8 MB, free: 8.02 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.102/0.102, allocations: 22.93 MB / 336.2 MB, free: 12.64 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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",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.001972/0.001972, allocations: 64.19 kB / 472.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3683, allocations: 59.28 MB / 0.5191 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003897/0.3722, allocations: 3.255 MB / 0.5223 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3738, allocations: 0.9464 MB / 0.5232 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.374, allocations: 4.719 kB / 0.5232 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.3742, allocations: 74.45 kB / 0.5233 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.3746, allocations: 167.4 kB / 0.5234 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.3752, allocations: 197.6 kB / 0.5236 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007826/0.376, allocations: 0.7479 MB / 0.5244 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006415/0.3766, allocations: 363 kB / 0.5247 GB, free: 7.027 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005014/0.3771, allocations: 316.2 kB / 0.525 GB, free: 6.887 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005588/0.3777, allocations: 398.8 kB / 0.5254 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001287/0.3778, allocations: 76.34 kB / 0.5255 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.378, allocations: 77.34 kB / 0.5255 GB, free: 6.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3782, allocations: 210.1 kB / 0.5257 GB, free: 6.582 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.3784, allocations: 337.7 kB / 0.5261 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000722/0.3791, allocations: 0.7927 MB / 0.5268 GB, free: 6.082 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.3791, allocations: 0.7969 kB / 0.5268 GB, free: 6.082 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3791, allocations: 1.156 kB / 0.5268 GB, free: 6.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.039e-05/0.3792, allocations: 4 kB / 0.5268 GB, free: 6.078 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.002057/0.3812, allocations: 0.8383 MB / 0.5277 GB, free: 5.543 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.893e-05/0.3813, allocations: 10.39 kB / 0.5277 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.891e-05/0.3813, allocations: 11.72 kB / 0.5277 GB, free: 5.539 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001255/0.3814, allocations: 100.1 kB / 0.5278 GB, free: 5.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001942/0.3816, allocations: 65.66 kB / 0.5278 GB, free: 5.43 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006627/0.3823, allocations: 332.4 kB / 0.5281 GB, free: 5.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.3825, allocations: 104.5 kB / 0.5282 GB, free: 5.105 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/0.3826, allocations: 53.62 kB / 0.5283 GB, free: 5.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001699/0.3843, allocations: 0.6878 MB / 0.529 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.3843, allocations: 0 / 0.529 GB, free: 4.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-05/0.3844, allocations: 24.72 kB / 0.529 GB, free: 4.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.3844, allocations: 15.69 kB / 0.529 GB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001487/0.3859, allocations: 0.5987 MB / 0.5296 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005244/0.3911, allocations: 2.539 MB / 0.5321 GB, free: 3.273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.3923, allocations: 0.5238 MB / 0.5326 GB, free: 3.062 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009466/0.3932, allocations: 385 kB / 0.533 GB, free: 2.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.542e-05/0.3933, allocations: 9.5 kB / 0.533 GB, free: 2.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.3933, allocations: 46.39 kB / 0.533 GB, free: 2.871 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.3933, allocations: 0 / 0.533 GB, free: 2.871 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.006154/0.3995, allocations: 2.182 MB / 0.5351 GB, free: 2.016 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.3995, allocations: 58.02 kB / 0.5352 GB, free: 1.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004229/0.3999, allocations: 355.2 kB / 0.5355 GB, free: 1.762 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.4, allocations: 36.3 kB / 0.5356 GB, free: 1.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.4001, allocations: 233.4 kB / 0.5358 GB, free: 1.531 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000141/0.4002, allocations: 197.1 kB / 0.536 GB, free: 1.375 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/0.4005, allocations: 102.3 kB / 0.5361 GB, free: 1.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.742e-05/0.4005, allocations: 360.6 kB / 0.5364 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008749/0.4014, allocations: 374.1 kB / 0.5368 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/0.4023, allocations: 426.3 kB / 0.5372 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006803/0.4091, allocations: 2.006 MB / 0.5391 GB, free: 100 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.4091, allocations: 0 / 0.5391 GB, free: 100 kB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002098/0.4112, allocations: 0.8538 MB / 0.54 GB, free: 15.77 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.4112, allocations: 6.922 kB / 0.54 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.4112, allocations: 1.156 kB / 0.54 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.4112, allocations: 5.938 kB / 0.54 GB, free: 15.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006094/0.4173, allocations: 0.8975 MB / 0.5409 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.334e-05/0.4173, allocations: 7.281 kB / 0.5409 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000676/0.418, allocations: 65.45 kB / 0.5409 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.97e-05/0.4181, allocations: 21.8 kB / 0.541 GB, free: 15.41 MB / 398.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real 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 H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = \"K\" fixed = true nominal = 300.0 ) \"outlet fluid temp\" type: Real Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: $DER.tube.w = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 1 (Hon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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.00046/0.4185, allocations: 212.4 kB / 0.5412 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001209/0.4186, allocations: 49.44 kB / 0.5412 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002204/0.4208, allocations: 0.824 MB / 0.542 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.4209, allocations: 4.125 kB / 0.542 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.4209, allocations: 1.375 kB / 0.542 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4209, allocations: 3.984 kB / 0.542 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004043/0.4249, allocations: 1.764 MB / 0.5437 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.4249, allocations: 2.062 kB / 0.5437 GB, free: 13.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005911/0.4308, allocations: 0.8854 MB / 0.5446 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.4308, allocations: 2.656 kB / 0.5446 GB, free: 13.22 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000137/0.431, allocations: 22.36 kB / 0.5446 GB, free: 13.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-05/0.431, allocations: 14.45 kB / 0.5446 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.431, allocations: 1.281 kB / 0.5446 GB, free: 13.19 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.4343, allocations: 1.273 MB / 0.5459 GB, free: 12.47 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003532/0.4346, allocations: 48.14 kB / 0.5459 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.4348, allocations: 16.81 kB / 0.546 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.4354, allocations: 48.03 kB / 0.546 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/0.4357, allocations: 79.23 kB / 0.5461 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.4357, allocations: 27.42 kB / 0.5461 GB, free: 12.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004085/0.4361, allocations: 257.9 kB / 0.5463 GB, free: 12.17 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4361, allocations: 0 / 0.5463 GB, free: 12.17 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008211/0.437, allocations: 145 kB / 0.5465 GB, free: 12.15 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (stank.lcold,stank.Thot,stank.Tcold,H.Tfo,H.Ec,tube.T[1],tube.T[2],tube.T[3],tube.T[4],tube.T[5]) * 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 (53): * Single equations (assignments): 53 * 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.003629/0.4406, allocations: 1.83 MB / 0.5483 GB, free: 10.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.4428, allocations: 0.7426 MB / 0.549 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.099e-06/0.4428, allocations: 0 / 0.549 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001123/0.4439, allocations: 409.5 kB / 0.5494 GB, free: 10.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009887/0.4449, allocations: 105.2 kB / 0.5495 GB, free: 10.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01272/0.4576, allocations: 6.167 MB / 0.5555 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005199/0.4581, allocations: 0.858 MB / 0.5563 GB, free: 5.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.4586, allocations: 95.33 kB / 0.5564 GB, free: 5.5 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.459, allocations: 193.7 kB / 0.5566 GB, free: 5.344 MB / 398.1 MB Notification: Performance of SimCode: time 9.21e-07/0.459, allocations: 0 / 0.5566 GB, free: 5.344 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03761/0.4966, allocations: 13.4 MB / 0.5697 GB, free: 9.145 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.38/12.88, allocations: 6.641 kB / 0.5697 GB, free: 9.141 MB / 414.1 MB " [Timeout remaining time 647] (rm -f AES_AES.Devel_test_models.Test_stank_002.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_002.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_002.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_002.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_002_fmu --startTime=0 --stopTime=10000 --stepSize=1 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_002.fmu > AES_AES.Devel_test_models.Test_stank_002.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.965496194025036] Failed to read output from testmodel.py, exit status != 0: 13.05143233097624 13.067822584 12.685384708 Calling exit ...