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.001848/0.001848, allocations: 113 kB / 18.94 MB, free: 2.934 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.001666/0.001666, allocations: 210.3 kB / 22.25 MB, free: 5.086 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.527/1.527, allocations: 230.6 MB / 256 MB, free: 8.039 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.1102/0.1102, allocations: 24.13 MB / 336.6 MB, free: 11.46 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.002175/0.002175, allocations: 74.23 kB / 470.9 MB, free: 8.797 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3568/0.359, allocations: 59.6 MB / 0.5181 GB, free: 9.008 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002596/0.3616, allocations: 1.469 MB / 0.5195 GB, free: 8.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003321/0.3619, allocations: 115.5 kB / 0.5196 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.726e-05/0.362, allocations: 1.188 kB / 0.5196 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.244e-05/0.362, allocations: 4.688 kB / 0.5196 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.3621, allocations: 14.7 kB / 0.5196 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.3623, allocations: 19.31 kB / 0.5197 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.3624, allocations: 41.16 kB / 0.5197 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.984e-05/0.3625, allocations: 17.44 kB / 0.5197 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.795e-05/0.3626, allocations: 10 kB / 0.5197 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.059e-05/0.3626, allocations: 17.61 kB / 0.5197 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3626, allocations: 2.312 kB / 0.5197 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.296e-06/0.3626, allocations: 1.25 kB / 0.5197 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.314e-05/0.3627, allocations: 6.594 kB / 0.5198 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.521e-05/0.3627, allocations: 12.22 kB / 0.5198 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.798e-05/0.3628, allocations: 24.48 kB / 0.5198 GB, free: 7.949 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3628, allocations: 9.219 kB / 0.5198 GB, free: 7.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3628, allocations: 3.938 kB / 0.5198 GB, free: 7.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.14e-06/0.3628, allocations: 0 / 0.5198 GB, free: 7.938 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.0003545/0.3631, allocations: 271.9 kB / 0.5201 GB, free: 7.66 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.3632, allocations: 11.08 kB / 0.5201 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.921e-05/0.3632, allocations: 32.02 kB / 0.5201 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.3633, allocations: 8.438 kB / 0.5201 GB, free: 7.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.3634, allocations: 125.3 kB / 0.5202 GB, free: 7.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.3634, allocations: 5.688 kB / 0.5202 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.098e-05/0.3635, allocations: 1.781 kB / 0.5202 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.3636, allocations: 44.95 kB / 0.5203 GB, free: 7.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.3636, allocations: 9.375 kB / 0.5203 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/0.3636, allocations: 0 / 0.5203 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.3636, allocations: 1.438 kB / 0.5203 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.803e-05/0.3636, allocations: 13.42 kB / 0.5203 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003112/0.3639, allocations: 237.2 kB / 0.5205 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.348e-05/0.364, allocations: 28.44 kB / 0.5206 GB, free: 7.148 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.37e-05/0.364, allocations: 14.34 kB / 0.5206 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.364, allocations: 0.75 kB / 0.5206 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.371e-05/0.364, allocations: 32.03 kB / 0.5206 GB, free: 7.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.364, allocations: 0 / 0.5206 GB, free: 7.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001767/0.3642, allocations: 46.42 kB / 0.5206 GB, free: 7.059 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.388e-05/0.3642, allocations: 57.55 kB / 0.5207 GB, free: 6.992 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.946e-05/0.3643, allocations: 119.8 kB / 0.5208 GB, free: 6.883 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.3643, allocations: 26.98 kB / 0.5208 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.62e-05/0.3643, allocations: 96.39 kB / 0.5209 GB, free: 6.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.3643, allocations: 6.141 kB / 0.5209 GB, free: 6.754 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.3644, allocations: 17.2 kB / 0.521 GB, free: 6.734 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.021e-05/0.3644, allocations: 317.4 kB / 0.5213 GB, free: 6.418 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.3644, allocations: 7.969 kB / 0.5213 GB, free: 6.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.113e-05/0.3644, allocations: 7.609 kB / 0.5213 GB, free: 6.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.008e-05/0.3645, allocations: 16.72 kB / 0.5213 GB, free: 6.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.3645, allocations: 1.312 kB / 0.5213 GB, free: 6.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.56e-05/0.3645, allocations: 52.06 kB / 0.5213 GB, free: 6.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.3646, allocations: 8 kB / 0.5213 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3646, allocations: 2.297 kB / 0.5213 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3646, allocations: 0 / 0.5213 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.3646, allocations: 4.969 kB / 0.5214 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.3646, allocations: 0 / 0.5214 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.828e-05/0.3647, allocations: 1.469 kB / 0.5214 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.3647, allocations: 8.609 kB / 0.5214 GB, free: 6.344 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 4.544e-05/0.3647, allocations: 113.2 kB / 0.5215 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.426e-05/0.3647, allocations: 2.812 kB / 0.5215 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.274e-05/0.3648, allocations: 12.19 kB / 0.5215 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3648, allocations: 2.203 kB / 0.5215 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3648, allocations: 4 kB / 0.5215 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3648, allocations: 7.781 kB / 0.5215 GB, free: 6.203 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.3649, allocations: 264.7 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.365, allocations: 0.5625 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.43e-05/0.365, allocations: 3.391 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.365, allocations: 1.344 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.203e-06/0.365, allocations: 0 / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.365, allocations: 0.8906 kB / 0.5218 GB, free: 5.922 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.365, allocations: 5.219 kB / 0.5218 GB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.3651, allocations: 140.9 kB / 0.5219 GB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.121e-05/0.3651, allocations: 9.875 kB / 0.5219 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.3651, allocations: 1.547 kB / 0.5219 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.861e-05/0.3652, allocations: 1.125 kB / 0.5219 GB, free: 5.773 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.768e-05/0.3652, allocations: 5.625 kB / 0.5219 GB, free: 5.77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3652, allocations: 1.438 kB / 0.5219 GB, free: 5.77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.783e-05/0.3652, allocations: 94.88 kB / 0.522 GB, free: 5.688 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3652, allocations: 0 / 0.522 GB, free: 5.688 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00022/0.3655, allocations: 12.81 kB / 0.522 GB, free: 5.68 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.0002312/0.3657, allocations: 0.678 MB / 0.5227 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.038e-05/0.3658, allocations: 9.438 kB / 0.5227 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3658, allocations: 3.938 kB / 0.5227 GB, free: 5.004 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.3658, allocations: 13.41 kB / 0.5227 GB, free: 4.996 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002943/0.3661, allocations: 9.062 kB / 0.5227 GB, free: 4.992 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008629/0.367, allocations: 1.284 MB / 0.524 GB, free: 3.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.3671, allocations: 0.6832 MB / 0.5246 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.301e-05/0.3671, allocations: 2.266 kB / 0.5246 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.746e-05/0.3671, allocations: 15.19 kB / 0.5247 GB, free: 3.062 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3671, allocations: 0 / 0.5247 GB, free: 3.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03493/0.4021, allocations: 1.547 MB / 0.5262 GB, free: 2.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.53, allocations: 8.062 kB / 0.5262 GB, free: 2.688 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.315748480847105] Failed to read output from testmodel.py, exit status != 0: 11.63166257715784 11.657042349 11.289053082 Calling exit ...