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.001234/0.001234, allocations: 102.9 kB / 16.4 MB, free: 6.492 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.001228/0.001228, allocations: 195.7 kB / 19.35 MB, free: 3.734 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.375/1.375, allocations: 222.9 MB / 245.1 MB, free: 15 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.0972/0.0972, allocations: 22.33 MB / 319.6 MB, free: 6.777 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.001852/0.001853, allocations: 67.88 kB / 443.1 MB, free: 10.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1045, allocations: 54.95 MB / 498.1 MB, free: 3.77 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002506/0.1071, allocations: 1.437 MB / 499.5 MB, free: 2.32 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003302/0.1074, allocations: 119.6 kB / 499.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.635e-05/0.1075, allocations: 0 / 499.6 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.1075, allocations: 3.938 kB / 499.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 6.857e-05/0.1076, allocations: 3.938 kB / 499.6 MB, free: 2.195 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002079/0.1078, allocations: 27.91 kB / 499.7 MB, free: 2.168 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001183/0.1079, allocations: 35.84 kB / 499.7 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.087e-05/0.108, allocations: 19.94 kB / 499.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.16e-05/0.108, allocations: 7.938 kB / 499.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.1081, allocations: 15.92 kB / 499.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1081, allocations: 0 / 499.7 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.089e-05/0.1081, allocations: 4 kB / 499.7 MB, free: 2.086 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.1082, allocations: 11.92 kB / 499.7 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 2.468e-05/0.1082, allocations: 15.92 kB / 499.8 MB, free: 2.059 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 7.277e-05/0.1083, allocations: 19.86 kB / 499.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.1083, allocations: 4 kB / 499.8 MB, free: 2.035 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1083, allocations: 4 kB / 499.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.877e-06/0.1083, allocations: 0 / 499.8 MB, free: 2.031 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.000417/0.1087, allocations: 351.2 kB / 0.4884 GB, free: 1.637 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.1088, allocations: 8.031 kB / 0.4884 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.244e-05/0.1088, allocations: 34.75 kB / 0.4885 GB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.1088, allocations: 0.9375 kB / 0.4885 GB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002208/0.1091, allocations: 188.2 kB / 0.4886 GB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.1091, allocations: 384 / 0.4886 GB, free: 1.363 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.1091, allocations: 4.375 kB / 0.4886 GB, free: 1.359 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1092, allocations: 50.25 kB / 0.4887 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.1092, allocations: 3.938 kB / 0.4887 GB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.755e-06/0.1092, allocations: 0 / 0.4887 GB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.1092, allocations: 0 / 0.4887 GB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.02e-05/0.1093, allocations: 11.94 kB / 0.4887 GB, free: 1.289 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004104/0.1097, allocations: 276.8 kB / 0.489 GB, free: 0.9688 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.975e-05/0.1098, allocations: 26.52 kB / 0.489 GB, free: 0.9336 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.1098, allocations: 16.92 kB / 0.489 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.613e-06/0.1098, allocations: 0 / 0.489 GB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1099, allocations: 34.55 kB / 0.489 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/0.1099, allocations: 0 / 0.489 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001735/0.11, allocations: 45.66 kB / 0.4891 GB, free: 0.8203 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.1101, allocations: 51.41 kB / 0.4891 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.1102, allocations: 121.9 kB / 0.4892 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1103, allocations: 29.7 kB / 0.4893 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.1103, allocations: 92.08 kB / 0.4894 GB, free: 0.5 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.639e-05/0.1103, allocations: 7.891 kB / 0.4894 GB, free: 0.4922 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/0.1104, allocations: 21.66 kB / 0.4894 GB, free: 476 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.1106, allocations: 322.8 kB / 0.4897 GB, free: 144 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.68e-05/0.1106, allocations: 4 kB / 0.4897 GB, free: 140 kB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.1106, allocations: 4 kB / 0.4897 GB, free: 136 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.1107, allocations: 20.86 kB / 0.4897 GB, free: 112 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.1107, allocations: 0 / 0.4897 GB, free: 112 kB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.649e-05/0.1107, allocations: 45.83 kB / 0.4898 GB, free: 60 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.1108, allocations: 7.938 kB / 0.4898 GB, free: 52 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1108, allocations: 3.984 kB / 0.4898 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1108, allocations: 0 / 0.4898 GB, free: 48 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.135e-05/0.1109, allocations: 4 kB / 0.4898 GB, free: 44 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.1109, allocations: 4 kB / 0.4898 GB, free: 40 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.919e-05/0.1109, allocations: 4.328 kB / 0.4898 GB, free: 36 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1109, allocations: 4 kB / 0.4898 GB, free: 32 kB / 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 0.0001189/0.111, allocations: 118.6 kB / 0.4899 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.1111, allocations: 4 kB / 0.4899 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.1111, allocations: 11.47 kB / 0.4899 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-06/0.1111, allocations: 0 / 0.4899 GB, free: 15.89 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1111, allocations: 4 kB / 0.4899 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.1111, allocations: 4 kB / 0.4899 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.1114, allocations: 286.5 kB / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1114, allocations: 0 / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.436e-05/0.1115, allocations: 8.031 kB / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.452e-06/0.1115, allocations: 0 / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.224e-06/0.1115, allocations: 0 / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1115, allocations: 0 / 0.4902 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1115, allocations: 3.938 kB / 0.4902 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1117, allocations: 147.5 kB / 0.4904 GB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.1118, allocations: 77.11 kB / 0.4904 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.424e-05/0.1118, allocations: 0 / 0.4904 GB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.812e-05/0.1119, allocations: 4.094 kB / 0.4904 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.1119, allocations: 7.969 kB / 0.4904 GB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.1119, allocations: 0 / 0.4904 GB, free: 15.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.745e-05/0.112, allocations: 95.2 kB / 0.4905 GB, free: 15.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.112, allocations: 0 / 0.4905 GB, free: 15.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002212/0.1122, allocations: 7.953 kB / 0.4905 GB, free: 15.16 MB / 382.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.0005113/0.1127, allocations: 0.6773 MB / 0.4912 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.647e-05/0.1128, allocations: 11.98 kB / 0.4912 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1128, allocations: 3.938 kB / 0.4912 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.338e-05/0.1128, allocations: 12 kB / 0.4912 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.1131, allocations: 7.938 kB / 0.4912 GB, free: 14.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.1145, allocations: 1.285 MB / 0.4925 GB, free: 13.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1148, allocations: 0.6884 MB / 0.4932 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.191e-05/0.1149, allocations: 3.906 kB / 0.4932 GB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.143e-05/0.1149, allocations: 15.42 kB / 0.4932 GB, free: 12.32 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1149, allocations: 0 / 0.4932 GB, free: 12.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.1385, allocations: 1.414 MB / 0.4946 GB, free: 10.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.779/7.918, allocations: 11.3 kB / 0.4946 GB, free: 10.96 MB / 382.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 & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.FOPDT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.597316469997168] Failed to read output from testmodel.py, exit status != 0: 7.986170966993086 8.184094231 7.898229264 Calling exit ...