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.0008082/0.0008082, allocations: 76.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0007953/0.0007953, allocations: 173.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8936/0.8936, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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.06175/0.06175, allocations: 18.12 MB / 278.1 MB, free: 11.55 MB / 266.7 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="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 2.966e-06/2.966e-06, allocations: 0 / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.964e-05/2.26e-05, allocations: 2.984 kB / 415.1 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002695/0.002717, allocations: 2.947 MB / 418 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00132/0.004037, allocations: 0.9074 MB / 418.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001622/0.004199, allocations: 7.469 kB / 418.9 MB, free: 10.11 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001652/0.004365, allocations: 68.98 kB / 419 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002623/0.004627, allocations: 183.6 kB / 419.2 MB, free: 9.945 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005136/0.00514, allocations: 197.9 kB / 419.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006822/0.005823, allocations: 0.765 MB / 420.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005153/0.006338, allocations: 358.4 kB / 420.5 MB, free: 9.297 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004252/0.006763, allocations: 301.6 kB / 420.8 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004108/0.007174, allocations: 314.9 kB / 421.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001037/0.007278, allocations: 76 kB / 421.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.807e-05/0.007376, allocations: 77.38 kB / 421.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001537/0.007529, allocations: 221.4 kB / 421.5 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.007734, allocations: 249.6 kB / 421.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007287/0.008462, allocations: 0.8497 MB / 422.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.008465, allocations: 1.469 kB / 422.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.52e-07/0.008466, allocations: 4 kB / 422.6 MB, free: 8.484 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.776e-05/0.008484, allocations: 3.938 kB / 422.6 MB, free: 8.48 MB / 330.7 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.001345/0.009829, allocations: 0.8326 MB / 423.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.009864, allocations: 10.23 kB / 423.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.182e-05/0.009946, allocations: 95.58 kB / 423.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.846e-05/0.01004, allocations: 62.23 kB / 423.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.01044, allocations: 331.7 kB / 423.9 MB, free: 7.594 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.655e-05/0.01053, allocations: 112.9 kB / 424 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.812e-05/0.01061, allocations: 50.34 kB / 424 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.01166, allocations: 0.7341 MB / 424.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.01167, allocations: 1.219 kB / 424.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.01171, allocations: 25.05 kB / 424.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.01172, allocations: 10.94 kB / 424.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009123/0.01264, allocations: 0.5966 MB / 425.4 MB, free: 6.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/0.01781, allocations: 2.38 MB / 427.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.01914, allocations: 0.5238 MB / 428.3 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008514/0.01999, allocations: 389.5 kB / 428.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.611e-05/0.02004, allocations: 9.438 kB / 428.7 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.362e-05/0.02006, allocations: 42.22 kB / 428.7 MB, free: 5.262 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 3.547e-06/0.02007, allocations: 4 kB / 428.7 MB, free: 5.258 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.005626/0.02569, allocations: 2.177 MB / 430.9 MB, free: 4.406 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.02573, allocations: 57.56 kB / 431 MB, free: 4.344 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004302/0.02616, allocations: 362.2 kB / 431.3 MB, free: 4.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.218e-05/0.02621, allocations: 31.95 kB / 431.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001229/0.02633, allocations: 234.2 kB / 431.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.02648, allocations: 200.8 kB / 431.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.02667, allocations: 97.41 kB / 431.9 MB, free: 3.715 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.821e-05/0.02674, allocations: 353.7 kB / 432.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007712/0.02751, allocations: 372.9 kB / 432.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008265/0.02834, allocations: 428.6 kB / 433 MB, free: 3.055 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/0.03329, allocations: 2.004 MB / 435 MB, free: 2.125 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.03329, allocations: 0 / 435 MB, free: 2.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001282/0.03457, allocations: 0.8555 MB / 435.9 MB, free: 1.691 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/0.0346, allocations: 10.06 kB / 435.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.03461, allocations: 1.156 kB / 435.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.03464, allocations: 5.406 kB / 435.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002847/0.03749, allocations: 0.903 MB / 436.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.0375, allocations: 9.312 kB / 436.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004512/0.03795, allocations: 51.53 kB / 436.9 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.03799, allocations: 22.48 kB / 436.9 MB, free: 1.332 MB / 330.7 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.0003979/0.03839, allocations: 211.7 kB / 437.1 MB, free: 1.152 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.659e-05/0.03848, allocations: 48.09 kB / 437.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.03967, allocations: 0.8287 MB / 438 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.868e-06/0.03968, allocations: 10.38 kB / 438 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.03969, allocations: 0 / 438 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.355e-06/0.0397, allocations: 7.922 kB / 438 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002532/0.04223, allocations: 1.658 MB / 439.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.04223, allocations: 5.469 kB / 439.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002858/0.04509, allocations: 0.8856 MB / 440.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.859e-05/0.04511, allocations: 0 / 440.5 MB, free: 14.93 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.04524, allocations: 23.98 kB / 440.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/0.04524, allocations: 7.938 kB / 440.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.04525, allocations: 0 / 440.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.04706, allocations: 1.271 MB / 441.8 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001608/0.04722, allocations: 51.66 kB / 441.9 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.056e-05/0.04728, allocations: 16.09 kB / 441.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/0.04758, allocations: 55.88 kB / 441.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/0.04772, allocations: 76.3 kB / 442 MB, free: 13.4 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.04775, allocations: 23.92 kB / 442 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002433/0.04799, allocations: 255.2 kB / 442.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.04799, allocations: 0 / 442.3 MB, free: 13.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004925/0.04848, allocations: 144 kB / 442.4 MB, free: 12.99 MB / 346.7 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.002079/0.05056, allocations: 1.835 MB / 444.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001306/0.05187, allocations: 0.7482 MB / 445 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.05187, allocations: 0 / 445 MB, free: 10.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.05243, allocations: 411 kB / 445.4 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005238/0.05295, allocations: 109.7 kB / 445.5 MB, free: 9.867 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007454/0.0604, allocations: 5.985 MB / 451.5 MB, free: 3.73 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.06058, allocations: 266.1 kB / 451.8 MB, free: 3.449 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003133/0.06089, allocations: 92.33 kB / 451.9 MB, free: 3.359 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002684/0.06116, allocations: 188.4 kB / 452 MB, free: 3.176 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/0.06116, allocations: 0 / 452 MB, free: 3.176 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02657/0.08774, allocations: 14.33 MB / 466.4 MB, free: 5.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.306/7.394, allocations: 8.438 kB / 466.4 MB, free: 5.082 MB / 362.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_002_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1 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: 9.49301356356591] Failed to read output from testmodel.py, exit status != 0: 7.4806640185415745 7.489592132 7.479398949 Calling exit ...