Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_SR01.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.001483/0.001483, allocations: 105.4 kB / 16.45 MB, free: 6.504 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.001377/0.001377, allocations: 191.7 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.394/1.394, allocations: 225.6 MB / 247.8 MB, free: 13.94 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.09672/0.09672, allocations: 22.7 MB / 325.4 MB, free: 3.527 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_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_SR01,fileNamePrefix="AES_AES_Devel_test_models_Test_SR01",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 67.89 kB / 457.2 MB, free: 1.758 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1252, allocations: 58.02 MB / 0.5031 GB, free: 7.621 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_SR01): time 0.00199/0.1271, allocations: 0.7199 MB / 0.5038 GB, free: 6.902 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000164/0.1273, allocations: 19.92 kB / 0.5038 GB, free: 6.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.547e-05/0.1273, allocations: 3.938 kB / 0.5038 GB, free: 6.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.183e-05/0.1274, allocations: 7.938 kB / 0.5038 GB, free: 6.871 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.972e-05/0.1274, allocations: 3.984 kB / 0.5039 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.783e-05/0.1275, allocations: 4 kB / 0.5039 GB, free: 6.863 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.151e-05/0.1276, allocations: 27.92 kB / 0.5039 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000128/0.1277, allocations: 4 kB / 0.5039 GB, free: 6.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.184e-05/0.1278, allocations: 7.938 kB / 0.5039 GB, free: 6.824 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.849e-05/0.1278, allocations: 7.984 kB / 0.5039 GB, free: 6.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.862e-05/0.1278, allocations: 7.984 kB / 0.5039 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-06/0.1279, allocations: 0 / 0.5039 GB, free: 6.809 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1279, allocations: 11.94 kB / 0.5039 GB, free: 6.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.35e-05/0.1279, allocations: 7.984 kB / 0.5039 GB, free: 6.789 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.487e-05/0.128, allocations: 15.92 kB / 0.5039 GB, free: 6.773 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.128, allocations: 0 / 0.5039 GB, free: 6.773 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.128, allocations: 0 / 0.5039 GB, free: 6.773 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.128, allocations: 4 kB / 0.5039 GB, free: 6.77 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004518/0.1284, allocations: 327.5 kB / 0.5043 GB, free: 6.398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1285, allocations: 8.031 kB / 0.5043 GB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.138e-05/0.1285, allocations: 34.75 kB / 0.5043 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.657e-05/0.1285, allocations: 8.891 kB / 0.5043 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001529/0.1287, allocations: 172.3 kB / 0.5045 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.156e-05/0.1287, allocations: 384 / 0.5045 GB, free: 6.133 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.1287, allocations: 4.375 kB / 0.5045 GB, free: 6.129 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.863e-05/0.1288, allocations: 38.25 kB / 0.5045 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.1288, allocations: 3.938 kB / 0.5045 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.736e-06/0.1288, allocations: 0 / 0.5045 GB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.1288, allocations: 4 kB / 0.5045 GB, free: 6.078 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.396e-05/0.1289, allocations: 19.92 kB / 0.5045 GB, free: 6.059 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003698/0.1292, allocations: 256.9 kB / 0.5048 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.1294, allocations: 38.5 kB / 0.5048 GB, free: 5.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.071e-05/0.1294, allocations: 12.92 kB / 0.5048 GB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.337e-05/0.1294, allocations: 4 kB / 0.5048 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.1294, allocations: 30.56 kB / 0.5049 GB, free: 5.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1294, allocations: 0 / 0.5049 GB, free: 5.652 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001774/0.1296, allocations: 65.8 kB / 0.5049 GB, free: 5.582 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.1297, allocations: 51.41 kB / 0.505 GB, free: 5.52 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.663e-05/0.1297, allocations: 97.84 kB / 0.5051 GB, free: 5.414 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.1298, allocations: 29.7 kB / 0.5051 GB, free: 5.379 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.1298, allocations: 84.09 kB / 0.5052 GB, free: 5.293 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1298, allocations: 7.953 kB / 0.5052 GB, free: 5.285 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.1299, allocations: 21.7 kB / 0.5052 GB, free: 5.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.13, allocations: 310.8 kB / 0.5055 GB, free: 4.945 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.717e-05/0.13, allocations: 11.94 kB / 0.5055 GB, free: 4.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.394e-05/0.13, allocations: 8 kB / 0.5055 GB, free: 4.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.177e-05/0.1301, allocations: 20.84 kB / 0.5055 GB, free: 4.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.1301, allocations: 3.938 kB / 0.5055 GB, free: 4.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.152e-05/0.1302, allocations: 49.62 kB / 0.5056 GB, free: 4.844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.291e-05/0.1302, allocations: 4 kB / 0.5056 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1302, allocations: 0 / 0.5056 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.1302, allocations: 0 / 0.5056 GB, free: 4.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1302, allocations: 8 kB / 0.5056 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.1302, allocations: 0 / 0.5056 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.1303, allocations: 11.94 kB / 0.5056 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.558e-06/0.1303, allocations: 0 / 0.5056 GB, free: 4.82 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 (3): * Single equations (assignments): 3 * 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 7.794e-05/0.1304, allocations: 114.6 kB / 0.5057 GB, free: 4.699 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.561e-05/0.1304, allocations: 7.938 kB / 0.5057 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001595/0.1305, allocations: 69.19 kB / 0.5058 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.1305, allocations: 8 kB / 0.5058 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1306, allocations: 7.984 kB / 0.5058 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1306, allocations: 0 / 0.5058 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001785/0.1307, allocations: 165.6 kB / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1307, allocations: 0 / 0.506 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.268e-05/0.1308, allocations: 7.984 kB / 0.506 GB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.596e-06/0.1308, allocations: 7.938 kB / 0.506 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.1308, allocations: 0 / 0.506 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1308, allocations: 0 / 0.506 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1308, allocations: 0 / 0.506 GB, free: 4.371 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.131, allocations: 159.5 kB / 0.5061 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.1311, allocations: 81.06 kB / 0.5062 GB, free: 4.102 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.282e-05/0.1311, allocations: 3.938 kB / 0.5062 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.232e-05/0.1311, allocations: 0 / 0.5062 GB, free: 4.098 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.1312, allocations: 7.984 kB / 0.5062 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.1312, allocations: 0 / 0.5062 GB, free: 4.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.655e-05/0.1312, allocations: 83.28 kB / 0.5063 GB, free: 4.008 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1312, allocations: 0 / 0.5063 GB, free: 4.008 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002117/0.1314, allocations: 4 kB / 0.5063 GB, free: 4.004 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0004734/0.1319, allocations: 0.6812 MB / 0.507 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.94e-05/0.132, allocations: 23.92 kB / 0.507 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.132, allocations: 0 / 0.507 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.402e-05/0.132, allocations: 16 kB / 0.507 GB, free: 3.258 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.1324, allocations: 11.92 kB / 0.507 GB, free: 3.246 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001092/0.1334, allocations: 1.187 MB / 0.5082 GB, free: 1.98 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000314/0.1338, allocations: 0.6768 MB / 0.5088 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.778e-05/0.1338, allocations: 3.984 kB / 0.5089 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1338, allocations: 15.44 kB / 0.5089 GB, free: 1.258 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1338, allocations: 0 / 0.5089 GB, free: 1.258 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/0.1566, allocations: 1.298 MB / 0.5101 GB, free: 20 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.487/7.644, allocations: 0 / 0.5101 GB, free: 20 kB / 382.1 MB " [Timeout remaining time 652] (rm -f AES_AES.Devel_test_models.Test_SR01.pipe ; mkfifo AES_AES.Devel_test_models.Test_SR01.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_SR01.pipe >> ../files/AES_AES.Devel_test_models.Test_SR01.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_SR01_fmu --startTime=0 --stopTime=10 --stepSize=0.02 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_SR01.fmu > AES_AES.Devel_test_models.Test_SR01.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.349198889918625] Failed to read output from testmodel.py, exit status != 0: 7.906737377867103 7.916576345 7.786325691 Calling exit ...