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.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.001335/0.001335, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.00144/0.00144, allocations: 212.6 kB / 23.01 MB, free: 4.992 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.48/1.48, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.1089/0.1089, allocations: 24.04 MB / 337.2 MB, free: 11.32 MB / 270.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.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: 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.002279/0.002279, allocations: 64.19 kB / 471.4 MB, free: 8.762 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3228, allocations: 59.57 MB / 0.5186 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002344/0.3252, allocations: 1.452 MB / 0.52 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002964/0.3255, allocations: 114.8 kB / 0.5201 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.304e-05/0.3255, allocations: 1.156 kB / 0.5201 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.731e-05/0.3255, allocations: 5.016 kB / 0.5201 GB, free: 8.051 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.729e-05/0.3256, allocations: 5.828 kB / 0.5201 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.3258, allocations: 27.84 kB / 0.5201 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.779e-05/0.3259, allocations: 28.2 kB / 0.5202 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.487e-05/0.326, allocations: 15.28 kB / 0.5202 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.572e-05/0.326, allocations: 16.83 kB / 0.5202 GB, free: 8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.076e-05/0.3261, allocations: 15.14 kB / 0.5202 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3261, allocations: 1.312 kB / 0.5202 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.588e-06/0.3261, allocations: 2.531 kB / 0.5202 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.601e-05/0.3261, allocations: 9.609 kB / 0.5202 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.218e-05/0.3261, allocations: 8 kB / 0.5202 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 7.721e-05/0.3262, allocations: 29.31 kB / 0.5203 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3262, allocations: 0 / 0.5203 GB, free: 7.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3262, allocations: 1.562 kB / 0.5203 GB, free: 7.965 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.3262, allocations: 0 / 0.5203 GB, free: 7.965 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003467/0.3266, allocations: 271.3 kB / 0.5205 GB, free: 7.688 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.3266, allocations: 15.2 kB / 0.5205 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.817e-05/0.3267, allocations: 37.19 kB / 0.5206 GB, free: 7.641 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.321e-05/0.3267, allocations: 7.141 kB / 0.5206 GB, free: 7.637 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.3269, allocations: 124.3 kB / 0.5207 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.034e-05/0.3269, allocations: 1.5 kB / 0.5207 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.827e-05/0.3269, allocations: 2.844 kB / 0.5207 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.671e-05/0.327, allocations: 45.19 kB / 0.5207 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.327, allocations: 4.641 kB / 0.5207 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-06/0.327, allocations: 1.719 kB / 0.5207 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.327, allocations: 0 / 0.5207 GB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.923e-05/0.327, allocations: 10.47 kB / 0.5208 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002772/0.3273, allocations: 237.6 kB / 0.521 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.3273, allocations: 29.53 kB / 0.521 GB, free: 7.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.3274, allocations: 9.812 kB / 0.521 GB, free: 7.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.3274, allocations: 4.594 kB / 0.521 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.3274, allocations: 36.62 kB / 0.5211 GB, free: 7.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.3274, allocations: 0 / 0.5211 GB, free: 7.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001374/0.3275, allocations: 47.38 kB / 0.5211 GB, free: 7.082 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.068e-05/0.3275, allocations: 53.25 kB / 0.5212 GB, free: 7.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.663e-05/0.3276, allocations: 116.6 kB / 0.5213 GB, free: 6.914 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.993e-06/0.3276, allocations: 29.7 kB / 0.5213 GB, free: 6.879 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.064e-05/0.3276, allocations: 101.4 kB / 0.5214 GB, free: 6.781 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.496e-06/0.3277, allocations: 5.844 kB / 0.5214 GB, free: 6.777 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.363e-05/0.3277, allocations: 12.39 kB / 0.5214 GB, free: 6.762 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.491e-05/0.3277, allocations: 322.7 kB / 0.5217 GB, free: 6.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.53e-05/0.3277, allocations: 3.891 kB / 0.5217 GB, free: 6.441 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087e-05/0.3278, allocations: 8 kB / 0.5217 GB, free: 6.438 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.851e-05/0.3278, allocations: 18.78 kB / 0.5217 GB, free: 6.426 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.3278, allocations: 0.5156 kB / 0.5217 GB, free: 6.426 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.916e-05/0.3278, allocations: 52.42 kB / 0.5218 GB, free: 6.383 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3279, allocations: 9.594 kB / 0.5218 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3279, allocations: 0 / 0.5218 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.3279, allocations: 2.219 kB / 0.5218 GB, free: 6.379 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.3279, allocations: 7.469 kB / 0.5218 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3279, allocations: 5.234 kB / 0.5218 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.68e-05/0.328, allocations: 1.125 kB / 0.5218 GB, free: 6.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.328, allocations: 4.969 kB / 0.5218 GB, free: 6.367 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 4.482e-05/0.328, allocations: 115.9 kB / 0.5219 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.232e-05/0.328, allocations: 3.172 kB / 0.5219 GB, free: 6.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.718e-05/0.3281, allocations: 13.25 kB / 0.522 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.3281, allocations: 0.9688 kB / 0.522 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.3281, allocations: 1.875 kB / 0.522 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.3281, allocations: 0.75 kB / 0.522 GB, free: 6.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.3282, allocations: 257.3 kB / 0.5222 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3282, allocations: 0 / 0.5222 GB, free: 5.953 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.264e-05/0.3283, allocations: 8.078 kB / 0.5222 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3283, allocations: 1.375 kB / 0.5222 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3283, allocations: 0.7031 kB / 0.5222 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3283, allocations: 1.406 kB / 0.5222 GB, free: 5.949 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3283, allocations: 3.938 kB / 0.5222 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001053/0.3284, allocations: 146.4 kB / 0.5224 GB, free: 5.805 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.236e-05/0.3284, allocations: 10.75 kB / 0.5224 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.3284, allocations: 0.5625 kB / 0.5224 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.866e-05/0.3285, allocations: 1.219 kB / 0.5224 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.848e-05/0.3285, allocations: 6.531 kB / 0.5224 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.013e-06/0.3285, allocations: 0 / 0.5224 GB, free: 5.793 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.548e-05/0.3285, allocations: 91.56 kB / 0.5225 GB, free: 5.715 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3285, allocations: 0 / 0.5225 GB, free: 5.715 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002141/0.3287, allocations: 9.25 kB / 0.5225 GB, free: 5.711 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.0002017/0.3289, allocations: 0.6857 MB / 0.5231 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 7.506e-05/0.329, allocations: 12.52 kB / 0.5232 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.329, allocations: 1.312 kB / 0.5232 GB, free: 5.031 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.223e-05/0.329, allocations: 8.438 kB / 0.5232 GB, free: 5.027 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.3293, allocations: 16.45 kB / 0.5232 GB, free: 5.02 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007716/0.3301, allocations: 1.275 MB / 0.5244 GB, free: 3.809 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.073e-05/0.3301, allocations: 71.7 kB / 0.5245 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 1.883e-05/0.3301, allocations: 3.375 kB / 0.5245 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.8e-05/0.3301, allocations: 13.25 kB / 0.5245 GB, free: 3.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3301, allocations: 1 kB / 0.5245 GB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02855/0.3587, allocations: 1.953 MB / 0.5264 GB, free: 2.922 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.65, allocations: 10.88 kB / 0.5264 GB, free: 2.918 MB / 382.1 MB " [Timeout remaining time 648] (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: 14.45404689013958] Failed to read output from testmodel.py, exit status != 0: 11.765873577911407 11.795355422 11.463670444 Calling exit ...