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.00141/0.00141, allocations: 102.8 kB / 16.45 MB, free: 6.449 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.001795/0.001795, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.551/1.551, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.1092/0.1092, allocations: 24.1 MB / 333 MB, free: 12.64 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.002136/0.002136, allocations: 63.89 kB / 465.7 MB, free: 11.23 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3717/0.3739, allocations: 59.56 MB / 0.513 GB, free: 8.418 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.003033/0.3769, allocations: 1.489 MB / 0.5144 GB, free: 7.781 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001057/0.3779, allocations: 0.5339 MB / 0.5149 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.851e-05/0.378, allocations: 1.125 kB / 0.5149 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003076/0.3783, allocations: 23.25 kB / 0.515 GB, free: 7.402 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3785, allocations: 31.55 kB / 0.515 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002258/0.3787, allocations: 48.19 kB / 0.515 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002157/0.3789, allocations: 123.8 kB / 0.5152 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.763e-05/0.379, allocations: 15.2 kB / 0.5152 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3791, allocations: 48.58 kB / 0.5152 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.3793, allocations: 71.44 kB / 0.5153 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.3793, allocations: 7.25 kB / 0.5153 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.877e-05/0.3793, allocations: 7.031 kB / 0.5153 GB, free: 7.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.108e-05/0.3794, allocations: 33.78 kB / 0.5153 GB, free: 7.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.13e-05/0.3794, allocations: 44.48 kB / 0.5154 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001479/0.3796, allocations: 79.44 kB / 0.5154 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3796, allocations: 0 / 0.5154 GB, free: 7.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3796, allocations: 0 / 0.5154 GB, free: 7.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.174e-05/0.3796, allocations: 0 / 0.5154 GB, free: 7.195 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.0009252/0.3805, allocations: 448.7 kB / 0.5159 GB, free: 6.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.3806, allocations: 14 kB / 0.5159 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.319e-05/0.3806, allocations: 43.05 kB / 0.5159 GB, free: 6.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3807, allocations: 10.61 kB / 0.5159 GB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000409/0.3811, allocations: 231.8 kB / 0.5162 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/0.3811, allocations: 2.594 kB / 0.5162 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.3811, allocations: 10.66 kB / 0.5162 GB, free: 6.527 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.3813, allocations: 81.22 kB / 0.5163 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3813, allocations: 0 / 0.5163 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.3813, allocations: 5.406 kB / 0.5163 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.301e-06/0.3813, allocations: 1.188 kB / 0.5163 GB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.3814, allocations: 55.06 kB / 0.5163 GB, free: 6.457 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006046/0.382, allocations: 369.8 kB / 0.5167 GB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001484/0.3822, allocations: 75.66 kB / 0.5167 GB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.053e-05/0.3822, allocations: 41.7 kB / 0.5168 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.3823, allocations: 5.25 kB / 0.5168 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.3823, allocations: 31.66 kB / 0.5168 GB, free: 6.047 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.3823, allocations: 0 / 0.5168 GB, free: 6.047 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002949/0.3826, allocations: 127.7 kB / 0.5169 GB, free: 5.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.641e-05/0.3826, allocations: 52.69 kB / 0.517 GB, free: 5.918 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003536/0.383, allocations: 194.4 kB / 0.5172 GB, free: 5.793 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.383, allocations: 25.7 kB / 0.5172 GB, free: 5.762 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.383, allocations: 112.2 kB / 0.5173 GB, free: 5.656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.383, allocations: 20.53 kB / 0.5173 GB, free: 5.641 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.702e-05/0.3831, allocations: 21.7 kB / 0.5173 GB, free: 5.621 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.3831, allocations: 328.7 kB / 0.5177 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.029e-05/0.3832, allocations: 28.91 kB / 0.5177 GB, free: 5.289 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.203e-05/0.3833, allocations: 29.11 kB / 0.5177 GB, free: 5.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.3834, allocations: 76.39 kB / 0.5178 GB, free: 5.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.3834, allocations: 0 / 0.5178 GB, free: 5.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001716/0.3835, allocations: 112.5 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.3836, allocations: 5.625 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.3836, allocations: 0.75 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.3836, allocations: 1.469 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.3838, allocations: 22.3 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.3838, allocations: 1.062 kB / 0.5179 GB, free: 5.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3839, allocations: 17.42 kB / 0.5179 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.3839, allocations: 6.969 kB / 0.5179 GB, free: 5.176 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.917e-05/0.384, allocations: 126.6 kB / 0.5181 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.384, allocations: 9.031 kB / 0.5181 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.347e-05/0.3841, allocations: 12.38 kB / 0.5181 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.3841, allocations: 1.734 kB / 0.5181 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3841, allocations: 9.156 kB / 0.5181 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.3841, allocations: 0.75 kB / 0.5181 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.3846, allocations: 407.5 kB / 0.5185 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.3846, allocations: 0 / 0.5185 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.224e-05/0.3847, allocations: 12.05 kB / 0.5185 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3847, allocations: 1.219 kB / 0.5185 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.378e-05/0.3847, allocations: 1.672 kB / 0.5185 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.3847, allocations: 7.875 kB / 0.5185 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.475e-06/0.3847, allocations: 1.984 kB / 0.5185 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002419/0.3849, allocations: 229.5 kB / 0.5187 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.731e-05/0.385, allocations: 97.28 kB / 0.5188 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.385, allocations: 2.5 kB / 0.5188 GB, free: 4.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.3851, allocations: 18.59 kB / 0.5188 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.671e-05/0.3852, allocations: 2.891 kB / 0.5188 GB, free: 4.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-06/0.3852, allocations: 1.375 kB / 0.5188 GB, free: 4.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000264/0.3854, allocations: 153.7 kB / 0.519 GB, free: 4.305 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3854, allocations: 0 / 0.519 GB, free: 4.305 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002463/0.3857, allocations: 17.12 kB / 0.519 GB, free: 4.301 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.0003967/0.3861, allocations: 0.7581 MB / 0.5197 GB, free: 3.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.3863, allocations: 63.55 kB / 0.5198 GB, free: 3.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3863, allocations: 7.875 kB / 0.5198 GB, free: 3.582 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.889e-05/0.3863, allocations: 31.11 kB / 0.5198 GB, free: 3.574 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.3866, allocations: 20.66 kB / 0.5199 GB, free: 3.562 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002272/0.3889, allocations: 1.782 MB / 0.5216 GB, free: 2.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.389, allocations: 0.7071 MB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.1e-05/0.3891, allocations: 19.75 kB / 0.5223 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.966e-05/0.3892, allocations: 27.17 kB / 0.5223 GB, free: 1.48 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3892, allocations: 0 / 0.5223 GB, free: 1.48 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02766/0.4168, allocations: 2.468 MB / 0.5247 GB, free: 1.051 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.243/8.66, allocations: 7.312 kB / 0.5248 GB, free: 1.047 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.51735784090124] Failed to read output from testmodel.py, exit status != 0: 8.730548423947766 8.757218284 8.372993927 Calling exit ...