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.004881/0.004881, allocations: 100.1 kB / 15.73 MB, free: 6.477 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.001183/0.001183, allocations: 198.4 kB / 16.67 MB, free: 6.379 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.196/0.196, allocations: 22.35 MB / 312.9 MB, free: 12.49 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 65.62 kB / 436.6 MB, free: 33.96 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1092, allocations: 54.96 MB / 491.5 MB, free: 1.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002537/0.1118, allocations: 1.828 MB / 493.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004473/0.1123, allocations: 175.5 kB / 493.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.439e-05/0.1123, allocations: 0 / 493.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.94e-05/0.1124, allocations: 19.78 kB / 493.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001719/0.1126, allocations: 51.55 kB / 493.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001964/0.1128, allocations: 63.91 kB / 493.7 MB, free: 15.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1131, allocations: 235.1 kB / 493.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002291/0.1133, allocations: 97.02 kB / 494 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.865e-05/0.1134, allocations: 103.7 kB / 494.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1136, allocations: 107.7 kB / 494.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.597e-05/0.1136, allocations: 20 kB / 494.2 MB, free: 15.04 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.452e-05/0.1137, allocations: 24 kB / 494.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.501e-05/0.1137, allocations: 47.83 kB / 494.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.227e-05/0.1138, allocations: 87.7 kB / 494.4 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002439/0.114, allocations: 212.2 kB / 494.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.1141, allocations: 0 / 494.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1141, allocations: 11.94 kB / 494.6 MB, free: 14.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.1141, allocations: 0 / 494.6 MB, free: 14.66 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.0008311/0.1149, allocations: 474.9 kB / 495.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.115, allocations: 15.97 kB / 495.1 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.115, allocations: 42.75 kB / 495.1 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.702e-05/0.1151, allocations: 20.75 kB / 495.1 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.1152, allocations: 196.7 kB / 495.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.1154, allocations: 54.44 kB / 495.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.989e-05/0.1154, allocations: 23.83 kB / 495.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008521/0.1163, allocations: 297.1 kB / 495.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1163, allocations: 0 / 495.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.089e-05/0.1163, allocations: 0 / 495.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.1163, allocations: 4 kB / 495.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007401/0.1171, allocations: 226.6 kB / 495.9 MB, free: 13.22 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/0.119, allocations: 0.9575 MB / 496.9 MB, free: 12.2 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003234/0.1194, allocations: 264.7 kB / 497.1 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.1194, allocations: 40.86 kB / 497.2 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.1195, allocations: 7.922 kB / 497.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1195, allocations: 34.78 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.1195, allocations: 3.938 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001684/0.1212, allocations: 0.6303 MB / 497.9 MB, free: 11.12 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.415e-05/0.1212, allocations: 55.39 kB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1214, allocations: 183.5 kB / 498.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.1214, allocations: 37.69 kB / 498.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.884e-05/0.1215, allocations: 119.8 kB / 498.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1215, allocations: 47.27 kB / 498.3 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.99e-05/0.1216, allocations: 49.64 kB / 498.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.1217, allocations: 326.8 kB / 498.7 MB, free: 10.27 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.1218, allocations: 39.98 kB / 498.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.1219, allocations: 97.92 kB / 498.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007908/0.1227, allocations: 308.3 kB / 499.1 MB, free: 9.793 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.1227, allocations: 3.938 kB / 499.1 MB, free: 9.789 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002979/0.123, allocations: 191.4 kB / 499.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1231, allocations: 4 kB / 499.3 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1231, allocations: 7.984 kB / 499.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1231, allocations: 0 / 499.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002321/0.1233, allocations: 55.92 kB / 499.3 MB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.1234, allocations: 7.922 kB / 499.4 MB, free: 9.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.09e-05/0.1235, allocations: 4 kB / 499.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.1235, allocations: 12 kB / 499.4 MB, free: 9.508 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.000238/0.1237, allocations: 142.8 kB / 499.5 MB, free: 9.359 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1238, allocations: 15.84 kB / 499.5 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.593e-05/0.1238, allocations: 21.53 kB / 499.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1238, allocations: 0 / 499.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1238, allocations: 3.938 kB / 499.6 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.1238, allocations: 4 kB / 499.6 MB, free: 9.312 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006566/0.1245, allocations: 0.4913 MB / 0.4883 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.1245, allocations: 0 / 0.4883 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002233/0.1247, allocations: 47.92 kB / 0.4884 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.1248, allocations: 0 / 0.4884 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.1248, allocations: 0 / 0.4884 GB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.1248, allocations: 7.984 kB / 0.4884 GB, free: 8.707 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1248, allocations: 3.938 kB / 0.4884 GB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.1251, allocations: 288.2 kB / 0.4887 GB, free: 8.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.571e-05/0.1252, allocations: 92.86 kB / 0.4887 GB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.585e-05/0.1252, allocations: 8 kB / 0.4888 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.1253, allocations: 0 / 0.4888 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.582e-05/0.1253, allocations: 12.03 kB / 0.4888 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.045e-06/0.1254, allocations: 4 kB / 0.4888 GB, free: 8.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001096/0.1255, allocations: 140.3 kB / 0.4889 GB, free: 8.133 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1255, allocations: 4 kB / 0.4889 GB, free: 8.129 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.1257, allocations: 36 kB / 0.4889 GB, free: 8.094 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.0005732/0.1263, allocations: 0.8218 MB / 0.4897 GB, free: 7.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1266, allocations: 135.9 kB / 0.4899 GB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1266, allocations: 0 / 0.4899 GB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.833e-05/0.1267, allocations: 51.92 kB / 0.4899 GB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003337/0.127, allocations: 31.98 kB / 0.49 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.1293, allocations: 2.218 MB / 0.4921 GB, free: 4.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002889/0.1296, allocations: 0.7163 MB / 0.4928 GB, free: 3.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.452e-05/0.1297, allocations: 21.48 kB / 0.4928 GB, free: 3.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.375e-05/0.1298, allocations: 39.42 kB / 0.4929 GB, free: 3.895 MB / 366.1 MB Notification: Performance of SimCode: time 7.41e-07/0.1298, allocations: 0 / 0.4929 GB, free: 3.895 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02096/0.1507, allocations: 3.707 MB / 0.4965 GB, free: 276 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.86/8.011, allocations: 15.75 kB / 0.4965 GB, free: 260 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_stank_001_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_stank_001.fmu > AES_AES.Devel_test_models.Test_stank_001.pipe 2>&1)