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.002012/0.002012, allocations: 106.2 kB / 16.45 MB, free: 6.453 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.002376/0.002376, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.611/1.611, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.1281/0.1281, allocations: 24.12 MB / 333 MB, free: 12.61 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.002323/0.002323, allocations: 63.89 kB / 465.7 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3765, allocations: 59.58 MB / 0.513 GB, free: 8.422 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002735/0.3793, allocations: 1.448 MB / 0.5144 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000366/0.3796, allocations: 115.5 kB / 0.5145 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.892e-05/0.3797, allocations: 1.156 kB / 0.5145 GB, free: 7.727 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.537e-05/0.3798, allocations: 7.922 kB / 0.5145 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.15e-05/0.3799, allocations: 9.266 kB / 0.5145 GB, free: 7.715 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.3801, allocations: 30.05 kB / 0.5145 GB, free: 7.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001257/0.3802, allocations: 32.31 kB / 0.5146 GB, free: 7.688 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.3804, allocations: 10.77 kB / 0.5146 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.606e-05/0.3804, allocations: 17.3 kB / 0.5146 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.647e-05/0.3805, allocations: 19.52 kB / 0.5146 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.3805, allocations: 6.156 kB / 0.5146 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.083e-05/0.3805, allocations: 2.344 kB / 0.5146 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.3805, allocations: 1.625 kB / 0.5146 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.3805, allocations: 15.67 kB / 0.5146 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001553/0.3807, allocations: 25.8 kB / 0.5147 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3807, allocations: 0 / 0.5147 GB, free: 7.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3807, allocations: 3 kB / 0.5147 GB, free: 7.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3807, allocations: 0.9688 kB / 0.5147 GB, free: 7.637 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.0004308/0.3811, allocations: 348.6 kB / 0.515 GB, free: 7.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.3812, allocations: 10.22 kB / 0.515 GB, free: 7.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.171e-05/0.3813, allocations: 33.28 kB / 0.515 GB, free: 7.227 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.294e-05/0.3813, allocations: 7.609 kB / 0.515 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002001/0.3815, allocations: 184 kB / 0.5152 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.239e-05/0.3815, allocations: 6.016 kB / 0.5152 GB, free: 7.012 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.671e-05/0.3815, allocations: 5.688 kB / 0.5152 GB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.186e-05/0.3816, allocations: 41.5 kB / 0.5153 GB, free: 6.973 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3816, allocations: 12.58 kB / 0.5153 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.3816, allocations: 1.891 kB / 0.5153 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.3816, allocations: 0 / 0.5153 GB, free: 6.961 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.457e-05/0.3817, allocations: 11.03 kB / 0.5153 GB, free: 6.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003273/0.382, allocations: 270 kB / 0.5156 GB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.856e-05/0.382, allocations: 24.83 kB / 0.5156 GB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.3821, allocations: 14.36 kB / 0.5156 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.873e-06/0.3821, allocations: 1.375 kB / 0.5156 GB, free: 6.637 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.3821, allocations: 36.56 kB / 0.5156 GB, free: 6.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3821, allocations: 0 / 0.5156 GB, free: 6.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001472/0.3822, allocations: 51.55 kB / 0.5157 GB, free: 6.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.3823, allocations: 51.41 kB / 0.5157 GB, free: 6.488 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.757e-05/0.3824, allocations: 112.2 kB / 0.5158 GB, free: 6.387 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.386e-06/0.3824, allocations: 26.95 kB / 0.5159 GB, free: 6.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.577e-05/0.3824, allocations: 100.4 kB / 0.516 GB, free: 6.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.133e-05/0.3824, allocations: 9.609 kB / 0.516 GB, free: 6.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.3824, allocations: 12.88 kB / 0.516 GB, free: 6.234 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.04e-05/0.3825, allocations: 322.6 kB / 0.5163 GB, free: 5.914 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.66e-05/0.3825, allocations: 2.797 kB / 0.5163 GB, free: 5.914 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.232e-05/0.3825, allocations: 8.25 kB / 0.5163 GB, free: 5.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.43e-05/0.3826, allocations: 22.53 kB / 0.5163 GB, free: 5.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.3826, allocations: 0 / 0.5163 GB, free: 5.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.905e-05/0.3826, allocations: 52.02 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.3826, allocations: 5.938 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.3826, allocations: 1.5 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.3827, allocations: 0 / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.808e-05/0.3827, allocations: 7.984 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3827, allocations: 0.9062 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.864e-05/0.3828, allocations: 0.6562 kB / 0.5164 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3828, allocations: 1.25 kB / 0.5164 GB, free: 5.852 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 5.253e-05/0.3828, allocations: 118.3 kB / 0.5165 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.436e-05/0.3828, allocations: 10.02 kB / 0.5165 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.41e-05/0.3829, allocations: 9.531 kB / 0.5165 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.3829, allocations: 0 / 0.5165 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.3829, allocations: 6.109 kB / 0.5165 GB, free: 5.707 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3829, allocations: 3.938 kB / 0.5165 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/0.3831, allocations: 288.6 kB / 0.5168 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3831, allocations: 0 / 0.5168 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.876e-05/0.3831, allocations: 4.859 kB / 0.5168 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.3831, allocations: 0.6875 kB / 0.5168 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.3831, allocations: 5.781 kB / 0.5168 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3831, allocations: 0 / 0.5168 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3831, allocations: 3.938 kB / 0.5168 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001088/0.3832, allocations: 142 kB / 0.5169 GB, free: 5.246 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.644e-05/0.3833, allocations: 83.06 kB / 0.517 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.523e-05/0.3833, allocations: 5.922 kB / 0.517 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.205e-05/0.3833, allocations: 0 / 0.517 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.3834, allocations: 10.16 kB / 0.517 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.975e-06/0.3834, allocations: 1.344 kB / 0.517 GB, free: 5.137 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.3834, allocations: 90.98 kB / 0.5171 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3834, allocations: 0 / 0.5171 GB, free: 5.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.3836, allocations: 9.125 kB / 0.5171 GB, free: 5.055 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.0002367/0.3839, allocations: 0.6774 MB / 0.5178 GB, free: 4.383 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.275e-05/0.384, allocations: 13.59 kB / 0.5178 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.384, allocations: 0 / 0.5178 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.359e-05/0.384, allocations: 4.344 kB / 0.5178 GB, free: 4.379 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.3843, allocations: 14 kB / 0.5178 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009357/0.3852, allocations: 1.279 MB / 0.5191 GB, free: 3.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.3853, allocations: 0.6836 MB / 0.5197 GB, free: 2.461 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.59e-05/0.3854, allocations: 6.859 kB / 0.5198 GB, free: 2.457 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.183e-05/0.3854, allocations: 18.61 kB / 0.5198 GB, free: 2.441 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3854, allocations: 0 / 0.5198 GB, free: 2.441 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.4102, allocations: 1.409 MB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.104/8.515, allocations: 12.56 kB / 0.5212 GB, free: 2.082 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.486755243036896] Failed to read output from testmodel.py, exit status != 0: 8.582633742131293 8.604904358 8.219550993 Calling exit ...