Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_stank_001.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_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_stank_001,fileNamePrefix="AES_AES_Devel_test_models_Test_stank_001",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.00509/0.00509, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001322/0.001322, allocations: 195.1 kB / 16.67 MB, free: 5.977 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1989/0.1989, allocations: 22.35 MB / 312.9 MB, free: 12.46 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.00123, allocations: 62.97 kB / 436.6 MB, free: 34.12 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08763, allocations: 54.97 MB / 491.5 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002226/0.08989, allocations: 1.819 MB / 493.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.000422/0.09032, allocations: 183.4 kB / 493.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.974e-05/0.09039, allocations: 0 / 493.5 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.421e-05/0.09046, allocations: 15.86 kB / 493.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001449/0.09061, allocations: 47.56 kB / 493.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001631/0.09079, allocations: 67.84 kB / 493.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002216/0.09102, allocations: 235.1 kB / 493.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002117/0.09123, allocations: 108.9 kB / 494 MB, free: 15.22 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.82e-05/0.09133, allocations: 95.75 kB / 494.1 MB, free: 15.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.09149, allocations: 107.7 kB / 494.2 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.154e-05/0.09153, allocations: 24 kB / 494.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.394e-05/0.09157, allocations: 24 kB / 494.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.615e-05/0.09163, allocations: 51.77 kB / 494.3 MB, free: 14.92 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.836e-05/0.09171, allocations: 87.64 kB / 494.4 MB, free: 14.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002157/0.09193, allocations: 219.5 kB / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.09194, allocations: 0 / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.09195, allocations: 4 kB / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.09196, allocations: 0 / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007922/0.09276, allocations: 474.8 kB / 495.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.09281, allocations: 16.03 kB / 495.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.574e-05/0.09286, allocations: 46.73 kB / 495.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.09291, allocations: 16.84 kB / 495.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.09308, allocations: 197.8 kB / 495.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.09318, allocations: 54.44 kB / 495.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.028e-05/0.09323, allocations: 7.938 kB / 495.4 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008036/0.09404, allocations: 296.5 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.934e-06/0.09406, allocations: 0 / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.09409, allocations: 4 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.0941, allocations: 4 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007247/0.09483, allocations: 231.7 kB / 495.9 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001838/0.09667, allocations: 0.9574 MB / 496.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003121/0.097, allocations: 268.6 kB / 497.1 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.09708, allocations: 48.83 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.418e-06/0.09709, allocations: 224 / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.686e-05/0.09713, allocations: 34.5 kB / 497.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 9.12e-07/0.09713, allocations: 0 / 497.2 MB, free: 11.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001626/0.09876, allocations: 0.6345 MB / 497.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.09881, allocations: 51.41 kB / 497.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.09897, allocations: 191.4 kB / 498.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.099, allocations: 29.7 kB / 498.1 MB, free: 10.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.303e-05/0.09907, allocations: 116 kB / 498.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.09912, allocations: 63.47 kB / 498.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.517e-05/0.09918, allocations: 37.7 kB / 498.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001068/0.0993, allocations: 334.8 kB / 498.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.957e-05/0.09937, allocations: 43.92 kB / 498.7 MB, free: 10.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.09948, allocations: 96.62 kB / 498.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007891/0.1003, allocations: 306.7 kB / 499.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1003, allocations: 0 / 499.1 MB, free: 9.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002695/0.1006, allocations: 189.6 kB / 499.3 MB, free: 9.559 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1006, allocations: 12 kB / 499.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.1006, allocations: 0 / 499.3 MB, free: 9.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.1006, allocations: 4 kB / 499.3 MB, free: 9.543 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.1009, allocations: 55.84 kB / 499.4 MB, free: 9.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1009, allocations: 7.938 kB / 499.4 MB, free: 9.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.97e-05/0.101, allocations: 8 kB / 499.4 MB, free: 9.473 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.101, allocations: 4 kB / 499.4 MB, free: 9.469 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0002068/0.1012, allocations: 160.8 kB / 499.5 MB, free: 9.305 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.851e-05/0.1012, allocations: 15.91 kB / 499.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.077e-05/0.1013, allocations: 21.53 kB / 499.6 MB, free: 9.266 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.357e-06/0.1013, allocations: 3.984 kB / 499.6 MB, free: 9.262 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.1013, allocations: 3.938 kB / 499.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1013, allocations: 0 / 499.6 MB, free: 9.258 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006324/0.102, allocations: 499.2 kB / 0.4884 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.102, allocations: 0 / 0.4884 GB, free: 8.711 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.1022, allocations: 51.84 kB / 0.4884 GB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1022, allocations: 4 kB / 0.4884 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.1022, allocations: 0 / 0.4884 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.1022, allocations: 0 / 0.4884 GB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.1022, allocations: 4 kB / 0.4884 GB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.1025, allocations: 291.6 kB / 0.4887 GB, free: 8.352 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1026, allocations: 96.98 kB / 0.4888 GB, free: 8.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.752e-05/0.1026, allocations: 4 kB / 0.4888 GB, free: 8.234 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000102/0.1028, allocations: 4 kB / 0.4888 GB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.1028, allocations: 11.92 kB / 0.4888 GB, free: 8.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.836e-06/0.1028, allocations: 8 kB / 0.4888 GB, free: 8.211 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.617e-05/0.1029, allocations: 128.3 kB / 0.4889 GB, free: 8.086 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1029, allocations: 8 kB / 0.4889 GB, free: 8.078 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002757/0.1032, allocations: 36 kB / 0.489 GB, free: 8.043 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (stank.lcold,stank.Thot,stank.Tcold) * 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 (15): * Single equations (assignments): 15 * 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.0005405/0.1037, allocations: 0.8252 MB / 0.4898 GB, free: 7.191 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002158/0.104, allocations: 128 kB / 0.4899 GB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.104, allocations: 0 / 0.4899 GB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.535e-05/0.1041, allocations: 55.92 kB / 0.49 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1044, allocations: 31.92 kB / 0.49 GB, free: 6.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.1066, allocations: 2.214 MB / 0.4921 GB, free: 4.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1068, allocations: 0.7163 MB / 0.4928 GB, free: 3.906 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.595e-05/0.1069, allocations: 17.55 kB / 0.4929 GB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.107, allocations: 43.42 kB / 0.4929 GB, free: 3.844 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.107, allocations: 0 / 0.4929 GB, free: 3.844 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.1261, allocations: 3.63 MB / 0.4964 GB, free: 300 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.483/7.609, allocations: 15.69 kB / 0.4965 GB, free: 284 kB / 366.1 MB (rm -f AES_AES.Devel_test_models.Test_stank_001.pipe ; mkfifo AES_AES.Devel_test_models.Test_stank_001.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_stank_001.pipe >> ../files/AES_AES.Devel_test_models.Test_stank_001.sim & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_stank_001_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 8.64 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)