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.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.001469/0.001469, allocations: 109.1 kB / 16.46 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.001369/0.001369, allocations: 196.5 kB / 19.41 MB, free: 3.668 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.372/1.372, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.09553/0.09553, allocations: 22.7 MB / 325.4 MB, free: 3.52 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_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 67.89 kB / 455 MB, free: 3.883 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1061, allocations: 58.02 MB / 0.501 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002939/0.109, allocations: 1.654 MB / 0.5027 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.1094, allocations: 163.5 kB / 0.5028 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.1095, allocations: 0 / 0.5028 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.1095, allocations: 7.875 kB / 0.5028 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.584e-05/0.1096, allocations: 27.8 kB / 0.5029 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1098, allocations: 39.95 kB / 0.5029 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.11, allocations: 87.7 kB / 0.503 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.1101, allocations: 23.98 kB / 0.503 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.322e-05/0.1101, allocations: 27.86 kB / 0.503 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.913e-05/0.1102, allocations: 39.72 kB / 0.5031 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.1102, allocations: 8 kB / 0.5031 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.238e-05/0.1102, allocations: 4 kB / 0.5031 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.847e-05/0.1103, allocations: 19.92 kB / 0.5031 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1103, allocations: 39.75 kB / 0.5031 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001229/0.1104, allocations: 71.66 kB / 0.5032 GB, free: 7.531 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1104, allocations: 4 kB / 0.5032 GB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1104, allocations: 4 kB / 0.5032 GB, free: 7.523 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1105, allocations: 0 / 0.5032 GB, free: 7.523 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.0005061/0.111, allocations: 391.1 kB / 0.5036 GB, free: 7.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.111, allocations: 12.03 kB / 0.5036 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.91e-05/0.111, allocations: 38.67 kB / 0.5036 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.991e-05/0.1111, allocations: 12.84 kB / 0.5036 GB, free: 7.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002432/0.1113, allocations: 200.2 kB / 0.5038 GB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1113, allocations: 12.38 kB / 0.5038 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/0.1113, allocations: 8.328 kB / 0.5038 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.1115, allocations: 70.23 kB / 0.5039 GB, free: 6.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.1115, allocations: 3.938 kB / 0.5039 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.1115, allocations: 0 / 0.5039 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1115, allocations: 0 / 0.5039 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.679e-05/0.1116, allocations: 27.98 kB / 0.5039 GB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000454/0.1121, allocations: 352.6 kB / 0.5043 GB, free: 6.266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003011/0.1124, allocations: 62.48 kB / 0.5043 GB, free: 6.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.749e-05/0.1124, allocations: 16.92 kB / 0.5044 GB, free: 6.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.1124, allocations: 3.938 kB / 0.5044 GB, free: 6.172 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1125, allocations: 34.56 kB / 0.5044 GB, free: 6.129 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.896e-06/0.1125, allocations: 7.984 kB / 0.5044 GB, free: 6.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000219/0.1127, allocations: 73.62 kB / 0.5045 GB, free: 6.043 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1127, allocations: 55.34 kB / 0.5045 GB, free: 5.977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.1128, allocations: 141.8 kB / 0.5047 GB, free: 5.828 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.1129, allocations: 29.7 kB / 0.5047 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.238e-05/0.1129, allocations: 104 kB / 0.5048 GB, free: 5.688 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.1129, allocations: 7.906 kB / 0.5048 GB, free: 5.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.673e-05/0.113, allocations: 21.7 kB / 0.5048 GB, free: 5.652 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.1131, allocations: 322.8 kB / 0.5051 GB, free: 5.328 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.8e-05/0.1132, allocations: 15.98 kB / 0.5051 GB, free: 5.312 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.203e-05/0.1132, allocations: 16 kB / 0.5052 GB, free: 5.297 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.826e-05/0.1133, allocations: 36.84 kB / 0.5052 GB, free: 5.258 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1133, allocations: 0 / 0.5052 GB, free: 5.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001285/0.1134, allocations: 69.64 kB / 0.5053 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.1134, allocations: 4 kB / 0.5053 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1134, allocations: 3.938 kB / 0.5053 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1134, allocations: 8 kB / 0.5053 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.448e-05/0.1135, allocations: 8 kB / 0.5053 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1135, allocations: 3.938 kB / 0.5053 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.153e-05/0.1135, allocations: 3.953 kB / 0.5053 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.1135, allocations: 0 / 0.5053 GB, free: 5.152 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 9.578e-05/0.1136, allocations: 122.6 kB / 0.5054 GB, free: 5.023 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.1137, allocations: 7.953 kB / 0.5054 GB, free: 5.016 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.512e-05/0.1137, allocations: 12.25 kB / 0.5054 GB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1137, allocations: 4 kB / 0.5054 GB, free: 4.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1137, allocations: 3.938 kB / 0.5054 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1137, allocations: 0 / 0.5054 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002158/0.1139, allocations: 197.6 kB / 0.5056 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.1139, allocations: 0 / 0.5056 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.114, allocations: 4 kB / 0.5056 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.114, allocations: 0 / 0.5056 GB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.114, allocations: 8.172 kB / 0.5056 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.114, allocations: 4 kB / 0.5056 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.114, allocations: 3.938 kB / 0.5056 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1142, allocations: 183.4 kB / 0.5058 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.1143, allocations: 89.03 kB / 0.5059 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.544e-05/0.1143, allocations: 0 / 0.5059 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.147e-05/0.1144, allocations: 0 / 0.5059 GB, free: 4.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.1144, allocations: 15.92 kB / 0.5059 GB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-06/0.1144, allocations: 0 / 0.5059 GB, free: 4.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.954e-05/0.1145, allocations: 106.4 kB / 0.506 GB, free: 4.309 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1145, allocations: 4 kB / 0.506 GB, free: 4.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002302/0.1147, allocations: 12.06 kB / 0.506 GB, free: 4.293 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.0005383/0.1153, allocations: 0.7046 MB / 0.5067 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001418/0.1154, allocations: 27.98 kB / 0.5067 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1154, allocations: 0 / 0.5067 GB, free: 3.535 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.506e-05/0.1155, allocations: 27.98 kB / 0.5068 GB, free: 3.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003049/0.1158, allocations: 25.94 kB / 0.5068 GB, free: 3.484 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.1173, allocations: 1.503 MB / 0.5083 GB, free: 1.902 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1177, allocations: 0.6963 MB / 0.5089 GB, free: 1.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.544e-05/0.1177, allocations: 8.375 kB / 0.509 GB, free: 1.172 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.471e-05/0.1178, allocations: 27.42 kB / 0.509 GB, free: 1.145 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1178, allocations: 0 / 0.509 GB, free: 1.145 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2007/0.3185, allocations: 2.094 MB / 0.511 GB, free: 15.11 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.579/7.897, allocations: 5.906 kB / 0.511 GB, free: 15.11 MB / 382.1 MB " [Timeout remaining time 652] (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: 10.347918251994997] Failed to read output from testmodel.py, exit status != 0: 7.967009186279029 7.984411589 7.870616329 Calling exit ...