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.006939/0.006939, allocations: 97.14 kB / 15.73 MB, free: 6.039 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.001362/0.001361, allocations: 202.2 kB / 16.68 MB, free: 5.969 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.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2002/0.2002, allocations: 22.35 MB / 312.9 MB, free: 12.44 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002851/0.002851, allocations: 65.39 kB / 436.6 MB, free: 34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09791/0.1008, allocations: 54.97 MB / 491.5 MB, free: 1.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002156/0.103, allocations: 1.819 MB / 493.4 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004067/0.1034, allocations: 183.5 kB / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.223e-05/0.1035, allocations: 0 / 493.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 5.949e-05/0.1035, allocations: 19.8 kB / 493.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001365/0.1037, allocations: 51.61 kB / 493.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001683/0.1039, allocations: 63.78 kB / 493.7 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002376/0.1041, allocations: 227.2 kB / 493.9 MB, free: 15.35 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002231/0.1043, allocations: 105 kB / 494 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.1044, allocations: 99.75 kB / 494.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1046, allocations: 107.6 kB / 494.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.1047, allocations: 20 kB / 494.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.214e-05/0.1047, allocations: 24 kB / 494.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.42e-05/0.1048, allocations: 51.83 kB / 494.3 MB, free: 14.95 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 9.008e-05/0.1049, allocations: 83.7 kB / 494.4 MB, free: 14.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002474/0.1051, allocations: 223.5 kB / 494.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1051, allocations: 7.938 kB / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1051, allocations: 0 / 494.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1052, allocations: 0 / 494.6 MB, free: 14.64 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.0008452/0.106, allocations: 478.8 kB / 495.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.106, allocations: 8.031 kB / 495.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.813e-05/0.1061, allocations: 42.73 kB / 495.1 MB, free: 14.07 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.035e-05/0.1062, allocations: 24.84 kB / 495.1 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.1064, allocations: 200.7 kB / 495.3 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.1065, allocations: 46.44 kB / 495.4 MB, free: 13.76 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.976e-05/0.1065, allocations: 15.94 kB / 495.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008853/0.1074, allocations: 293.4 kB / 495.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1074, allocations: 3.938 kB / 495.7 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.717e-05/0.1075, allocations: 11.98 kB / 495.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.197e-06/0.1075, allocations: 0 / 495.7 MB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000782/0.1083, allocations: 227.8 kB / 495.9 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.1103, allocations: 0.9535 MB / 496.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.1106, allocations: 260.8 kB / 497.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.371e-05/0.1107, allocations: 40.84 kB / 497.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.1107, allocations: 4.219 kB / 497.2 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.031e-05/0.1108, allocations: 38.5 kB / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.253e-06/0.1108, allocations: 0 / 497.2 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001726/0.1125, allocations: 0.6313 MB / 497.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.1126, allocations: 55.41 kB / 497.9 MB, free: 11.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.1128, allocations: 191.4 kB / 498.1 MB, free: 10.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.1128, allocations: 25.7 kB / 498.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.168e-05/0.1129, allocations: 120 kB / 498.2 MB, free: 10.7 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.1129, allocations: 59.48 kB / 498.3 MB, free: 10.64 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.345e-05/0.113, allocations: 41.7 kB / 498.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1132, allocations: 330.8 kB / 498.7 MB, free: 10.26 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.873e-05/0.1132, allocations: 43.92 kB / 498.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001199/0.1134, allocations: 104.6 kB / 498.8 MB, free: 10.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008609/0.1142, allocations: 304.1 kB / 499.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1142, allocations: 0 / 499.1 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003045/0.1146, allocations: 199.4 kB / 499.3 MB, free: 9.582 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1146, allocations: 4 kB / 499.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.1146, allocations: 4 kB / 499.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1146, allocations: 0 / 499.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/0.1149, allocations: 55.97 kB / 499.4 MB, free: 9.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.1149, allocations: 11.88 kB / 499.4 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.013e-05/0.115, allocations: 4 kB / 499.4 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.115, allocations: 11.94 kB / 499.4 MB, free: 9.492 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.0002059/0.1152, allocations: 149 kB / 499.5 MB, free: 9.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.122e-05/0.1153, allocations: 15.91 kB / 499.5 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.089e-05/0.1153, allocations: 25.52 kB / 499.6 MB, free: 9.297 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1153, allocations: 4 kB / 499.6 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1153, allocations: 3.938 kB / 499.6 MB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1153, allocations: 4 kB / 499.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007513/0.1161, allocations: 499.2 kB / 0.4883 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1161, allocations: 0 / 0.4883 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.1163, allocations: 43.91 kB / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.1164, allocations: 0 / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.1164, allocations: 8 kB / 0.4884 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1164, allocations: 0 / 0.4884 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1164, allocations: 0 / 0.4884 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.1168, allocations: 290.2 kB / 0.4887 GB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.158e-05/0.1169, allocations: 101 kB / 0.4888 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1169, allocations: 4 kB / 0.4888 GB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.117, allocations: 4 kB / 0.4888 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.324e-05/0.117, allocations: 7.984 kB / 0.4888 GB, free: 8.254 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.117, allocations: 4 kB / 0.4888 GB, free: 8.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001637/0.1172, allocations: 140.3 kB / 0.4889 GB, free: 8.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1172, allocations: 0 / 0.4889 GB, free: 8.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002772/0.1175, allocations: 36 kB / 0.489 GB, free: 8.078 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.000683/0.1182, allocations: 0.829 MB / 0.4898 GB, free: 7.223 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002358/0.1184, allocations: 135.7 kB / 0.4899 GB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1185, allocations: 0 / 0.4899 GB, free: 7.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.406e-05/0.1185, allocations: 58.17 kB / 0.49 GB, free: 7.035 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.1189, allocations: 27.97 kB / 0.49 GB, free: 7.008 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002475/0.1213, allocations: 2.206 MB / 0.4921 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.1217, allocations: 0.7163 MB / 0.4928 GB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.914e-05/0.1218, allocations: 25.53 kB / 0.4929 GB, free: 3.914 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.673e-05/0.1219, allocations: 43.42 kB / 0.4929 GB, free: 3.871 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1219, allocations: 0 / 0.4929 GB, free: 3.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2579/0.3798, allocations: 3.63 MB / 0.4964 GB, free: 328 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.401/8.781, allocations: 7.688 kB / 0.4964 GB, free: 320 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)