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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 192.5 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.239/1.239, allocations: 222.9 MB / 240.2 MB, free: 4.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1745/0.1745, allocations: 22.34 MB / 312.7 MB, free: 12.5 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002331/0.002331, allocations: 63.89 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.286/0.2884, allocations: 54.93 MB / 435.9 MB, free: 39.5 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003252/0.2916, allocations: 3.214 MB / 439.1 MB, free: 37.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001249/0.2929, allocations: 0.9074 MB / 440 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001484/0.2931, allocations: 3.281 kB / 440 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001875/0.2933, allocations: 69.83 kB / 440.1 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002821/0.2936, allocations: 161.5 kB / 440.2 MB, free: 36.39 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.294, allocations: 196.8 kB / 440.4 MB, free: 36.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004658/0.2945, allocations: 0.7391 MB / 441.1 MB, free: 35.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000424/0.2949, allocations: 440.3 kB / 441.6 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2951, allocations: 308.5 kB / 441.9 MB, free: 35.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003348/0.2955, allocations: 388.1 kB / 442.3 MB, free: 35.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.078e-05/0.2956, allocations: 79.41 kB / 442.3 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001145/0.2957, allocations: 76.75 kB / 442.4 MB, free: 35.42 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.2958, allocations: 211.3 kB / 442.6 MB, free: 35.3 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002216/0.2961, allocations: 342.3 kB / 442.9 MB, free: 35.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004444/0.2965, allocations: 0.7846 MB / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2965, allocations: 0 / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2965, allocations: 0 / 443.7 MB, free: 34.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.2965, allocations: 0 / 443.7 MB, free: 34.8 MB / 350.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.001592/0.2981, allocations: 0.8992 MB / 444.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.2982, allocations: 15.5 kB / 444.6 MB, free: 34.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.851e-05/0.2983, allocations: 93.39 kB / 444.7 MB, free: 34.11 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.2984, allocations: 63.78 kB / 444.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.2988, allocations: 387.7 kB / 445.2 MB, free: 33.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.2989, allocations: 107.8 kB / 445.3 MB, free: 33.68 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.84e-05/0.299, allocations: 48.94 kB / 445.3 MB, free: 33.67 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.3003, allocations: 0.6895 MB / 446 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.3004, allocations: 0 / 446 MB, free: 33.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.963e-05/0.3004, allocations: 22.7 kB / 446 MB, free: 33.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.3004, allocations: 15.84 kB / 446.1 MB, free: 33.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.3017, allocations: 0.6028 MB / 446.7 MB, free: 33.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004361/0.3061, allocations: 2.588 MB / 449.3 MB, free: 31.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009814/0.3071, allocations: 0.5343 MB / 449.8 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007583/0.3078, allocations: 398.4 kB / 450.2 MB, free: 31.47 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.138e-05/0.3079, allocations: 9.766 kB / 450.2 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.3079, allocations: 38.94 kB / 450.2 MB, free: 31.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 1.884e-06/0.3079, allocations: 2.625 kB / 450.2 MB, free: 31.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005029/0.3129, allocations: 2.165 MB / 452.4 MB, free: 30.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.067e-05/0.313, allocations: 61.56 kB / 452.5 MB, free: 30.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.3133, allocations: 355 kB / 452.8 MB, free: 30.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/0.3133, allocations: 32.36 kB / 452.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.341e-05/0.3134, allocations: 230.4 kB / 453.1 MB, free: 30.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3135, allocations: 184.1 kB / 453.2 MB, free: 29.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001677/0.3137, allocations: 98 kB / 453.3 MB, free: 29.81 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.05e-05/0.3137, allocations: 358.5 kB / 453.7 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007612/0.3145, allocations: 368.5 kB / 454 MB, free: 29.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007532/0.3153, allocations: 410.3 kB / 454.4 MB, free: 29.17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006376/0.3217, allocations: 1.98 MB / 456.4 MB, free: 28.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3217, allocations: 0 / 456.4 MB, free: 28.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001755/0.3234, allocations: 0.8448 MB / 457.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.3235, allocations: 5.844 kB / 457.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.3235, allocations: 5.625 kB / 457.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.3235, allocations: 4.25 kB / 457.3 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00595/0.3295, allocations: 0.8923 MB / 458.2 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.3295, allocations: 12.34 kB / 458.2 MB, free: 28.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/0.33, allocations: 54.89 kB / 458.2 MB, free: 28.24 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-05/0.3301, allocations: 28.62 kB / 458.3 MB, free: 28.23 MB / 350.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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (66): * Single equations (assignments): 66 * 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.0003421/0.3304, allocations: 201.9 kB / 458.5 MB, free: 28.06 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.447e-05/0.3305, allocations: 45.62 kB / 458.5 MB, free: 28.04 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.3325, allocations: 0.8167 MB / 459.3 MB, free: 27.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3325, allocations: 10 kB / 459.3 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.3325, allocations: 0.7969 kB / 459.3 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3325, allocations: 2.203 kB / 459.3 MB, free: 27.72 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003144/0.3357, allocations: 1.736 MB / 461.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.3357, allocations: 0 / 461.1 MB, free: 26.85 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00596/0.3416, allocations: 0.8833 MB / 462 MB, free: 26.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.888e-06/0.3417, allocations: 5.984 kB / 462 MB, free: 26.81 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.075e-05/0.3417, allocations: 17.55 kB / 462 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.3417, allocations: 3.203 kB / 462 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3418, allocations: 5.031 kB / 462 MB, free: 26.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0026/0.3444, allocations: 1.246 MB / 463.2 MB, free: 26.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.832e-05/0.3445, allocations: 119.4 kB / 463.3 MB, free: 26.14 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.872e-05/0.3446, allocations: 14.39 kB / 463.4 MB, free: 26.13 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000519/0.3451, allocations: 51.89 kB / 463.4 MB, free: 26.12 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001779/0.3453, allocations: 76.33 kB / 463.5 MB, free: 26.1 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.3453, allocations: 17.58 kB / 463.5 MB, free: 26.1 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002538/0.3456, allocations: 261.7 kB / 463.8 MB, free: 25.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3456, allocations: 0 / 463.8 MB, free: 25.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004922/0.3461, allocations: 140.3 kB / 463.9 MB, free: 25.95 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 51 * 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.002721/0.3488, allocations: 1.798 MB / 465.7 MB, free: 24.87 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001883/0.3507, allocations: 0.8297 MB / 466.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/0.3507, allocations: 0 / 466.5 MB, free: 24.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008468/0.3516, allocations: 414.8 kB / 466.9 MB, free: 24.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005617/0.3521, allocations: 108.6 kB / 467 MB, free: 24.41 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.3623, allocations: 6.129 MB / 473.2 MB, free: 21.13 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3626, allocations: 0.8505 MB / 474 MB, free: 20.42 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004265/0.363, allocations: 96.27 kB / 474.1 MB, free: 20.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003443/0.3634, allocations: 186.1 kB / 474.3 MB, free: 20.27 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3634, allocations: 0 / 474.3 MB, free: 20.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02681/0.3902, allocations: 12.48 MB / 486.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.598/7.988, allocations: 11.61 kB / 486.8 MB, free: 10.51 MB / 350.1 MB (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 --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)