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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 104.2 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001281/0.001281, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.385/1.385, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09389/0.09389, allocations: 22.68 MB / 325.4 MB, free: 7.918 MB / 254.1 MB " [Timeout remaining time 180] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 63.64 kB / 457.2 MB, free: 41.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09157/0.09346, allocations: 58.03 MB / 0.5031 GB, free: 8.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_stank_001): time 0.002286/0.09574, allocations: 1.824 MB / 0.5049 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003598/0.0961, allocations: 187.4 kB / 0.5051 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.918e-05/0.09616, allocations: 0 / 0.5051 GB, free: 6.211 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 6.345e-05/0.09623, allocations: 11.86 kB / 0.5051 GB, free: 6.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.09635, allocations: 63.48 kB / 0.5051 GB, free: 6.137 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.09651, allocations: 59.91 kB / 0.5052 GB, free: 6.078 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.09667, allocations: 227.2 kB / 0.5054 GB, free: 5.855 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001986/0.09687, allocations: 93 kB / 0.5055 GB, free: 5.766 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.105e-05/0.09694, allocations: 103.7 kB / 0.5056 GB, free: 5.664 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.09707, allocations: 107.6 kB / 0.5057 GB, free: 5.559 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.911e-05/0.0971, allocations: 20 kB / 0.5057 GB, free: 5.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.741e-05/0.09713, allocations: 24 kB / 0.5057 GB, free: 5.516 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.184e-05/0.09716, allocations: 43.89 kB / 0.5058 GB, free: 5.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.365e-05/0.09721, allocations: 87.64 kB / 0.5059 GB, free: 5.387 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001658/0.09738, allocations: 223.2 kB / 0.5061 GB, free: 5.168 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.09738, allocations: 4 kB / 0.5061 GB, free: 5.164 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.09738, allocations: 0 / 0.5061 GB, free: 5.164 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.09739, allocations: 0 / 0.5061 GB, free: 5.164 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.0006713/0.09806, allocations: 482.8 kB / 0.5066 GB, free: 4.641 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.09809, allocations: 8.031 kB / 0.5066 GB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.911e-05/0.09813, allocations: 46.67 kB / 0.5066 GB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.09818, allocations: 20.84 kB / 0.5066 GB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.0983, allocations: 199.2 kB / 0.5068 GB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/0.09838, allocations: 50.44 kB / 0.5069 GB, free: 4.273 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.568e-05/0.09842, allocations: 15.88 kB / 0.5069 GB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006709/0.09909, allocations: 295.1 kB / 0.5072 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.0991, allocations: 0 / 0.5072 GB, free: 3.957 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.677e-05/0.09913, allocations: 4 kB / 0.5072 GB, free: 3.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.09913, allocations: 4 kB / 0.5072 GB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005984/0.09973, allocations: 227.8 kB / 0.5074 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.1013, allocations: 0.9613 MB / 0.5083 GB, free: 2.703 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002531/0.1015, allocations: 256.8 kB / 0.5086 GB, free: 2.406 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.1016, allocations: 48.78 kB / 0.5086 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.1016, allocations: 0 / 0.5086 GB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.679e-05/0.1016, allocations: 34.56 kB / 0.5086 GB, free: 2.312 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.072e-06/0.1016, allocations: 0 / 0.5086 GB, free: 2.312 MB / 366.1 MB Notification: Performance of matching and sorting (n=15): time 0.001447/0.1031, allocations: 0.6308 MB / 0.5093 GB, free: 1.629 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.716e-05/0.1031, allocations: 59.41 kB / 0.5093 GB, free: 1.559 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1032, allocations: 191.4 kB / 0.5095 GB, free: 1.363 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.1032, allocations: 25.7 kB / 0.5095 GB, free: 1.332 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1033, allocations: 127.9 kB / 0.5096 GB, free: 1.203 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1033, allocations: 55.48 kB / 0.5097 GB, free: 1.148 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.1034, allocations: 45.7 kB / 0.5097 GB, free: 1.098 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.299e-05/0.1034, allocations: 330.8 kB / 0.5101 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.91e-05/0.1035, allocations: 43.92 kB / 0.5101 GB, free: 0.7227 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.556e-05/0.1036, allocations: 89.98 kB / 0.5102 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.1042, allocations: 308.2 kB / 0.5105 GB, free: 300 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1042, allocations: 0 / 0.5105 GB, free: 300 kB / 366.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002124/0.1044, allocations: 197.4 kB / 0.5107 GB, free: 96 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1044, allocations: 8 kB / 0.5107 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.1044, allocations: 0 / 0.5107 GB, free: 88 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1045, allocations: 4 kB / 0.5107 GB, free: 84 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.1047, allocations: 55.91 kB / 0.5107 GB, free: 28 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.1047, allocations: 7.938 kB / 0.5107 GB, free: 20 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.549e-05/0.1048, allocations: 8 kB / 0.5107 GB, free: 12 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.1048, allocations: 4 kB / 0.5108 GB, free: 8 kB / 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.0002981/0.1051, allocations: 159.1 kB / 0.5109 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.009e-05/0.1051, allocations: 15.91 kB / 0.5109 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/0.1052, allocations: 17.52 kB / 0.5109 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.1052, allocations: 4 kB / 0.5109 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1052, allocations: 3.938 kB / 0.5109 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1052, allocations: 0 / 0.5109 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006908/0.1059, allocations: 0.4915 MB / 0.5114 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.1059, allocations: 0 / 0.5114 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/0.1061, allocations: 43.91 kB / 0.5115 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.1061, allocations: 4 kB / 0.5115 GB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.1061, allocations: 7.938 kB / 0.5115 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1061, allocations: 0 / 0.5115 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1061, allocations: 3.938 kB / 0.5115 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.1065, allocations: 290.4 kB / 0.5118 GB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.819e-05/0.1065, allocations: 101 kB / 0.5119 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.363e-05/0.1065, allocations: 0 / 0.5119 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.1066, allocations: 4 kB / 0.5119 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.224e-05/0.1067, allocations: 11.98 kB / 0.5119 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.614e-06/0.1067, allocations: 4 kB / 0.5119 GB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001139/0.1068, allocations: 136.3 kB / 0.512 GB, free: 14.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1068, allocations: 4 kB / 0.512 GB, free: 14.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1071, allocations: 36 kB / 0.512 GB, free: 14.59 MB / 382.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.0006493/0.1077, allocations: 0.8186 MB / 0.5128 GB, free: 13.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1079, allocations: 126.2 kB / 0.513 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.1079, allocations: 0 / 0.513 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.108, allocations: 51.92 kB / 0.513 GB, free: 13.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.1083, allocations: 38.25 kB / 0.513 GB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.1109, allocations: 2.208 MB / 0.5152 GB, free: 11.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/0.1112, allocations: 0.7163 MB / 0.5159 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.261e-05/0.1113, allocations: 21.55 kB / 0.5159 GB, free: 10.44 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.91e-05/0.1114, allocations: 43.42 kB / 0.516 GB, free: 10.39 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1114, allocations: 0 / 0.516 GB, free: 10.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.137, allocations: 3.666 MB / 0.5195 GB, free: 6.812 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.769/7.906, allocations: 13.02 kB / 0.5196 GB, free: 6.805 MB / 382.1 MB " [Timeout remaining time 652] (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 --stepSize=8.64 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.508893997874111] Failed to read output from testmodel.py, exit status != 0: 7.971975589171052 7.986295712 7.886135628 Calling exit ...