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.001283/0.001283, allocations: 114.3 kB / 18.94 MB, free: 2.793 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.001459/0.001459, allocations: 219.9 kB / 22.26 MB, free: 5.211 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.47/1.47, allocations: 230.6 MB / 256 MB, free: 7.988 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.1064/0.1064, allocations: 24.12 MB / 336.6 MB, free: 11.44 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.002107/0.002107, allocations: 66.41 kB / 470.9 MB, free: 8.789 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 59.59 MB / 0.5181 GB, free: 8.973 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002604/0.3349, allocations: 1.471 MB / 0.5195 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003389/0.3352, allocations: 118.6 kB / 0.5196 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.3353, allocations: 0 / 0.5196 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.295e-05/0.3353, allocations: 4.828 kB / 0.5196 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.3354, allocations: 10.61 kB / 0.5196 GB, free: 7.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.3356, allocations: 22.12 kB / 0.5197 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.3358, allocations: 40.64 kB / 0.5197 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001468/0.3359, allocations: 10.02 kB / 0.5197 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.851e-05/0.336, allocations: 13.22 kB / 0.5197 GB, free: 7.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.3361, allocations: 22.44 kB / 0.5197 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.796e-05/0.3361, allocations: 2.062 kB / 0.5197 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.572e-05/0.3361, allocations: 2.094 kB / 0.5197 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.3361, allocations: 1.734 kB / 0.5197 GB, free: 7.926 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.3362, allocations: 16.69 kB / 0.5198 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3363, allocations: 24.42 kB / 0.5198 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.565e-06/0.3363, allocations: 0 / 0.5198 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.3363, allocations: 0.8438 kB / 0.5198 GB, free: 7.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.3363, allocations: 1.344 kB / 0.5198 GB, free: 7.902 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.0005454/0.3369, allocations: 274.5 kB / 0.52 GB, free: 7.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.3369, allocations: 14.7 kB / 0.5201 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.113e-05/0.337, allocations: 33.19 kB / 0.5201 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.179e-05/0.337, allocations: 7.734 kB / 0.5201 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002269/0.3372, allocations: 127.8 kB / 0.5202 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.3373, allocations: 1.562 kB / 0.5202 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.344e-05/0.3373, allocations: 2.938 kB / 0.5202 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.3374, allocations: 44.95 kB / 0.5203 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.3374, allocations: 5.469 kB / 0.5203 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.3374, allocations: 0 / 0.5203 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3374, allocations: 5.312 kB / 0.5203 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.3375, allocations: 14.78 kB / 0.5203 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004132/0.3379, allocations: 235.4 kB / 0.5205 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.297e-05/0.338, allocations: 28.88 kB / 0.5205 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.338, allocations: 14.25 kB / 0.5206 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.53e-05/0.338, allocations: 4 kB / 0.5206 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.338, allocations: 32.47 kB / 0.5206 GB, free: 7.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.338, allocations: 3.938 kB / 0.5206 GB, free: 7.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.000198/0.3382, allocations: 47.61 kB / 0.5206 GB, free: 7.012 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.3383, allocations: 52.66 kB / 0.5207 GB, free: 6.949 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3384, allocations: 115.6 kB / 0.5208 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.027e-06/0.3384, allocations: 29.64 kB / 0.5208 GB, free: 6.809 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.3384, allocations: 97.92 kB / 0.5209 GB, free: 6.715 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.3384, allocations: 10.05 kB / 0.5209 GB, free: 6.707 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.371e-05/0.3385, allocations: 16.77 kB / 0.521 GB, free: 6.688 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.231e-05/0.3386, allocations: 317.7 kB / 0.5213 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.178e-05/0.3386, allocations: 7.625 kB / 0.5213 GB, free: 6.367 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.25e-05/0.3386, allocations: 3.5 kB / 0.5213 GB, free: 6.367 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.3386, allocations: 17.2 kB / 0.5213 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3386, allocations: 0 / 0.5213 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.479e-05/0.3387, allocations: 47.8 kB / 0.5213 GB, free: 6.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.3387, allocations: 12.67 kB / 0.5213 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3388, allocations: 0 / 0.5213 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.3388, allocations: 0 / 0.5213 GB, free: 6.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.976e-05/0.3389, allocations: 13.06 kB / 0.5214 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.3389, allocations: 2.109 kB / 0.5214 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.915e-05/0.3389, allocations: 0 / 0.5214 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.3389, allocations: 1.438 kB / 0.5214 GB, free: 6.305 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 7.451e-05/0.339, allocations: 115.8 kB / 0.5215 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.76e-05/0.339, allocations: 6.891 kB / 0.5215 GB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.339, allocations: 13.38 kB / 0.5215 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.339, allocations: 1.188 kB / 0.5215 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.339, allocations: 0.75 kB / 0.5215 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.339, allocations: 0 / 0.5215 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.3393, allocations: 263.8 kB / 0.5217 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.3393, allocations: 0.6562 kB / 0.5217 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.57e-05/0.3393, allocations: 7.531 kB / 0.5217 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3393, allocations: 0.7969 kB / 0.5217 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-06/0.3393, allocations: 0.9688 kB / 0.5217 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3393, allocations: 384 / 0.5217 GB, free: 5.879 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3393, allocations: 9.625 kB / 0.5218 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.3394, allocations: 142 kB / 0.5219 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.136e-05/0.3394, allocations: 5.906 kB / 0.5219 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3395, allocations: 4.781 kB / 0.5219 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.3395, allocations: 1.375 kB / 0.5219 GB, free: 5.727 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.3395, allocations: 8.625 kB / 0.5219 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3395, allocations: 1.281 kB / 0.5219 GB, free: 5.723 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.3396, allocations: 96.44 kB / 0.522 GB, free: 5.641 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3396, allocations: 0 / 0.522 GB, free: 5.641 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3398, allocations: 12.97 kB / 0.522 GB, free: 5.633 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.000238/0.34, allocations: 0.6763 MB / 0.5227 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 9.461e-05/0.3401, allocations: 14.11 kB / 0.5227 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.3401, allocations: 0 / 0.5227 GB, free: 4.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.404e-05/0.3402, allocations: 12.31 kB / 0.5227 GB, free: 4.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003255/0.3405, allocations: 11.39 kB / 0.5227 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008713/0.3414, allocations: 1.276 MB / 0.524 GB, free: 3.73 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001322/0.3415, allocations: 0.6831 MB / 0.5246 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.262e-05/0.3415, allocations: 2.484 kB / 0.5246 GB, free: 3.035 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.325e-05/0.3415, allocations: 10.23 kB / 0.5246 GB, free: 3.027 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3415, allocations: 4 kB / 0.5246 GB, free: 3.023 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.3708, allocations: 1.557 MB / 0.5262 GB, free: 2.645 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.05/11.42, allocations: 7.672 kB / 0.5262 GB, free: 2.641 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.233164707002288] Failed to read output from testmodel.py, exit status != 0: 11.526573852999718 11.556141118 11.214082576 Calling exit ...