Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001455/0.001455, allocations: 108.7 kB / 16.45 MB, free: 6.496 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.001254/0.001254, allocations: 196.6 kB / 19.41 MB, free: 3.68 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.361/1.361, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.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.09714/0.09714, allocations: 22.7 MB / 325.4 MB, free: 3.543 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.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 59.91 kB / 455 MB, free: 3.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1201, allocations: 58.02 MB / 0.501 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.00272/0.1228, allocations: 1.472 MB / 0.5025 GB, free: 8.301 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009254/0.1238, allocations: 0.5026 MB / 0.5029 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.591e-05/0.1238, allocations: 0 / 0.5029 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000271/0.1241, allocations: 27.86 kB / 0.503 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.1242, allocations: 27.84 kB / 0.503 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002043/0.1244, allocations: 47.86 kB / 0.503 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001785/0.1246, allocations: 111.9 kB / 0.5031 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.1247, allocations: 15.97 kB / 0.5032 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.504e-05/0.1248, allocations: 55.77 kB / 0.5032 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001381/0.1249, allocations: 63.78 kB / 0.5033 GB, free: 7.449 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.1249, allocations: 12 kB / 0.5033 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.624e-05/0.125, allocations: 8 kB / 0.5033 GB, free: 7.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.312e-05/0.125, allocations: 35.91 kB / 0.5033 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.433e-05/0.1251, allocations: 39.66 kB / 0.5034 GB, free: 7.355 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.1253, allocations: 83.59 kB / 0.5034 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1253, allocations: 0 / 0.5034 GB, free: 7.273 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1253, allocations: 0 / 0.5034 GB, free: 7.273 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.463e-06/0.1253, allocations: 0 / 0.5034 GB, free: 7.273 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0009143/0.1262, allocations: 447 kB / 0.5039 GB, free: 6.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1262, allocations: 8.031 kB / 0.5039 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.021e-05/0.1263, allocations: 34.75 kB / 0.5039 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.1263, allocations: 12.84 kB / 0.5039 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004395/0.1268, allocations: 240.1 kB / 0.5042 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.1268, allocations: 12.31 kB / 0.5042 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.454e-05/0.1268, allocations: 4.375 kB / 0.5042 GB, free: 6.438 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.127, allocations: 73.78 kB / 0.5042 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.127, allocations: 7.938 kB / 0.5042 GB, free: 6.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.127, allocations: 4 kB / 0.5043 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.127, allocations: 0 / 0.5043 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.1271, allocations: 55.94 kB / 0.5043 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006573/0.1278, allocations: 372.6 kB / 0.5047 GB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.1279, allocations: 82.53 kB / 0.5047 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.097e-05/0.128, allocations: 33.06 kB / 0.5048 GB, free: 5.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.349e-05/0.128, allocations: 3.938 kB / 0.5048 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.128, allocations: 38.56 kB / 0.5048 GB, free: 5.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.128, allocations: 0 / 0.5048 GB, free: 5.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000303/0.1283, allocations: 129.8 kB / 0.5049 GB, free: 5.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1284, allocations: 51.41 kB / 0.505 GB, free: 5.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003442/0.1287, allocations: 188.5 kB / 0.5052 GB, free: 5.312 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.1288, allocations: 25.7 kB / 0.5052 GB, free: 5.281 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.1288, allocations: 108.1 kB / 0.5053 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.095e-05/0.1289, allocations: 23.78 kB / 0.5053 GB, free: 5.148 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.1289, allocations: 25.7 kB / 0.5053 GB, free: 5.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1291, allocations: 334.8 kB / 0.5057 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.286e-05/0.1291, allocations: 23.98 kB / 0.5057 GB, free: 4.758 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.749e-05/0.1292, allocations: 31.92 kB / 0.5057 GB, free: 4.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000123/0.1293, allocations: 68.83 kB / 0.5058 GB, free: 4.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.1293, allocations: 0 / 0.5058 GB, free: 4.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001641/0.1295, allocations: 105.6 kB / 0.5059 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.1295, allocations: 4 kB / 0.5059 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1295, allocations: 7.938 kB / 0.5059 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.1295, allocations: 0 / 0.5059 GB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002096/0.1297, allocations: 31.92 kB / 0.5059 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.1297, allocations: 4 kB / 0.5059 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.1299, allocations: 19.92 kB / 0.5059 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.1299, allocations: 0 / 0.5059 GB, free: 4.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001087/0.13, allocations: 122.6 kB / 0.5061 GB, free: 4.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.386e-05/0.13, allocations: 7.953 kB / 0.5061 GB, free: 4.344 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.576e-05/0.13, allocations: 16.7 kB / 0.5061 GB, free: 4.324 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.1301, allocations: 4 kB / 0.5061 GB, free: 4.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1301, allocations: 4 kB / 0.5061 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.1301, allocations: 0 / 0.5061 GB, free: 4.316 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005498/0.1306, allocations: 410.3 kB / 0.5065 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1306, allocations: 0 / 0.5065 GB, free: 3.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.054e-05/0.1307, allocations: 8 kB / 0.5065 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1307, allocations: 0 / 0.5065 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1307, allocations: 4 kB / 0.5065 GB, free: 3.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.1307, allocations: 3.938 kB / 0.5065 GB, free: 3.844 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/0.1307, allocations: 7.984 kB / 0.5065 GB, free: 3.836 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003143/0.131, allocations: 227.4 kB / 0.5067 GB, free: 3.598 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000181/0.1312, allocations: 92.97 kB / 0.5068 GB, free: 3.488 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/0.1312, allocations: 4.188 kB / 0.5068 GB, free: 3.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001662/0.1314, allocations: 27.91 kB / 0.5068 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.694e-05/0.1314, allocations: 0 / 0.5068 GB, free: 3.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.1314, allocations: 0 / 0.5068 GB, free: 3.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002587/0.1317, allocations: 154.1 kB / 0.507 GB, free: 3.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1317, allocations: 0 / 0.507 GB, free: 3.309 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002506/0.1319, allocations: 20 kB / 0.507 GB, free: 3.289 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (6): * Single equations (assignments): 6 * 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.000625/0.1326, allocations: 0.7593 MB / 0.5077 GB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.1327, allocations: 71.94 kB / 0.5078 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1327, allocations: 0 / 0.5078 GB, free: 2.434 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.226e-05/0.1328, allocations: 27.98 kB / 0.5078 GB, free: 2.406 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.1331, allocations: 19.92 kB / 0.5079 GB, free: 2.387 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002453/0.1355, allocations: 1.78 MB / 0.5096 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2243/0.3599, allocations: 0.7022 MB / 0.5103 GB, free: 15.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001209/0.36, allocations: 23.7 kB / 0.5103 GB, free: 15.03 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.932e-05/0.3601, allocations: 27.59 kB / 0.5103 GB, free: 15.03 MB / 382.1 MB Notification: Performance of SimCode: time 2.184e-06/0.3601, allocations: 0 / 0.5103 GB, free: 15.03 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02664/0.3867, allocations: 2.464 MB / 0.5127 GB, free: 14.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.955/8.342, allocations: 8.641 kB / 0.5128 GB, free: 14.71 MB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_SOPDT_overdamped_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.7771494272165] Failed to read output from testmodel.py, exit status != 0: 8.406812957022339 8.418141559 8.290735247 Calling exit ...