Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.001315/0.001315, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001589/0.001589, allocations: 216.4 kB / 22.25 MB, free: 5.117 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.581/1.581, allocations: 230.6 MB / 256 MB, free: 7.996 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.1073/0.1073, allocations: 24.12 MB / 336.6 MB, free: 11.42 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.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.002111/0.002111, allocations: 59.91 kB / 470.9 MB, free: 8.77 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 59.6 MB / 0.5181 GB, free: 8.953 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002337/0.3777, allocations: 1.5 MB / 0.5195 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.3785, allocations: 0.5361 MB / 0.5201 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.567e-05/0.3786, allocations: 0 / 0.5201 GB, free: 7.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002402/0.3789, allocations: 23.3 kB / 0.5201 GB, free: 7.652 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.379, allocations: 27.14 kB / 0.5201 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002152/0.3792, allocations: 52.17 kB / 0.5202 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002461/0.3794, allocations: 152.7 kB / 0.5203 GB, free: 7.555 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.998e-05/0.3795, allocations: 10.38 kB / 0.5203 GB, free: 7.551 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.3796, allocations: 58.89 kB / 0.5204 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001391/0.3798, allocations: 61.81 kB / 0.5204 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.418e-05/0.3798, allocations: 15.36 kB / 0.5205 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.689e-05/0.3798, allocations: 6.031 kB / 0.5205 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.608e-05/0.3799, allocations: 37.88 kB / 0.5205 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/0.3799, allocations: 29.88 kB / 0.5205 GB, free: 7.465 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001258/0.38, allocations: 88.41 kB / 0.5206 GB, free: 7.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.38, allocations: 0 / 0.5206 GB, free: 7.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.38, allocations: 0 / 0.5206 GB, free: 7.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.38, allocations: 1.156 kB / 0.5206 GB, free: 7.426 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007852/0.3808, allocations: 373.3 kB / 0.521 GB, free: 7.121 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3809, allocations: 10.84 kB / 0.521 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.323e-05/0.3809, allocations: 38.77 kB / 0.521 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.336e-05/0.3809, allocations: 13.66 kB / 0.521 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000386/0.3813, allocations: 181.1 kB / 0.5212 GB, free: 6.922 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.3813, allocations: 6.938 kB / 0.5212 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.09e-05/0.3814, allocations: 3.984 kB / 0.5212 GB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.3815, allocations: 81.81 kB / 0.5213 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.3815, allocations: 1.469 kB / 0.5213 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.3815, allocations: 0 / 0.5213 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.3815, allocations: 1.562 kB / 0.5213 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.3816, allocations: 50.5 kB / 0.5213 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.3822, allocations: 353 kB / 0.5217 GB, free: 6.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.3823, allocations: 75.23 kB / 0.5217 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.937e-05/0.3824, allocations: 33.61 kB / 0.5218 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.3824, allocations: 1.859 kB / 0.5218 GB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.407e-05/0.3824, allocations: 35.91 kB / 0.5218 GB, free: 6.473 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.3824, allocations: 3.938 kB / 0.5218 GB, free: 6.469 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002669/0.3827, allocations: 123.2 kB / 0.5219 GB, free: 6.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.075e-05/0.3827, allocations: 53.41 kB / 0.522 GB, free: 6.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00032/0.383, allocations: 187.1 kB / 0.5222 GB, free: 6.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.383, allocations: 29.7 kB / 0.5222 GB, free: 6.188 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.5e-05/0.3831, allocations: 108.6 kB / 0.5223 GB, free: 6.086 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.3831, allocations: 16.17 kB / 0.5223 GB, free: 6.074 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.3831, allocations: 25.78 kB / 0.5223 GB, free: 6.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.963e-05/0.3832, allocations: 333.4 kB / 0.5227 GB, free: 5.723 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.366e-05/0.3832, allocations: 27.73 kB / 0.5227 GB, free: 5.715 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.3833, allocations: 29.33 kB / 0.5227 GB, free: 5.707 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.3834, allocations: 72.66 kB / 0.5228 GB, free: 5.676 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.3834, allocations: 0 / 0.5228 GB, free: 5.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001518/0.3835, allocations: 121.7 kB / 0.5229 GB, free: 5.605 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.3836, allocations: 6.125 kB / 0.5229 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.3836, allocations: 0 / 0.5229 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3836, allocations: 0.6562 kB / 0.5229 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.3838, allocations: 27.27 kB / 0.5229 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.3838, allocations: 1.625 kB / 0.5229 GB, free: 5.602 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.3839, allocations: 17.23 kB / 0.5229 GB, free: 5.598 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.804e-06/0.3839, allocations: 5.344 kB / 0.5229 GB, free: 5.594 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 (8): * Single equations (assignments): 8 * 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 6.458e-05/0.384, allocations: 130.9 kB / 0.5231 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.246e-05/0.384, allocations: 8.203 kB / 0.5231 GB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.063e-05/0.3841, allocations: 17.98 kB / 0.5231 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3841, allocations: 2.094 kB / 0.5231 GB, free: 5.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.3841, allocations: 4 kB / 0.5231 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.3841, allocations: 0.75 kB / 0.5231 GB, free: 5.441 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.3845, allocations: 370.7 kB / 0.5235 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3845, allocations: 2.859 kB / 0.5235 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.3846, allocations: 17.12 kB / 0.5235 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3846, allocations: 0 / 0.5235 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.215e-05/0.3846, allocations: 2 kB / 0.5235 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.3846, allocations: 3.938 kB / 0.5235 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3846, allocations: 1.828 kB / 0.5235 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002183/0.3848, allocations: 228.2 kB / 0.5237 GB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.3849, allocations: 13.39 kB / 0.5237 GB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.246e-05/0.3849, allocations: 5.953 kB / 0.5237 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001698/0.385, allocations: 18.23 kB / 0.5237 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.198e-05/0.3851, allocations: 3.125 kB / 0.5237 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3851, allocations: 2.891 kB / 0.5237 GB, free: 4.945 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002491/0.3853, allocations: 160 kB / 0.5239 GB, free: 4.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3853, allocations: 0 / 0.5239 GB, free: 4.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.3856, allocations: 12.72 kB / 0.5239 GB, free: 4.848 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (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 Backend phase and start with SimCode phase: time 0.0003423/0.3859, allocations: 0.7617 MB / 0.5247 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001566/0.3861, allocations: 75.48 kB / 0.5247 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3861, allocations: 0 / 0.5247 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.122e-05/0.3861, allocations: 35.45 kB / 0.5248 GB, free: 4.109 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.3864, allocations: 19.44 kB / 0.5248 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001959/0.3884, allocations: 1.779 MB / 0.5265 GB, free: 2.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.3885, allocations: 0.7091 MB / 0.5272 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.056e-05/0.3885, allocations: 18.72 kB / 0.5272 GB, free: 2.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.3886, allocations: 31.12 kB / 0.5273 GB, free: 2.012 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3886, allocations: 1.281 kB / 0.5273 GB, free: 2.012 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03171/0.4203, allocations: 2.623 MB / 0.5298 GB, free: 1.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.54, allocations: 9.594 kB / 0.5298 GB, free: 1.566 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.SOPDT_overdamped_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_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.420927646002383] Failed to read output from testmodel.py, exit status != 0: 11.644420664997597 11.674601099 11.288979176 Calling exit ...