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.005562/0.005562, allocations: 102.4 kB / 15.73 MB, free: 6.051 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.001734/0.001734, allocations: 199.5 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1904/0.1904, allocations: 22.35 MB / 312.9 MB, free: 12.43 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 66.17 kB / 436.6 MB, free: 33.98 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.103, allocations: 54.97 MB / 491.5 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002377/0.1054, allocations: 1.814 MB / 493.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004589/0.1059, allocations: 187.5 kB / 493.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.821e-05/0.106, allocations: 3.938 kB / 493.5 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.002e-05/0.1061, allocations: 15.8 kB / 493.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001521/0.1062, allocations: 59.55 kB / 493.6 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001887/0.1064, allocations: 59.91 kB / 493.7 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.1067, allocations: 227.2 kB / 493.9 MB, free: 15.33 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002372/0.1069, allocations: 101 kB / 494 MB, free: 15.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.107, allocations: 103.7 kB / 494.1 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.1072, allocations: 103.7 kB / 494.2 MB, free: 15.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.121e-05/0.1072, allocations: 23.94 kB / 494.2 MB, free: 15.01 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.492e-05/0.1073, allocations: 24 kB / 494.2 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.528e-05/0.1073, allocations: 47.83 kB / 494.3 MB, free: 14.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.455e-05/0.1074, allocations: 87.7 kB / 494.4 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.1077, allocations: 224.2 kB / 494.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.1077, allocations: 4 kB / 494.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1077, allocations: 3.938 kB / 494.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.922e-06/0.1077, 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.0008365/0.1085, allocations: 474.9 kB / 495.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.1086, allocations: 8.031 kB / 495.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.327e-05/0.1086, allocations: 46.73 kB / 495.1 MB, free: 14.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.308e-05/0.1087, allocations: 20.75 kB / 495.1 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1089, allocations: 192.7 kB / 495.3 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.109, allocations: 50.44 kB / 495.4 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.109, allocations: 19.84 kB / 495.4 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007663/0.1098, allocations: 300.4 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-06/0.1098, allocations: 0 / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.452e-05/0.1098, allocations: 4 kB / 495.7 MB, free: 13.42 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1099, allocations: 8 kB / 495.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006605/0.1105, allocations: 223.7 kB / 495.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001843/0.1124, allocations: 0.9497 MB / 496.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003323/0.1127, allocations: 264.8 kB / 497.1 MB, free: 11.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.187e-05/0.1128, allocations: 41.06 kB / 497.2 MB, free: 11.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.1128, allocations: 11.88 kB / 497.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.1129, allocations: 34.56 kB / 497.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.492e-06/0.1129, allocations: 0 / 497.2 MB, free: 11.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001679/0.1146, allocations: 0.6265 MB / 497.8 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.697e-05/0.1146, allocations: 51.41 kB / 497.9 MB, free: 11.04 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001633/0.1148, allocations: 191.5 kB / 498.1 MB, free: 10.84 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.1148, allocations: 25.7 kB / 498.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.144e-05/0.1149, allocations: 123.8 kB / 498.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.1149, allocations: 63.19 kB / 498.3 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-05/0.115, allocations: 37.66 kB / 498.3 MB, free: 10.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.1151, allocations: 334.8 kB / 498.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-05/0.1152, allocations: 43.98 kB / 498.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.956e-05/0.1153, allocations: 86 kB / 498.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007858/0.1161, allocations: 310.3 kB / 499.1 MB, free: 9.773 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.1161, allocations: 7.922 kB / 499.1 MB, free: 9.766 MB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002843/0.1164, allocations: 185.4 kB / 499.3 MB, free: 9.578 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1164, allocations: 4 kB / 499.3 MB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.1164, allocations: 7.938 kB / 499.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.1165, allocations: 0 / 499.3 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.1167, allocations: 59.91 kB / 499.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.1167, allocations: 3.938 kB / 499.3 MB, free: 9.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.896e-05/0.1168, allocations: 8 kB / 499.4 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.1168, allocations: 8 kB / 499.4 MB, free: 9.488 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.0002508/0.1171, allocations: 152.8 kB / 499.5 MB, free: 9.332 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.698e-05/0.1171, allocations: 11.91 kB / 499.5 MB, free: 9.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.1172, allocations: 25.52 kB / 499.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.1172, allocations: 0 / 499.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.1172, allocations: 7.938 kB / 499.6 MB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1172, allocations: 4 kB / 499.6 MB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.1178, allocations: 491.2 kB / 0.4883 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.1179, allocations: 4 kB / 0.4883 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002134/0.1181, allocations: 43.91 kB / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1181, allocations: 0 / 0.4884 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.1181, allocations: 4 kB / 0.4884 GB, free: 8.691 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.1181, allocations: 4 kB / 0.4884 GB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.1181, allocations: 7.969 kB / 0.4884 GB, free: 8.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.1184, allocations: 280.1 kB / 0.4886 GB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.609e-05/0.1185, allocations: 100.9 kB / 0.4887 GB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.1185, allocations: 8 kB / 0.4888 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.1187, allocations: 4 kB / 0.4888 GB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.1187, allocations: 7.984 kB / 0.4888 GB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.1187, allocations: 4 kB / 0.4888 GB, free: 8.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.842e-05/0.1188, allocations: 144.2 kB / 0.4889 GB, free: 8.105 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1188, allocations: 0 / 0.4889 GB, free: 8.105 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000283/0.1191, allocations: 36 kB / 0.4889 GB, free: 8.07 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.0005454/0.1197, allocations: 0.8248 MB / 0.4897 GB, free: 7.219 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000214/0.1199, allocations: 123.9 kB / 0.4899 GB, free: 7.098 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.1199, allocations: 4 kB / 0.4899 GB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.121e-05/0.12, allocations: 54.42 kB / 0.4899 GB, free: 7.043 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.1203, allocations: 33.64 kB / 0.4899 GB, free: 7.012 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002166/0.1225, allocations: 2.208 MB / 0.4921 GB, free: 4.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1227, allocations: 0.7163 MB / 0.4928 GB, free: 3.941 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.396e-05/0.1228, allocations: 17.53 kB / 0.4928 GB, free: 3.922 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.566e-05/0.1229, allocations: 43.42 kB / 0.4929 GB, free: 3.879 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1229, allocations: 0 / 0.4929 GB, free: 3.879 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.1452, allocations: 3.702 MB / 0.4965 GB, free: 264 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.363/7.508, allocations: 19.06 kB / 0.4965 GB, free: 248 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)