Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Devel_test_models.Test_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.00161/0.00161, 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.002128/0.002128, allocations: 215.7 kB / 23.04 MB, free: 5.078 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.534/1.534, allocations: 230.6 MB / 256.8 MB, free: 7.965 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.1059/0.1059, allocations: 22.94 MB / 336.2 MB, free: 12.57 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.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_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.002001/0.002001, allocations: 63.91 kB / 469.9 MB, free: 10.34 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3507, allocations: 59.29 MB / 0.5168 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.00385/0.3546, allocations: 1.684 MB / 0.5184 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.3551, allocations: 149 kB / 0.5186 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.373e-05/0.3552, allocations: 1.375 kB / 0.5186 GB, free: 8.375 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.492e-05/0.3552, allocations: 9.422 kB / 0.5186 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001302/0.3553, allocations: 23.66 kB / 0.5186 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003093/0.3556, allocations: 53.09 kB / 0.5187 GB, free: 8.32 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002162/0.3559, allocations: 80.08 kB / 0.5187 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001599/0.356, allocations: 29.33 kB / 0.5188 GB, free: 8.266 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.035e-05/0.3561, allocations: 28.28 kB / 0.5188 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.715e-05/0.3562, allocations: 36.06 kB / 0.5188 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.3562, allocations: 7.031 kB / 0.5188 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.282e-05/0.3562, allocations: 7.156 kB / 0.5188 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.851e-05/0.3563, allocations: 19.98 kB / 0.5189 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3563, allocations: 37.5 kB / 0.5189 GB, free: 8.184 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.3565, allocations: 85.08 kB / 0.519 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.3565, allocations: 0 / 0.519 GB, free: 8.141 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3565, allocations: 3.938 kB / 0.519 GB, free: 8.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3565, allocations: 0.8125 kB / 0.519 GB, free: 8.137 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000513/0.357, allocations: 315.3 kB / 0.5193 GB, free: 7.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/0.3571, allocations: 11.33 kB / 0.5193 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.341e-05/0.3571, allocations: 2.281 kB / 0.5193 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.143e-05/0.3571, allocations: 36.89 kB / 0.5193 GB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.3572, allocations: 14.98 kB / 0.5193 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3575, allocations: 149.4 kB / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3575, allocations: 3.031 kB / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.716e-05/0.3575, allocations: 8.031 kB / 0.5195 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.3577, allocations: 68.95 kB / 0.5196 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.3577, allocations: 1.344 kB / 0.5196 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/0.3577, allocations: 0 / 0.5196 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3577, allocations: 1.344 kB / 0.5196 GB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.3579, allocations: 30.33 kB / 0.5196 GB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005124/0.3584, allocations: 309.5 kB / 0.5199 GB, free: 7.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000369/0.3587, allocations: 65.77 kB / 0.52 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.773e-05/0.3588, allocations: 15.72 kB / 0.52 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.3588, allocations: 2.203 kB / 0.52 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.587e-05/0.3588, allocations: 40.41 kB / 0.52 GB, free: 7.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.403e-06/0.3588, allocations: 0 / 0.52 GB, free: 7.199 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003033/0.3591, allocations: 66.09 kB / 0.5201 GB, free: 7.156 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.3592, allocations: 53.23 kB / 0.5201 GB, free: 7.094 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.3593, allocations: 147.3 kB / 0.5203 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.3593, allocations: 27.19 kB / 0.5203 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.3594, allocations: 103.9 kB / 0.5204 GB, free: 6.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.3594, allocations: 27.78 kB / 0.5204 GB, free: 6.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.166e-05/0.3594, allocations: 18.08 kB / 0.5204 GB, free: 6.801 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.3595, allocations: 315.3 kB / 0.5207 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.032e-05/0.3596, allocations: 17.91 kB / 0.5207 GB, free: 6.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.756e-05/0.3596, allocations: 13.03 kB / 0.5208 GB, free: 6.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001255/0.3597, allocations: 35.16 kB / 0.5208 GB, free: 6.457 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.3597, allocations: 0.5625 kB / 0.5208 GB, free: 6.457 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001828/0.3599, allocations: 75.25 kB / 0.5209 GB, free: 6.406 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.3599, allocations: 5.156 kB / 0.5209 GB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.36, allocations: 4.609 kB / 0.5209 GB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.36, allocations: 4.719 kB / 0.5209 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.3601, allocations: 13.08 kB / 0.5209 GB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3601, allocations: 9.891 kB / 0.5209 GB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.3601, allocations: 5 kB / 0.5209 GB, free: 6.383 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.3601, allocations: 1.094 kB / 0.5209 GB, free: 6.383 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 (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 prepare postOptimizeDAE: time 7.363e-05/0.3602, allocations: 115 kB / 0.521 GB, free: 6.266 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.969e-05/0.3602, allocations: 11.64 kB / 0.521 GB, free: 6.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.011e-05/0.3603, allocations: 11.75 kB / 0.521 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.3603, allocations: 1.688 kB / 0.521 GB, free: 6.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.3603, allocations: 4.594 kB / 0.521 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3603, allocations: 0 / 0.521 GB, free: 6.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.3605, allocations: 166 kB / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-06/0.3605, allocations: 0 / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.221e-05/0.3606, allocations: 7.984 kB / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.3606, allocations: 0 / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3606, allocations: 1.812 kB / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.3606, allocations: 0.5312 kB / 0.5212 GB, free: 6.066 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.3606, allocations: 9.359 kB / 0.5212 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.3609, allocations: 180.1 kB / 0.5214 GB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.3609, allocations: 11.84 kB / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.173e-05/0.361, allocations: 1.453 kB / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.3611, allocations: 1 kB / 0.5214 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.068e-05/0.3611, allocations: 9.031 kB / 0.5214 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.3611, allocations: 1.031 kB / 0.5214 GB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.386e-05/0.3612, allocations: 116.4 kB / 0.5215 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3612, allocations: 0 / 0.5215 GB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.3616, allocations: 14.33 kB / 0.5215 GB, free: 5.797 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (P1.Pr.y,P2.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 (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 Backend phase and start with SimCode phase: time 0.0003938/0.362, allocations: 0.7001 MB / 0.5222 GB, free: 5.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001615/0.3621, allocations: 34.7 kB / 0.5223 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3621, allocations: 0 / 0.5223 GB, free: 5.109 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.114e-05/0.3622, allocations: 19.14 kB / 0.5223 GB, free: 5.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004933/0.3627, allocations: 27.97 kB / 0.5223 GB, free: 5.086 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3645, allocations: 1.512 MB / 0.5238 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/0.3646, allocations: 0.7001 MB / 0.5245 GB, free: 3.074 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.156e-05/0.3647, allocations: 13.45 kB / 0.5245 GB, free: 3.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.588e-05/0.3648, allocations: 25.7 kB / 0.5245 GB, free: 3.047 MB / 382.1 MB Notification: Performance of SimCode: time 5.1e-07/0.3648, allocations: 0 / 0.5245 GB, free: 3.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.3941, allocations: 2.262 MB / 0.5267 GB, free: 2.621 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.78, allocations: 15.75 kB / 0.5267 GB, free: 2.613 MB / 382.1 MB " [Timeout remaining time 648] (rm -f AES_AES.Devel_test_models.Test_FOPDT.pipe ; mkfifo AES_AES.Devel_test_models.Test_FOPDT.pipe ; head -c 1048576 < AES_AES.Devel_test_models.Test_FOPDT.pipe >> ../files/AES_AES.Devel_test_models.Test_FOPDT.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_AES_AES_Devel_test_models_Test_FOPDT_fmu --startTime=0 --stopTime=15 --stepSize=0.03 --timeout=50 --tolerance=1e-06 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.599364007008262] Failed to read output from testmodel.py, exit status != 0: 11.955249962978996 11.983852179 11.621880919 Calling exit ...