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.0009648/0.0009648, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008937/0.0008939, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.453/1.453, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2448/0.2448, allocations: 22.34 MB / 313.3 MB, free: 13.14 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004874, allocations: 16 kB / 381.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3872/0.3878, allocations: 55.97 MB / 437.9 MB, free: 39.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003568/0.3914, allocations: 2.71 MB / 440.6 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3934, allocations: 0.9341 MB / 441.5 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3937, allocations: 6.812 kB / 441.5 MB, free: 36.49 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001826/0.3939, allocations: 55.61 kB / 441.6 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002701/0.3942, allocations: 164.1 kB / 441.8 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000461/0.3946, allocations: 147.6 kB / 441.9 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004258/0.3951, allocations: 464.4 kB / 442.4 MB, free: 36.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000406/0.3955, allocations: 347.2 kB / 442.7 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.3957, allocations: 254.1 kB / 442.9 MB, free: 35.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003383/0.3961, allocations: 325 kB / 443.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.227e-05/0.3961, allocations: 45.62 kB / 443.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.242e-05/0.3962, allocations: 43.66 kB / 443.3 MB, free: 35.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3964, allocations: 163 kB / 443.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.3965, allocations: 127.6 kB / 443.6 MB, free: 35.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004163/0.3969, allocations: 0.578 MB / 444.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.3969, allocations: 0 / 444.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.686e-06/0.3969, allocations: 6.969 kB / 444.2 MB, free: 35.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.3969, allocations: 0 / 444.2 MB, free: 35.38 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.001577/0.3985, allocations: 0.8071 MB / 445 MB, free: 34.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/0.3986, allocations: 9.719 kB / 445 MB, free: 34.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001011/0.3987, allocations: 94.45 kB / 445.1 MB, free: 34.74 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.3988, allocations: 65.97 kB / 445.2 MB, free: 34.71 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.3993, allocations: 374.9 kB / 445.6 MB, free: 34.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/0.3994, allocations: 109.5 kB / 445.7 MB, free: 34.34 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.796e-05/0.3995, allocations: 49.31 kB / 445.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.4009, allocations: 0.7269 MB / 446.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.4009, allocations: 2.781 kB / 446.4 MB, free: 34.06 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.943e-05/0.401, allocations: 22.47 kB / 446.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.401, allocations: 11.69 kB / 446.5 MB, free: 34.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001306/0.4023, allocations: 0.6342 MB / 447.1 MB, free: 33.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004787/0.4071, allocations: 2.689 MB / 449.8 MB, free: 32.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.4082, allocations: 0.57 MB / 450.4 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.4082, allocations: 7.219 kB / 450.4 MB, free: 32.24 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/0.4083, allocations: 37.56 kB / 450.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.124e-06/0.4083, allocations: 2.625 kB / 450.4 MB, free: 32.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.005267/0.4136, allocations: 2.343 MB / 452.8 MB, free: 31.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.4136, allocations: 55.69 kB / 452.8 MB, free: 31.18 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.4139, allocations: 363.1 kB / 453.2 MB, free: 30.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.414, allocations: 36.67 kB / 453.2 MB, free: 30.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.4141, allocations: 229.6 kB / 453.4 MB, free: 30.77 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.4142, allocations: 178.1 kB / 453.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.4143, allocations: 11.25 kB / 453.6 MB, free: 30.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.452e-05/0.4144, allocations: 354.3 kB / 454 MB, free: 30.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/0.4152, allocations: 401.1 kB / 454.3 MB, free: 30.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007848/0.416, allocations: 444.9 kB / 454.8 MB, free: 29.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000787/0.4168, allocations: 388.6 kB / 455.2 MB, free: 29.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4168, allocations: 1.25 kB / 455.2 MB, free: 29.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002028/0.4188, allocations: 0.9093 MB / 456.1 MB, free: 29.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.4188, allocations: 5.25 kB / 456.1 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.4188, allocations: 2.438 kB / 456.1 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/0.4189, allocations: 8.172 kB / 456.1 MB, free: 29.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/0.425, allocations: 1.19 MB / 457.3 MB, free: 29.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.412e-05/0.4251, allocations: 8.172 kB / 457.3 MB, free: 29.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.4258, allocations: 77.22 kB / 457.4 MB, free: 29.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.359e-05/0.4259, allocations: 25.77 kB / 457.4 MB, free: 29.4 MB / 350.1 MB Warning: Assuming fixed start value for the following 5 variables: H.Ec:VARIABLE(flow=false fixed = true ) type: Real H.Tfo:VARIABLE(min = 0.0 start = H.Tstart unit = "K" fixed = true nominal = 300.0 ) "outlet fluid temp" type: Real stank.Tcold:VARIABLE(min = 0.0 start = stank.Tcoldstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.Thot:VARIABLE(min = 0.0 start = stank.Thotstart unit = "K" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) type: Real stank.lcold:VARIABLE(start = stank.lcoldstart unit = "m" fixed = true stateSelect=StateSelect.prefer ) "cold height" 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004171/0.4263, allocations: 198 kB / 457.6 MB, free: 29.24 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.4264, allocations: 48.59 kB / 457.6 MB, free: 29.21 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00214/0.4285, allocations: 0.8814 MB / 458.5 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.4286, allocations: 8.5 kB / 458.5 MB, free: 28.9 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/0.4286, allocations: 8.922 kB / 458.5 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.4286, allocations: 7.219 kB / 458.5 MB, free: 28.89 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003812/0.4324, allocations: 1.819 MB / 460.4 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4324, allocations: 1.219 kB / 460.4 MB, free: 28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006404/0.4389, allocations: 1.175 MB / 461.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.616e-05/0.4389, allocations: 2.594 kB / 461.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/0.439, allocations: 17.89 kB / 461.5 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.439, allocations: 3.297 kB / 461.6 MB, free: 27.93 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.439, allocations: 3.938 kB / 461.6 MB, free: 27.92 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002885/0.4419, allocations: 1.371 MB / 462.9 MB, free: 27.35 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.4421, allocations: 115.2 kB / 463 MB, free: 27.23 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.043e-05/0.4422, allocations: 15.34 kB / 463.1 MB, free: 27.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000635/0.4428, allocations: 69.16 kB / 463.1 MB, free: 27.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.443, allocations: 74.34 kB / 463.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.4431, allocations: 17.11 kB / 463.2 MB, free: 27.2 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002808/0.4433, allocations: 260.4 kB / 463.5 MB, free: 27.05 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4434, allocations: 0 / 463.5 MB, free: 27.05 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.4439, allocations: 144.8 kB / 463.6 MB, free: 27.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003274/0.4472, allocations: 1.984 MB / 465.6 MB, free: 25.86 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002021/0.4492, allocations: 0.845 MB / 466.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.4492, allocations: 1.562 kB / 466.4 MB, free: 25.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009379/0.4502, allocations: 441.2 kB / 466.9 MB, free: 25.46 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005396/0.4507, allocations: 93.66 kB / 467 MB, free: 25.42 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.4565, allocations: 3.528 MB / 470.5 MB, free: 22.99 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.457, allocations: 0.8658 MB / 471.4 MB, free: 22.28 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005728/0.4576, allocations: 95.58 kB / 471.4 MB, free: 22.26 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004062/0.458, allocations: 186.5 kB / 471.6 MB, free: 22.13 MB / 350.1 MB Notification: Performance of SimCode: time 1.272e-06/0.458, allocations: 0 / 471.6 MB, free: 22.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02752/0.4855, allocations: 11.13 MB / 482.8 MB, free: 16.09 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000133/0.4857, allocations: 177.8 kB / 482.9 MB, free: 15.83 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.948/2.434, allocations: 0 / 482.9 MB, free: 15.83 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/linux/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) Environment - environmentSimulation: