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.001392/0.001392, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.00171/0.00171, allocations: 218.7 kB / 22.26 MB, free: 5.125 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.502/1.502, allocations: 230.6 MB / 256 MB, free: 7.996 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.1093/0.1093, allocations: 24.12 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.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_FOPDT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.Devel_test_models.Test_FOPDT,fileNamePrefix="AES_AES_Devel_test_models_Test_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.002029/0.002029, allocations: 71.89 kB / 470.9 MB, free: 8.766 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3466/0.3486, allocations: 59.59 MB / 0.5181 GB, free: 8.949 MB / 382.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.003097/0.3517, allocations: 1.697 MB / 0.5198 GB, free: 7.922 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004201/0.3521, allocations: 151.8 kB / 0.5199 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.773e-05/0.3522, allocations: 1.125 kB / 0.5199 GB, free: 7.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.74e-05/0.3522, allocations: 13.66 kB / 0.5199 GB, free: 7.809 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000113/0.3523, allocations: 22.91 kB / 0.5199 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002857/0.3526, allocations: 40.19 kB / 0.52 GB, free: 7.773 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.3528, allocations: 92.05 kB / 0.5201 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.353, allocations: 25.84 kB / 0.5201 GB, free: 7.711 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.353, allocations: 31.36 kB / 0.5201 GB, free: 7.691 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.567e-05/0.3531, allocations: 33.05 kB / 0.5201 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.3531, allocations: 6.531 kB / 0.5202 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.862e-05/0.3532, allocations: 12.25 kB / 0.5202 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.3532, allocations: 14.95 kB / 0.5202 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.512e-05/0.3532, allocations: 37.88 kB / 0.5202 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.3534, allocations: 83.95 kB / 0.5203 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.3534, allocations: 0.6094 kB / 0.5203 GB, free: 7.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3534, allocations: 1.375 kB / 0.5203 GB, free: 7.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.3534, allocations: 0 / 0.5203 GB, free: 7.586 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.0005056/0.3539, allocations: 311.8 kB / 0.5206 GB, free: 7.285 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/0.354, allocations: 11.92 kB / 0.5206 GB, free: 7.285 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.382e-05/0.354, allocations: 40.64 kB / 0.5206 GB, free: 7.238 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.3541, allocations: 10.45 kB / 0.5207 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.3543, allocations: 147.3 kB / 0.5208 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.3543, allocations: 2.625 kB / 0.5208 GB, free: 7.086 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.3543, allocations: 8.531 kB / 0.5208 GB, free: 7.082 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.3545, allocations: 64.95 kB / 0.5209 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.3545, allocations: 3.938 kB / 0.5209 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.3545, allocations: 5.375 kB / 0.5209 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.3546, allocations: 9.125 kB / 0.5209 GB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.3546, allocations: 30.19 kB / 0.5209 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.3551, allocations: 306.5 kB / 0.5212 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003264/0.3555, allocations: 65.67 kB / 0.5213 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.838e-05/0.3555, allocations: 19.84 kB / 0.5213 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.151e-05/0.3555, allocations: 1.031 kB / 0.5213 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.3556, allocations: 32.41 kB / 0.5213 GB, free: 6.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.3556, allocations: 0 / 0.5213 GB, free: 6.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002522/0.3558, allocations: 72.05 kB / 0.5214 GB, free: 6.602 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.3558, allocations: 52.53 kB / 0.5214 GB, free: 6.539 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.356, allocations: 141.6 kB / 0.5216 GB, free: 6.426 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.356, allocations: 30.55 kB / 0.5216 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.356, allocations: 112.6 kB / 0.5217 GB, free: 6.285 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.684e-05/0.3561, allocations: 18.58 kB / 0.5217 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.52e-05/0.3561, allocations: 19.92 kB / 0.5217 GB, free: 6.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.782e-05/0.3562, allocations: 319.4 kB / 0.5221 GB, free: 5.934 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.501e-05/0.3562, allocations: 12.39 kB / 0.5221 GB, free: 5.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.991e-05/0.3563, allocations: 13.41 kB / 0.5221 GB, free: 5.926 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.849e-05/0.3563, allocations: 38.94 kB / 0.5221 GB, free: 5.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3563, allocations: 4.75 kB / 0.5221 GB, free: 5.898 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001448/0.3565, allocations: 74.44 kB / 0.5222 GB, free: 5.848 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.3565, allocations: 9.188 kB / 0.5222 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.361e-06/0.3565, allocations: 1.125 kB / 0.5222 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.3565, allocations: 0 / 0.5222 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.102e-05/0.3566, allocations: 13.8 kB / 0.5222 GB, free: 5.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3566, allocations: 4.938 kB / 0.5222 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.316e-05/0.3566, allocations: 1.922 kB / 0.5222 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.613e-06/0.3566, allocations: 1.125 kB / 0.5222 GB, free: 5.836 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 6.914e-05/0.3567, allocations: 118.5 kB / 0.5223 GB, free: 5.715 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.3567, allocations: 8.109 kB / 0.5223 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.3568, allocations: 12.41 kB / 0.5224 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.362e-06/0.3568, allocations: 0 / 0.5224 GB, free: 5.699 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3568, allocations: 5.953 kB / 0.5224 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3568, allocations: 0 / 0.5224 GB, free: 5.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.3569, allocations: 161 kB / 0.5225 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3569, allocations: 0.875 kB / 0.5225 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.357, allocations: 8.375 kB / 0.5225 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.357, allocations: 0 / 0.5225 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.357, allocations: 10.09 kB / 0.5225 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.357, allocations: 0 / 0.5225 GB, free: 5.52 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.357, allocations: 3.938 kB / 0.5225 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.3572, allocations: 176.6 kB / 0.5227 GB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.788e-05/0.3573, allocations: 15.89 kB / 0.5227 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.3573, allocations: 1.75 kB / 0.5227 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.422e-05/0.3573, allocations: 1.812 kB / 0.5227 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.038e-05/0.3574, allocations: 11.31 kB / 0.5227 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.3574, allocations: 9.859 kB / 0.5227 GB, free: 5.336 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.368e-05/0.3575, allocations: 109.2 kB / 0.5228 GB, free: 5.254 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3575, allocations: 0 / 0.5228 GB, free: 5.254 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000228/0.3577, allocations: 13.11 kB / 0.5229 GB, free: 5.25 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.0003576/0.3581, allocations: 0.7159 MB / 0.5236 GB, free: 4.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.3582, allocations: 29.59 kB / 0.5236 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3582, allocations: 1.781 kB / 0.5236 GB, free: 4.555 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.508e-05/0.3583, allocations: 18.33 kB / 0.5236 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3586, allocations: 25.95 kB / 0.5236 GB, free: 4.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.3599, allocations: 1.502 MB / 0.5251 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.3601, allocations: 0.6999 MB / 0.5258 GB, free: 2.527 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.643e-05/0.3601, allocations: 9.547 kB / 0.5258 GB, free: 2.523 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.155e-05/0.3602, allocations: 21.55 kB / 0.5258 GB, free: 2.508 MB / 382.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3602, allocations: 0 / 0.5258 GB, free: 2.508 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02966/0.3898, allocations: 2.244 MB / 0.528 GB, free: 2.066 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.38, allocations: 7.219 kB / 0.528 GB, free: 2.062 MB / 382.1 MB " [Timeout remaining time 649] (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.08267791219987] Failed to read output from testmodel.py, exit status != 0: 11.488909702049568 11.517301255 11.158086295 Calling exit ...