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.0008761/0.0008761, allocations: 72.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.0009273/0.0009273, allocations: 169.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.8652/0.8652, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06009/0.06009, allocations: 18.13 MB / 278.1 MB, free: 11.53 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 1.383e-06/1.383e-06, allocations: 0 / 415.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.754e-05, allocations: 2.281 kB / 415.1 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.002674/0.002691, allocations: 2.946 MB / 418 MB, free: 10.75 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.003842, allocations: 0.9013 MB / 418.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.003982, allocations: 7.531 kB / 418.9 MB, free: 10.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001554/0.004137, allocations: 71.86 kB / 419 MB, free: 10.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.004372, allocations: 180.2 kB / 419.2 MB, free: 9.949 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.004821, allocations: 202 kB / 419.4 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006041/0.005425, allocations: 0.7662 MB / 420.1 MB, free: 9.457 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00042/0.005845, allocations: 352.8 kB / 420.5 MB, free: 9.301 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003462/0.006191, allocations: 302.5 kB / 420.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.006525, allocations: 317.8 kB / 421.1 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 9.012e-05/0.006615, allocations: 77.66 kB / 421.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.339e-05/0.006709, allocations: 77.28 kB / 421.2 MB, free: 9.066 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001233/0.006832, allocations: 215.7 kB / 421.5 MB, free: 8.938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001811/0.007013, allocations: 254.6 kB / 421.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.007652, allocations: 0.8496 MB / 422.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.007654, allocations: 0.7031 kB / 422.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.007655, allocations: 0 / 422.6 MB, free: 8.488 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.007672, allocations: 5.031 kB / 422.6 MB, free: 8.484 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.001194/0.008866, allocations: 0.8324 MB / 423.4 MB, free: 7.949 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.008901, allocations: 14.36 kB / 423.4 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.861e-05/0.008979, allocations: 96.19 kB / 423.5 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.398e-05/0.009073, allocations: 61.39 kB / 423.6 MB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003818/0.009455, allocations: 334.9 kB / 423.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.103e-05/0.009536, allocations: 109.5 kB / 424 MB, free: 7.508 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.274e-05/0.009609, allocations: 49.97 kB / 424 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/0.01059, allocations: 0.7311 MB / 424.8 MB, free: 7.191 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.0106, allocations: 5.281 kB / 424.8 MB, free: 7.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.01064, allocations: 24.53 kB / 424.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.01065, allocations: 10.53 kB / 424.8 MB, free: 7.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000864/0.01152, allocations: 0.6037 MB / 425.4 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003692/0.01521, allocations: 2.365 MB / 427.8 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008676/0.01607, allocations: 0.5282 MB / 428.3 MB, free: 5.457 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.01666, allocations: 386.8 kB / 428.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.453e-05/0.0167, allocations: 5.406 kB / 428.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.01673, allocations: 41.36 kB / 428.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 2.455e-06/0.01673, allocations: 0 / 428.7 MB, free: 5.273 MB / 330.7 MB Notification: Performance of matching and sorting (n=52): time 0.004062/0.02079, allocations: 2.195 MB / 430.9 MB, free: 4.402 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.02082, allocations: 57 kB / 431 MB, free: 4.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003328/0.02115, allocations: 356.8 kB / 431.3 MB, free: 4.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.55e-05/0.02118, allocations: 36.05 kB / 431.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.02128, allocations: 233.3 kB / 431.6 MB, free: 3.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.02139, allocations: 199.3 kB / 431.8 MB, free: 3.766 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.02152, allocations: 96.09 kB / 431.9 MB, free: 3.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.348e-05/0.02158, allocations: 354.7 kB / 432.2 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005172/0.02209, allocations: 373.9 kB / 432.6 MB, free: 3.254 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.02261, allocations: 420 kB / 433 MB, free: 3.062 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003563/0.02618, allocations: 2.014 MB / 435 MB, free: 2.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.02618, allocations: 0 / 435 MB, free: 2.117 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001125/0.0273, allocations: 0.8523 MB / 435.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.02733, allocations: 5.969 kB / 435.9 MB, free: 1.688 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.02734, allocations: 9.078 kB / 435.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.02736, allocations: 5.469 kB / 435.9 MB, free: 1.68 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/0.02999, allocations: 0.8947 MB / 436.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.03001, allocations: 10.53 kB / 436.8 MB, free: 1.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.03036, allocations: 56.98 kB / 436.8 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/0.03039, allocations: 18.5 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.0003095/0.0307, allocations: 215.9 kB / 437.1 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/0.03076, allocations: 49.44 kB / 437.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.03185, allocations: 0.8278 MB / 438 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.03185, allocations: 9.344 kB / 438 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.768e-06/0.03186, allocations: 2.125 kB / 438 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.03186, allocations: 0 / 438 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002123/0.03398, allocations: 1.663 MB / 439.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.03399, allocations: 0 / 439.6 MB, free: 15.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002683/0.03667, allocations: 0.8967 MB / 440.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.03668, allocations: 7.984 kB / 440.5 MB, free: 14.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.51e-05/0.03674, allocations: 15.98 kB / 440.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.03675, allocations: 8 kB / 440.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.03675, allocations: 0 / 440.6 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.03837, allocations: 1.279 MB / 441.8 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.03849, allocations: 47.66 kB / 441.9 MB, free: 13.53 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.03855, allocations: 19.98 kB / 441.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002537/0.0388, allocations: 47.94 kB / 441.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.03892, allocations: 80.3 kB / 442 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-05/0.03895, allocations: 19.98 kB / 442 MB, free: 13.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000196/0.03915, allocations: 255.2 kB / 442.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.03915, allocations: 0 / 442.3 MB, free: 13.12 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003818/0.03953, allocations: 151.9 kB / 442.4 MB, free: 12.97 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.001757/0.04129, allocations: 1.827 MB / 444.3 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.0424, allocations: 0.7443 MB / 445 MB, free: 10.37 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.0424, allocations: 4 kB / 445 MB, free: 10.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.04292, allocations: 411 kB / 445.4 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004776/0.0434, allocations: 110.2 kB / 445.5 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007067/0.05046, allocations: 5.994 MB / 451.5 MB, free: 3.711 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001633/0.05063, allocations: 254.2 kB / 451.8 MB, free: 3.441 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002852/0.05091, allocations: 100.3 kB / 451.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.05117, allocations: 184.4 kB / 452 MB, free: 3.164 MB / 346.7 MB Notification: Performance of SimCode: time 8.02e-07/0.05117, allocations: 0 / 452 MB, free: 3.164 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02565/0.07682, allocations: 14.32 MB / 466.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.16, allocations: 8.562 kB / 466.4 MB, free: 5.066 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 & /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: 9.096335614100099] Failed to read output from testmodel.py, exit status != 0: 7.2458017794415355 7.257594803 7.248076399 Calling exit ...