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.001855/0.001855, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001746/0.001746, allocations: 220.4 kB / 23.05 MB, free: 5.074 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.6/1.6, allocations: 230.6 MB / 256.8 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.1041/0.1041, allocations: 22.93 MB / 336.2 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="cs",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.002072/0.002072, allocations: 63.91 kB / 469.9 MB, free: 10.4 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.362/0.3641, allocations: 59.28 MB / 0.5168 GB, free: 9.266 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002906/0.367, allocations: 1.466 MB / 0.5182 GB, free: 8.637 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003581/0.3673, allocations: 114.9 kB / 0.5183 GB, free: 8.562 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.3674, allocations: 5.25 kB / 0.5183 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.402e-05/0.3674, allocations: 0.7969 kB / 0.5183 GB, free: 8.559 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.43e-05/0.3675, allocations: 18.11 kB / 0.5183 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.3678, allocations: 23.98 kB / 0.5183 GB, free: 8.531 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3679, allocations: 33 kB / 0.5184 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.368, allocations: 15.48 kB / 0.5184 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.368, allocations: 12.36 kB / 0.5184 GB, free: 8.504 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.038e-05/0.3681, allocations: 18.83 kB / 0.5184 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.3681, allocations: 1.094 kB / 0.5184 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.298e-06/0.3681, allocations: 2.562 kB / 0.5184 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.3681, allocations: 6.125 kB / 0.5184 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.3681, allocations: 15.97 kB / 0.5184 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 9.567e-05/0.3682, allocations: 20.64 kB / 0.5185 GB, free: 8.469 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3682, allocations: 4.625 kB / 0.5185 GB, free: 8.465 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3682, allocations: 0 / 0.5185 GB, free: 8.465 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.3682, allocations: 0.5 kB / 0.5185 GB, free: 8.465 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.000368/0.3686, allocations: 272.1 kB / 0.5187 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.3687, allocations: 13.45 kB / 0.5187 GB, free: 8.191 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.344e-05/0.3687, allocations: 6.203 kB / 0.5188 GB, free: 8.188 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.081e-05/0.3687, allocations: 37.3 kB / 0.5188 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.851e-05/0.3688, allocations: 7.984 kB / 0.5188 GB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.369, allocations: 120.5 kB / 0.5189 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.225e-06/0.369, allocations: 2.531 kB / 0.5189 GB, free: 8.008 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.225e-05/0.369, allocations: 11.16 kB / 0.5189 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.3691, allocations: 59.05 kB / 0.519 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.3691, allocations: 0.7031 kB / 0.519 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.656e-06/0.3691, allocations: 3.938 kB / 0.519 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3691, allocations: 1.188 kB / 0.519 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.411e-05/0.3692, allocations: 13.22 kB / 0.519 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3695, allocations: 247.7 kB / 0.5192 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/0.3696, allocations: 33.92 kB / 0.5193 GB, free: 7.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.121e-05/0.3696, allocations: 19.42 kB / 0.5193 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.133e-06/0.3697, allocations: 0.5625 kB / 0.5193 GB, free: 7.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.3697, allocations: 31.75 kB / 0.5193 GB, free: 7.613 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.3697, allocations: 0 / 0.5193 GB, free: 7.613 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001466/0.3698, allocations: 56.16 kB / 0.5194 GB, free: 7.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.93e-05/0.3698, allocations: 53.36 kB / 0.5194 GB, free: 7.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.656e-05/0.3699, allocations: 112.1 kB / 0.5195 GB, free: 7.406 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.084e-06/0.3699, allocations: 29.7 kB / 0.5196 GB, free: 7.371 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.3699, allocations: 96.55 kB / 0.5196 GB, free: 7.277 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.37, allocations: 18.95 kB / 0.5197 GB, free: 7.262 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.37, allocations: 13.34 kB / 0.5197 GB, free: 7.246 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.37, allocations: 323 kB / 0.52 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.743e-05/0.37, allocations: 3.594 kB / 0.52 GB, free: 6.926 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.447e-05/0.3701, allocations: 8.281 kB / 0.52 GB, free: 6.922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.676e-05/0.3701, allocations: 19.59 kB / 0.52 GB, free: 6.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3701, allocations: 4.969 kB / 0.52 GB, free: 6.906 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.177e-05/0.3702, allocations: 58.53 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.3702, allocations: 5.281 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3702, allocations: 1.625 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.21e-05/0.3702, allocations: 0 / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.597e-05/0.3703, allocations: 6.219 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3703, allocations: 1.297 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.3703, allocations: 0.6562 kB / 0.5201 GB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.3703, allocations: 1.438 kB / 0.5201 GB, free: 6.859 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 (4): * Single equations (assignments): 4 * 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.583e-05/0.3704, allocations: 116.5 kB / 0.5202 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.3704, allocations: 5.359 kB / 0.5202 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.596e-05/0.3704, allocations: 14.19 kB / 0.5202 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.3704, allocations: 1.156 kB / 0.5202 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.3704, allocations: 0 / 0.5202 GB, free: 6.719 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.3704, allocations: 4.641 kB / 0.5202 GB, free: 6.715 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001932/0.3706, allocations: 268.2 kB / 0.5205 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3706, allocations: 0 / 0.5205 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.285e-05/0.3707, allocations: 6.344 kB / 0.5205 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.3707, allocations: 1.25 kB / 0.5205 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.3707, allocations: 4.562 kB / 0.5205 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3707, allocations: 0 / 0.5205 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.3707, allocations: 5.969 kB / 0.5205 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000109/0.3708, allocations: 148.9 kB / 0.5206 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.095e-05/0.3708, allocations: 10.97 kB / 0.5207 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3708, allocations: 1.875 kB / 0.5207 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.8e-05/0.3709, allocations: 0.875 kB / 0.5207 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/0.3709, allocations: 12.09 kB / 0.5207 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.3709, allocations: 1.125 kB / 0.5207 GB, free: 6.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.446e-05/0.3709, allocations: 94.33 kB / 0.5208 GB, free: 6.188 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3709, allocations: 1.375 kB / 0.5208 GB, free: 6.188 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002105/0.3711, allocations: 5.031 kB / 0.5208 GB, free: 6.188 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_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 (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 Backend phase and start with SimCode phase: time 0.0002124/0.3713, allocations: 0.6781 MB / 0.5214 GB, free: 5.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.432e-05/0.3714, allocations: 20.33 kB / 0.5214 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3714, allocations: 0 / 0.5214 GB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.635e-05/0.3714, allocations: 10.83 kB / 0.5215 GB, free: 5.508 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3717, allocations: 10.42 kB / 0.5215 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009551/0.3727, allocations: 1.289 MB / 0.5227 GB, free: 4.289 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.3728, allocations: 0.685 MB / 0.5234 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.29e-05/0.3728, allocations: 3.141 kB / 0.5234 GB, free: 3.594 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.151e-05/0.3729, allocations: 22 kB / 0.5234 GB, free: 3.574 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3729, allocations: 4.625 kB / 0.5234 GB, free: 3.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.3959, allocations: 1.619 MB / 0.525 GB, free: 3.195 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.45, allocations: 11.81 kB / 0.525 GB, free: 3.191 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --timeout=50 --tolerance=1e-06 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.33293745102128] Failed to read output from testmodel.py, exit status != 0: 11.634891838009935 11.65017412 11.278525405 Calling exit ...