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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 109.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001931/0.001931, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.09656/0.09656, allocations: 22.69 MB / 325.4 MB, free: 3.539 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.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_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_002,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_002",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.88 kB / 457.2 MB, free: 1.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1141, allocations: 58.02 MB / 0.5031 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.004591/0.1187, allocations: 3.23 MB / 0.5063 GB, free: 4.371 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.1204, allocations: 0.904 MB / 0.5072 GB, free: 3.461 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1205, allocations: 8 kB / 0.5072 GB, free: 3.453 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002137/0.1207, allocations: 71.3 kB / 0.5072 GB, free: 3.383 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.1211, allocations: 170.7 kB / 0.5074 GB, free: 3.215 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.1216, allocations: 191.7 kB / 0.5076 GB, free: 3.027 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007474/0.1223, allocations: 0.7445 MB / 0.5083 GB, free: 2.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005263/0.1229, allocations: 377.7 kB / 0.5087 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003399/0.1232, allocations: 315 kB / 0.509 GB, free: 1.598 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.1237, allocations: 390.8 kB / 0.5093 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000109/0.1238, allocations: 76 kB / 0.5094 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1239, allocations: 76 kB / 0.5095 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002/0.1241, allocations: 207.4 kB / 0.5097 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003255/0.1244, allocations: 338.5 kB / 0.51 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2085/0.3329, allocations: 0.7953 MB / 0.5108 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.3329, allocations: 0 / 0.5108 GB, free: 12.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.3329, allocations: 1.188 kB / 0.5108 GB, free: 12.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.98e-05/0.3329, allocations: 0 / 0.5108 GB, free: 12.09 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.001999/0.3349, allocations: 0.9118 MB / 0.5117 GB, free: 11.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.335, allocations: 10.91 kB / 0.5117 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.948e-05/0.3351, allocations: 94.89 kB / 0.5118 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.3352, allocations: 64.5 kB / 0.5118 GB, free: 11.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005242/0.3357, allocations: 391 kB / 0.5122 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/0.3358, allocations: 109.8 kB / 0.5123 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.336, allocations: 56.78 kB / 0.5124 GB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.3373, allocations: 0.6884 MB / 0.513 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.975e-05/0.3374, allocations: 0 / 0.513 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.3374, allocations: 24.33 kB / 0.5131 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.255e-05/0.3374, allocations: 10.41 kB / 0.5131 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001197/0.3386, allocations: 0.5989 MB / 0.5137 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00468/0.3433, allocations: 2.578 MB / 0.5162 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/0.3444, allocations: 0.5321 MB / 0.5167 GB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008085/0.3452, allocations: 387.8 kB / 0.5171 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.622e-05/0.3452, allocations: 12.31 kB / 0.5171 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.3453, allocations: 36.88 kB / 0.5171 GB, free: 10.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=46): time 2.354e-06/0.3453, allocations: 0 / 0.5171 GB, free: 10.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=52): time 0.005578/0.3508, allocations: 2.259 MB / 0.5193 GB, free: 9.625 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.3509, allocations: 57.62 kB / 0.5194 GB, free: 9.562 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.3513, allocations: 362.9 kB / 0.5197 GB, free: 9.371 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.3513, allocations: 36.42 kB / 0.5197 GB, free: 9.332 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3514, allocations: 236.8 kB / 0.52 GB, free: 9.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3516, allocations: 198.1 kB / 0.5202 GB, free: 8.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/0.3517, allocations: 97.97 kB / 0.5203 GB, free: 8.938 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.789e-05/0.3518, allocations: 356.5 kB / 0.5206 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007861/0.3526, allocations: 372.4 kB / 0.521 GB, free: 8.477 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008059/0.3534, allocations: 426.3 kB / 0.5214 GB, free: 8.285 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.3594, allocations: 2.079 MB / 0.5234 GB, free: 7.629 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3594, allocations: 5.062 kB / 0.5234 GB, free: 7.625 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001781/0.3612, allocations: 0.8527 MB / 0.5242 GB, free: 7.312 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3612, allocations: 10.78 kB / 0.5242 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.3613, allocations: 1.125 kB / 0.5242 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.3613, allocations: 4.125 kB / 0.5242 GB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00519/0.3665, allocations: 0.9004 MB / 0.5251 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.3665, allocations: 5.016 kB / 0.5251 GB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005346/0.367, allocations: 59.44 kB / 0.5252 GB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.3671, allocations: 20.81 kB / 0.5252 GB, free: 7.27 MB / 382.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.0003353/0.3674, allocations: 208.2 kB / 0.5254 GB, free: 7.109 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.84e-05/0.3675, allocations: 47.56 kB / 0.5254 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/0.3692, allocations: 0.8216 MB / 0.5262 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.3692, allocations: 4.75 kB / 0.5263 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.3692, allocations: 1.703 kB / 0.5263 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.815e-06/0.3692, allocations: 4.125 kB / 0.5263 GB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.3724, allocations: 1.804 MB / 0.528 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3724, allocations: 1.156 kB / 0.528 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005323/0.3777, allocations: 0.8898 MB / 0.5289 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.3777, allocations: 6.156 kB / 0.5289 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-05/0.3778, allocations: 18.09 kB / 0.5289 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.3778, allocations: 6.781 kB / 0.5289 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.3778, allocations: 5.891 kB / 0.5289 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002543/0.3803, allocations: 1.275 MB / 0.5302 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.3805, allocations: 120.5 kB / 0.5303 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.631e-05/0.3806, allocations: 17.58 kB / 0.5303 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004813/0.381, allocations: 51.59 kB / 0.5304 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000157/0.3812, allocations: 81.62 kB / 0.5304 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.182e-05/0.3812, allocations: 21.72 kB / 0.5304 GB, free: 5.102 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002352/0.3815, allocations: 258.9 kB / 0.5307 GB, free: 4.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3815, allocations: 0 / 0.5307 GB, free: 4.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004998/0.382, allocations: 146 kB / 0.5308 GB, free: 4.949 MB / 382.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.002515/0.3845, allocations: 1.828 MB / 0.5326 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.3862, allocations: 0.739 MB / 0.5333 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3862, allocations: 3.75 kB / 0.5333 GB, free: 3.609 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007751/0.3869, allocations: 414.8 kB / 0.5337 GB, free: 3.418 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.3875, allocations: 99.78 kB / 0.5338 GB, free: 3.375 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009588/0.3971, allocations: 6.161 MB / 0.5399 GB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005289/0.3976, allocations: 0.8587 MB / 0.5407 GB, free: 14.71 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004463/0.398, allocations: 97.81 kB / 0.5408 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003695/0.3984, allocations: 186.6 kB / 0.541 GB, free: 14.52 MB / 398.1 MB Notification: Performance of SimCode: time 7.21e-07/0.3984, allocations: 0 / 0.541 GB, free: 14.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03842/0.4368, allocations: 12.85 MB / 0.5535 GB, free: 5.004 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.591/9.028, allocations: 4 kB / 0.5535 GB, free: 5 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.702009070198983] Failed to read output from testmodel.py, exit status != 0: 9.11480971891433 9.128408656 8.792658682 Calling exit ...