Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.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.001259/0.001259, allocations: 102.6 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.001299/0.001299, allocations: 188.6 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.75 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.0991/0.0991, allocations: 22.67 MB / 325.4 MB, free: 7.93 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.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 74.27 kB / 455 MB, free: 42.64 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1021, allocations: 58.02 MB / 0.501 GB, free: 10.4 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002102/0.1042, allocations: 1.432 MB / 0.5024 GB, free: 8.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003642/0.1046, allocations: 127.5 kB / 0.5025 GB, free: 8.836 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.684e-05/0.1046, allocations: 4 kB / 0.5025 GB, free: 8.832 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.639e-05/0.1047, allocations: 3.938 kB / 0.5025 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.836e-05/0.1047, allocations: 3.938 kB / 0.5025 GB, free: 8.824 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1049, allocations: 31.91 kB / 0.5026 GB, free: 8.793 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.1051, allocations: 31.86 kB / 0.5026 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.1051, allocations: 11.98 kB / 0.5026 GB, free: 8.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.967e-05/0.1052, allocations: 7.938 kB / 0.5026 GB, free: 8.742 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.1052, allocations: 23.8 kB / 0.5026 GB, free: 8.719 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.136e-05/0.1053, allocations: 4 kB / 0.5026 GB, free: 8.715 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.724e-05/0.1053, allocations: 4 kB / 0.5027 GB, free: 8.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.1053, allocations: 4 kB / 0.5027 GB, free: 8.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.874e-05/0.1053, allocations: 19.86 kB / 0.5027 GB, free: 8.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 8.023e-05/0.1054, allocations: 23.91 kB / 0.5027 GB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.1054, allocations: 0 / 0.5027 GB, free: 8.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1054, allocations: 0 / 0.5027 GB, free: 8.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1054, allocations: 0 / 0.5027 GB, free: 8.664 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003504/0.1058, allocations: 347.3 kB / 0.503 GB, free: 8.273 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.1058, allocations: 16.03 kB / 0.503 GB, free: 8.258 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.1059, allocations: 38.7 kB / 0.5031 GB, free: 8.211 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.17e-05/0.1059, allocations: 4.938 kB / 0.5031 GB, free: 8.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001646/0.106, allocations: 180.3 kB / 0.5033 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.013e-05/0.1061, allocations: 384 / 0.5033 GB, free: 7.992 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/0.1061, allocations: 4.375 kB / 0.5033 GB, free: 7.988 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.1062, allocations: 46.25 kB / 0.5033 GB, free: 7.938 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1062, allocations: 3.938 kB / 0.5033 GB, free: 7.934 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.1062, allocations: 3.938 kB / 0.5033 GB, free: 7.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.1062, allocations: 7.938 kB / 0.5033 GB, free: 7.922 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.469e-05/0.1063, allocations: 12 kB / 0.5033 GB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002843/0.1065, allocations: 268.9 kB / 0.5036 GB, free: 7.598 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.421e-05/0.1066, allocations: 26.52 kB / 0.5036 GB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.955e-05/0.1066, allocations: 12.92 kB / 0.5036 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.037e-05/0.1066, allocations: 0 / 0.5036 GB, free: 7.547 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.095e-05/0.1066, allocations: 34.56 kB / 0.5037 GB, free: 7.504 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1066, allocations: 0 / 0.5037 GB, free: 7.504 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001278/0.1067, allocations: 49.64 kB / 0.5037 GB, free: 7.449 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.1068, allocations: 55.34 kB / 0.5038 GB, free: 7.383 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.09e-05/0.1068, allocations: 121.8 kB / 0.5039 GB, free: 7.254 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.937e-06/0.1068, allocations: 25.7 kB / 0.5039 GB, free: 7.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.152e-05/0.1069, allocations: 96.06 kB / 0.504 GB, free: 7.125 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.173e-05/0.1069, allocations: 16.02 kB / 0.504 GB, free: 7.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.401e-05/0.1069, allocations: 13.72 kB / 0.504 GB, free: 7.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.706e-05/0.107, allocations: 322.8 kB / 0.5043 GB, free: 6.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.519e-05/0.107, allocations: 4 kB / 0.5043 GB, free: 6.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.977e-06/0.107, allocations: 4 kB / 0.5043 GB, free: 6.758 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.527e-05/0.1071, allocations: 16.86 kB / 0.5044 GB, free: 6.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1071, allocations: 0 / 0.5044 GB, free: 6.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.278e-05/0.1071, allocations: 49.62 kB / 0.5044 GB, free: 6.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.1071, allocations: 4 kB / 0.5044 GB, free: 6.68 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.1071, allocations: 4 kB / 0.5044 GB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1071, allocations: 4 kB / 0.5044 GB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.318e-05/0.1072, allocations: 4 kB / 0.5044 GB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1072, allocations: 0 / 0.5044 GB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.734e-05/0.1072, allocations: 3.953 kB / 0.5044 GB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.077e-06/0.1072, allocations: 0 / 0.5044 GB, free: 6.664 MB / 366.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 4.213e-05/0.1073, allocations: 126.5 kB / 0.5045 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.1073, allocations: 0 / 0.5045 GB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.709e-05/0.1073, allocations: 3.531 kB / 0.5045 GB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1073, allocations: 8.141 kB / 0.5045 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.1073, allocations: 0 / 0.5045 GB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.1073, allocations: 3.984 kB / 0.5046 GB, free: 6.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000155/0.1075, allocations: 286.5 kB / 0.5048 GB, free: 6.176 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1075, allocations: 3.938 kB / 0.5048 GB, free: 6.172 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.129e-05/0.1075, allocations: 11.98 kB / 0.5048 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.372e-06/0.1075, allocations: 0 / 0.5048 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.871e-06/0.1075, allocations: 0 / 0.5048 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.71e-07/0.1075, allocations: 0 / 0.5048 GB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1075, allocations: 3.938 kB / 0.5048 GB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.772e-05/0.1076, allocations: 151.5 kB / 0.505 GB, free: 5.992 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.821e-05/0.1076, allocations: 77.11 kB / 0.5051 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.102e-05/0.1076, allocations: 0 / 0.5051 GB, free: 5.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.916e-05/0.1077, allocations: 4.031 kB / 0.5051 GB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.533e-05/0.1077, allocations: 3.938 kB / 0.5051 GB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-06/0.1077, allocations: 0 / 0.5051 GB, free: 5.891 MB / 366.1 MB Notification: Performance of sorting global known variables: time 2.845e-05/0.1077, allocations: 99.61 kB / 0.5052 GB, free: 5.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1077, allocations: 4 kB / 0.5052 GB, free: 5.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.1079, allocations: 7.953 kB / 0.5052 GB, free: 5.781 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (2): * Single equations (assignments): 2 * 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.0001964/0.1081, allocations: 0.6657 MB / 0.5058 GB, free: 5.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.1082, allocations: 20.02 kB / 0.5058 GB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1082, allocations: 4 kB / 0.5058 GB, free: 5.066 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.277e-06/0.1082, allocations: 8 kB / 0.5059 GB, free: 5.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1085, allocations: 15.88 kB / 0.5059 GB, free: 5.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007255/0.1092, allocations: 1.277 MB / 0.5071 GB, free: 3.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001555/0.1094, allocations: 0.6846 MB / 0.5078 GB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 1.873e-05/0.1094, allocations: 4 kB / 0.5078 GB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.1094, allocations: 11.44 kB / 0.5078 GB, free: 2.957 MB / 366.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1094, allocations: 4 kB / 0.5078 GB, free: 2.953 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.1356, allocations: 1.411 MB / 0.5092 GB, free: 1.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/7.955, allocations: 17.2 kB / 0.5092 GB, free: 1.586 MB / 366.1 MB " [Timeout remaining time 652] (rm -f AES_AES.ProcessBlocks.FOPDT.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT.pipe >> ../files/AES_AES.ProcessBlocks.FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.644988670013845] Failed to read output from testmodel.py, exit status != 0: 8.018649965059012 8.03302423 7.924867582 Calling exit ...