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.001804/0.001804, allocations: 108 kB / 15.61 MB, free: 152 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.002069/0.002069, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2479/0.2479, allocations: 22.36 MB / 312.7 MB, free: 12.58 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002422, allocations: 55.91 kB / 380.9 MB, free: 10.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3038, allocations: 54.94 MB / 435.9 MB, free: 39.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_002): time 0.003438/0.3073, allocations: 3.207 MB / 439.1 MB, free: 37.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.3086, allocations: 0.9054 MB / 440 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001473/0.3088, allocations: 8.938 kB / 440 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001749/0.309, allocations: 67.42 kB / 440.1 MB, free: 36.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002622/0.3092, allocations: 161.9 kB / 440.2 MB, free: 36.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004307/0.3097, allocations: 193.6 kB / 440.4 MB, free: 36.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005178/0.3102, allocations: 0.7405 MB / 441.1 MB, free: 36.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004416/0.3107, allocations: 445.5 kB / 441.6 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002411/0.3109, allocations: 302.2 kB / 441.9 MB, free: 35.82 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003609/0.3113, allocations: 388.7 kB / 442.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.744e-05/0.3114, allocations: 77.59 kB / 442.3 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.3115, allocations: 77.56 kB / 442.4 MB, free: 35.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.3116, allocations: 212 kB / 442.6 MB, free: 35.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002461/0.3119, allocations: 344 kB / 443 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004859/0.3124, allocations: 0.7863 MB / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3124, allocations: 0 / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3124, allocations: 0 / 443.7 MB, free: 35.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.3124, allocations: 0 / 443.7 MB, free: 35.02 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.001658/0.3141, allocations: 0.8974 MB / 444.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.3141, allocations: 8.75 kB / 444.6 MB, free: 34.4 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.715e-05/0.3142, allocations: 96.39 kB / 444.7 MB, free: 34.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3143, allocations: 61.62 kB / 444.8 MB, free: 34.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.3148, allocations: 389 kB / 445.2 MB, free: 33.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.3149, allocations: 104.3 kB / 445.3 MB, free: 33.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.281e-05/0.315, allocations: 55.58 kB / 445.3 MB, free: 33.89 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.3164, allocations: 0.6905 MB / 446 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.3164, allocations: 0 / 446 MB, free: 33.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.138e-05/0.3165, allocations: 25.88 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/0.3165, allocations: 11.12 kB / 446.1 MB, free: 33.62 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.3178, allocations: 0.5973 MB / 446.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004449/0.3222, allocations: 2.596 MB / 449.3 MB, free: 32.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/0.3232, allocations: 0.5337 MB / 449.8 MB, free: 31.83 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/0.324, allocations: 399 kB / 450.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.751e-05/0.3241, allocations: 12.66 kB / 450.2 MB, free: 31.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.3241, allocations: 41.56 kB / 450.2 MB, free: 31.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=46): time 2.204e-06/0.3241, allocations: 0 / 450.2 MB, free: 31.63 MB / 350.1 MB Notification: Performance of matching and sorting (n=50): time 0.004964/0.3291, allocations: 2.163 MB / 452.4 MB, free: 30.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.823e-05/0.3291, allocations: 57.19 kB / 452.5 MB, free: 30.64 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.3294, allocations: 361.1 kB / 452.8 MB, free: 30.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.189e-05/0.3295, allocations: 37.7 kB / 452.8 MB, free: 30.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.3296, allocations: 229.3 kB / 453.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.3297, allocations: 179.5 kB / 453.2 MB, free: 30.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/0.3299, allocations: 101 kB / 453.3 MB, free: 30.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.789e-05/0.3299, allocations: 354.1 kB / 453.7 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007335/0.3307, allocations: 366.2 kB / 454 MB, free: 29.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007931/0.3315, allocations: 418.9 kB / 454.5 MB, free: 29.38 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006337/0.3378, allocations: 1.975 MB / 456.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.3378, allocations: 1.312 kB / 456.4 MB, free: 28.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001825/0.3397, allocations: 0.8416 MB / 457.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.3397, allocations: 5.391 kB / 457.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.3397, allocations: 2.75 kB / 457.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.3398, allocations: 3.969 kB / 457.3 MB, free: 28.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/0.3457, allocations: 0.9023 MB / 458.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.3458, allocations: 4.328 kB / 458.2 MB, free: 28.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.3464, allocations: 58.28 kB / 458.2 MB, free: 28.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.574e-05/0.3464, allocations: 20.27 kB / 458.3 MB, free: 28.45 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.0003618/0.3468, allocations: 204.6 kB / 458.5 MB, free: 28.29 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.3469, allocations: 44.88 kB / 458.5 MB, free: 28.26 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/0.3488, allocations: 0.8182 MB / 459.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.118e-06/0.3489, allocations: 9.797 kB / 459.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3489, allocations: 0 / 459.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.3489, allocations: 2.547 kB / 459.3 MB, free: 27.95 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00342/0.3523, allocations: 1.734 MB / 461.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-06/0.3523, allocations: 0.6562 kB / 461.1 MB, free: 27.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005983/0.3583, allocations: 0.8835 MB / 462 MB, free: 27.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/0.3584, allocations: 10.16 kB / 462 MB, free: 27.03 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-05/0.3584, allocations: 17.61 kB / 462 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.622e-06/0.3585, allocations: 3.281 kB / 462 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.3585, allocations: 4 kB / 462 MB, free: 27.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.3612, allocations: 1.251 MB / 463.2 MB, free: 26.47 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.3614, allocations: 119.3 kB / 463.4 MB, free: 26.35 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3615, allocations: 13.92 kB / 463.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005177/0.362, allocations: 53.48 kB / 463.4 MB, free: 26.34 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.3622, allocations: 71.94 kB / 463.5 MB, free: 26.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.934e-05/0.3622, allocations: 20.62 kB / 463.5 MB, free: 26.31 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002704/0.3625, allocations: 262.4 kB / 463.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3625, allocations: 0 / 463.8 MB, free: 26.17 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005346/0.3631, allocations: 144 kB / 463.9 MB, free: 26.16 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.002922/0.366, allocations: 1.793 MB / 465.7 MB, free: 25.08 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.368, allocations: 0.8293 MB / 466.5 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/0.3681, allocations: 1.031 kB / 466.5 MB, free: 24.81 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008684/0.3689, allocations: 409.4 kB / 466.9 MB, free: 24.68 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005986/0.3695, allocations: 113.2 kB / 467 MB, free: 24.63 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/0.3809, allocations: 6.127 MB / 473.2 MB, free: 21.35 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00051/0.3814, allocations: 0.8555 MB / 474 MB, free: 20.63 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005531/0.382, allocations: 95.05 kB / 474.1 MB, free: 20.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004201/0.3824, allocations: 186.4 kB / 474.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of SimCode: time 7.61e-07/0.3824, allocations: 0 / 474.3 MB, free: 20.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0468/0.4292, allocations: 12.48 MB / 486.8 MB, free: 10.52 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.702/8.131, allocations: 13.02 kB / 486.8 MB, free: 10.52 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 & 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)