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.0014/0.0014, allocations: 108.3 kB / 19.73 MB, free: 1.898 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.001956/0.001956, allocations: 212.3 kB / 23.01 MB, free: 4.992 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.109/0.109, allocations: 24.04 MB / 337.2 MB, free: 11.34 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.002134/0.002134, allocations: 71.89 kB / 471.5 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3408/0.3429, allocations: 59.57 MB / 0.5186 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002832/0.3458, allocations: 1.446 MB / 0.52 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003551/0.3461, allocations: 111.9 kB / 0.5201 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.632e-05/0.3462, allocations: 1.156 kB / 0.5201 GB, free: 8.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.3462, allocations: 8.156 kB / 0.5201 GB, free: 8.086 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.835e-05/0.3463, allocations: 9.578 kB / 0.5201 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.3466, allocations: 28.23 kB / 0.5201 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.3467, allocations: 33.02 kB / 0.5202 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3468, allocations: 10.55 kB / 0.5202 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.3468, allocations: 13.89 kB / 0.5202 GB, free: 8.035 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.986e-05/0.3469, allocations: 14.03 kB / 0.5202 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.512e-05/0.3469, allocations: 1.531 kB / 0.5202 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.196e-05/0.3469, allocations: 2.594 kB / 0.5202 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.423e-05/0.3469, allocations: 9.859 kB / 0.5202 GB, free: 8.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.545e-05/0.3469, allocations: 11.84 kB / 0.5202 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.963e-05/0.347, allocations: 24.3 kB / 0.5203 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.347, allocations: 1.797 kB / 0.5203 GB, free: 8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.347, allocations: 0 / 0.5203 GB, free: 8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.347, allocations: 0 / 0.5203 GB, free: 8 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.0003806/0.3474, allocations: 272.1 kB / 0.5205 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.3475, allocations: 11.33 kB / 0.5205 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.856e-05/0.3475, allocations: 37.09 kB / 0.5206 GB, free: 7.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.156e-05/0.3476, allocations: 7.766 kB / 0.5206 GB, free: 7.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.3477, allocations: 128.1 kB / 0.5207 GB, free: 7.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.3478, allocations: 5.531 kB / 0.5207 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.3478, allocations: 3.578 kB / 0.5207 GB, free: 7.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.185e-05/0.3479, allocations: 40.47 kB / 0.5207 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.3479, allocations: 4.734 kB / 0.5208 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.855e-06/0.3479, allocations: 0 / 0.5208 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3479, allocations: 1.156 kB / 0.5208 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.213e-05/0.3479, allocations: 15.17 kB / 0.5208 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003245/0.3482, allocations: 233.8 kB / 0.521 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.452e-05/0.3483, allocations: 32.08 kB / 0.521 GB, free: 7.207 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.65e-05/0.3483, allocations: 10.66 kB / 0.521 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.3483, allocations: 5.156 kB / 0.521 GB, free: 7.195 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.3484, allocations: 32.27 kB / 0.5211 GB, free: 7.156 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3484, allocations: 0 / 0.5211 GB, free: 7.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001519/0.3485, allocations: 46.62 kB / 0.5211 GB, free: 7.117 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.3485, allocations: 53.17 kB / 0.5212 GB, free: 7.055 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.808e-05/0.3486, allocations: 120.2 kB / 0.5213 GB, free: 6.945 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.957e-06/0.3486, allocations: 26.77 kB / 0.5213 GB, free: 6.914 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.954e-05/0.3487, allocations: 96.45 kB / 0.5214 GB, free: 6.82 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-06/0.3487, allocations: 9.547 kB / 0.5214 GB, free: 6.812 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.3487, allocations: 17.53 kB / 0.5214 GB, free: 6.793 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.3488, allocations: 318.3 kB / 0.5217 GB, free: 6.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/0.3488, allocations: 8.531 kB / 0.5217 GB, free: 6.473 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.277e-05/0.3488, allocations: 6.703 kB / 0.5217 GB, free: 6.469 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.279e-05/0.3488, allocations: 21.56 kB / 0.5218 GB, free: 6.453 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3488, allocations: 0 / 0.5218 GB, free: 6.453 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.55e-05/0.3489, allocations: 56.14 kB / 0.5218 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3489, allocations: 5.375 kB / 0.5218 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3489, allocations: 2.172 kB / 0.5218 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3489, allocations: 4 kB / 0.5218 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.754e-05/0.349, allocations: 4.578 kB / 0.5218 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.349, allocations: 0 / 0.5218 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/0.349, allocations: 1.734 kB / 0.5218 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.349, allocations: 1.25 kB / 0.5218 GB, free: 6.402 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 5.064e-05/0.3491, allocations: 112.7 kB / 0.5219 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.291e-05/0.3491, allocations: 2.406 kB / 0.5219 GB, free: 6.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.131e-05/0.3491, allocations: 14.95 kB / 0.522 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.3491, allocations: 0 / 0.522 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3491, allocations: 1.188 kB / 0.522 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3491, allocations: 0.6562 kB / 0.522 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.3493, allocations: 262.6 kB / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3493, allocations: 0 / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.3494, allocations: 3.625 kB / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.3494, allocations: 1.438 kB / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.3494, allocations: 0 / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3494, allocations: 2.375 kB / 0.5222 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3494, allocations: 3.938 kB / 0.5222 GB, free: 5.984 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.3495, allocations: 145.9 kB / 0.5224 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.41e-05/0.3495, allocations: 8.172 kB / 0.5224 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.406e-05/0.3495, allocations: 4.641 kB / 0.5224 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.781e-05/0.3496, allocations: 1.828 kB / 0.5224 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.384e-05/0.3496, allocations: 5.953 kB / 0.5224 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.3496, allocations: 0 / 0.5224 GB, free: 5.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.878e-05/0.3496, allocations: 99.66 kB / 0.5225 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3496, allocations: 0 / 0.5225 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000214/0.3498, allocations: 8.922 kB / 0.5225 GB, free: 5.742 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.000266/0.3501, allocations: 0.6742 MB / 0.5231 GB, free: 5.074 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.307e-05/0.3502, allocations: 17.81 kB / 0.5232 GB, free: 5.066 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.3502, allocations: 5.188 kB / 0.5232 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.331e-05/0.3502, allocations: 4.109 kB / 0.5232 GB, free: 5.062 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.3505, allocations: 14.86 kB / 0.5232 GB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.3514, allocations: 1.271 MB / 0.5244 GB, free: 3.848 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.459e-05/0.3515, allocations: 68.28 kB / 0.5245 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.126e-05/0.3515, allocations: 1.938 kB / 0.5245 GB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.208e-05/0.3515, allocations: 14.83 kB / 0.5245 GB, free: 3.766 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3515, allocations: 4.062 kB / 0.5245 GB, free: 3.762 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02931/0.3809, allocations: 1.961 MB / 0.5264 GB, free: 2.957 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.45, allocations: 7.938 kB / 0.5264 GB, free: 2.953 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.144344741012901] Failed to read output from testmodel.py, exit status != 0: 11.556932598818094 11.573895552 11.223562884 Calling exit ...