Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_FOPDT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001883/0.001883, allocations: 117.1 kB / 17.16 MB, free: 5.895 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002239/0.002239, allocations: 215 kB / 20.13 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.567/1.567, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1039/0.1039, allocations: 22.94 MB / 332.5 MB, free: 2.648 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: AES requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001949/0.001949, allocations: 68.77 kB / 464.6 MB, free: 33.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1138, allocations: 59.27 MB / 0.5116 GB, free: 144 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.003633/0.1175, allocations: 1.666 MB / 0.5132 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004884/0.1179, allocations: 151.5 kB / 0.5134 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001228/0.1181, allocations: 4 kB / 0.5134 GB, free: 14.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.124e-05/0.1181, allocations: 7.875 kB / 0.5134 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001393/0.1183, allocations: 19.84 kB / 0.5134 GB, free: 14.28 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003448/0.1186, allocations: 51.84 kB / 0.5135 GB, free: 14.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.1188, allocations: 79.78 kB / 0.5135 GB, free: 14.15 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.119, allocations: 31.95 kB / 0.5136 GB, free: 14.12 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.512e-05/0.119, allocations: 27.81 kB / 0.5136 GB, free: 14.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.687e-05/0.1191, allocations: 39.78 kB / 0.5136 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1191, allocations: 8 kB / 0.5136 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.939e-05/0.1192, allocations: 8 kB / 0.5136 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.496e-05/0.1192, allocations: 15.88 kB / 0.5137 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.314e-05/0.1192, allocations: 39.78 kB / 0.5137 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000175/0.1194, allocations: 75.67 kB / 0.5138 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.1194, allocations: 0 / 0.5138 GB, free: 13.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1194, allocations: 0 / 0.5138 GB, free: 13.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.1194, allocations: 3.938 kB / 0.5138 GB, free: 13.91 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007378/0.1202, allocations: 395 kB / 0.5142 GB, free: 13.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.342e-05/0.1202, allocations: 12.62 kB / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.087e-05/0.1203, allocations: 192 / 0.5142 GB, free: 13.46 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.089e-05/0.1203, allocations: 38.75 kB / 0.5142 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.1204, allocations: 8.891 kB / 0.5142 GB, free: 13.4 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003556/0.1207, allocations: 208.2 kB / 0.5144 GB, free: 13.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.1207, allocations: 8.375 kB / 0.5144 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.623e-05/0.1208, allocations: 4.375 kB / 0.5144 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002204/0.121, allocations: 76.44 kB / 0.5145 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.121, allocations: 7.984 kB / 0.5145 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.121, allocations: 0 / 0.5145 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.121, allocations: 0 / 0.5145 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1211, allocations: 31.97 kB / 0.5145 GB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006497/0.1218, allocations: 340.6 kB / 0.5149 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1221, allocations: 66.55 kB / 0.5149 GB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.1222, allocations: 12.92 kB / 0.5149 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.1222, allocations: 0 / 0.5149 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.1223, allocations: 34.56 kB / 0.515 GB, free: 12.52 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1223, allocations: 0 / 0.515 GB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002908/0.1226, allocations: 77.56 kB / 0.515 GB, free: 12.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.847e-05/0.1226, allocations: 55.41 kB / 0.5151 GB, free: 12.37 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.1228, allocations: 139.6 kB / 0.5152 GB, free: 12.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.1228, allocations: 29.7 kB / 0.5153 GB, free: 12.19 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.844e-05/0.1229, allocations: 100.1 kB / 0.5154 GB, free: 12.09 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.1229, allocations: 19.8 kB / 0.5154 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.087e-05/0.123, allocations: 17.72 kB / 0.5154 GB, free: 12.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1231, allocations: 322.8 kB / 0.5157 GB, free: 11.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/0.1232, allocations: 11.98 kB / 0.5157 GB, free: 11.71 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.1232, allocations: 16 kB / 0.5157 GB, free: 11.69 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.1233, allocations: 40.84 kB / 0.5158 GB, free: 11.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.1233, allocations: 3.938 kB / 0.5158 GB, free: 11.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001976/0.1235, allocations: 73.64 kB / 0.5158 GB, free: 11.57 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.1235, allocations: 7.938 kB / 0.5158 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1236, allocations: 0 / 0.5158 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.1236, allocations: 0 / 0.5158 GB, free: 11.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.923e-05/0.1236, allocations: 11.94 kB / 0.5159 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1236, allocations: 4.125 kB / 0.5159 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.748e-05/0.1237, allocations: 12 kB / 0.5159 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.1237, allocations: 0 / 0.5159 GB, free: 11.53 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 (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 prepare postOptimizeDAE: time 0.0001114/0.1238, allocations: 122.6 kB / 0.516 GB, free: 11.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.1238, allocations: 7.953 kB / 0.516 GB, free: 11.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.466e-05/0.1239, allocations: 16.23 kB / 0.516 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.1239, allocations: 0 / 0.516 GB, free: 11.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.1239, allocations: 7.875 kB / 0.516 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.1239, allocations: 0 / 0.516 GB, free: 11.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002438/0.1241, allocations: 189.6 kB / 0.5162 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/0.1241, allocations: 4 kB / 0.5162 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.1242, allocations: 12 kB / 0.5162 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1242, allocations: 0 / 0.5162 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.787e-06/0.1242, allocations: 0 / 0.5162 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.462e-06/0.1242, allocations: 0 / 0.5162 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.1242, allocations: 7.938 kB / 0.5162 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1245, allocations: 171.5 kB / 0.5164 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.1246, allocations: 85.05 kB / 0.5165 GB, free: 10.82 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/0.1246, allocations: 8.094 kB / 0.5165 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.295e-05/0.1247, allocations: 0 / 0.5165 GB, free: 10.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.1247, allocations: 11.94 kB / 0.5165 GB, free: 10.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.1247, allocations: 0 / 0.5165 GB, free: 10.8 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.618e-05/0.1248, allocations: 113.2 kB / 0.5166 GB, free: 10.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1248, allocations: 0 / 0.5166 GB, free: 10.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002442/0.1251, allocations: 19.89 kB / 0.5166 GB, free: 10.67 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.Pr.y) * 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 (4): * Single equations (assignments): 4 * 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.0006394/0.1257, allocations: 0.701 MB / 0.5173 GB, free: 9.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1259, allocations: 39.95 kB / 0.5173 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1259, allocations: 0 / 0.5173 GB, free: 9.906 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.145e-05/0.1259, allocations: 15.98 kB / 0.5173 GB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003704/0.1263, allocations: 16.8 kB / 0.5174 GB, free: 9.875 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/0.1285, allocations: 1.523 MB / 0.5189 GB, free: 8.277 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004672/0.1289, allocations: 0.6962 MB / 0.5195 GB, free: 7.555 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.129, allocations: 15.97 kB / 0.5195 GB, free: 7.539 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.17e-05/0.1291, allocations: 23.44 kB / 0.5196 GB, free: 7.516 MB / 382.1 MB Notification: Performance of SimCode: time 4.6e-07/0.1291, allocations: 0 / 0.5196 GB, free: 7.516 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02043/0.1495, allocations: 2.123 MB / 0.5216 GB, free: 5.465 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.595/8.745, allocations: 7.188 kB / 0.5216 GB, free: 5.461 MB / 382.1 MB " [Timeout remaining time 651] (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --stepSize=0.03 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.639928649994545] Failed to read output from testmodel.py, exit status != 0: 8.874777930031996 8.900829095 8.776771333 Calling exit ...