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.0008326/0.0008326, allocations: 72.52 kB / 19.95 MB, free: 4.613 MB / 18.57 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.0008316/0.0008316, allocations: 169.2 kB / 23.23 MB, free: 1.332 MB / 18.57 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 0.8713/0.8713, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.06228/0.06228, allocations: 18.12 MB / 278.1 MB, free: 11.52 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.764e-06/1.764e-06, allocations: 0 / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.343e-05/2.52e-05, allocations: 3.734 kB / 412.7 MB, free: 13.23 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002215/0.00224, allocations: 1.648 MB / 414.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003378/0.002578, allocations: 149.2 kB / 414.5 MB, free: 12.71 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.819e-05/0.002656, allocations: 5.75 kB / 414.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.766e-05/0.002694, allocations: 6.328 kB / 414.5 MB, free: 12.7 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001073/0.002801, allocations: 20.8 kB / 414.5 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002569/0.003058, allocations: 46.38 kB / 414.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.00319, allocations: 92.69 kB / 414.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.00331, allocations: 23.19 kB / 414.7 MB, free: 12.66 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.613e-05/0.003346, allocations: 27.28 kB / 414.7 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.398e-05/0.00341, allocations: 32.95 kB / 414.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.402e-05/0.003434, allocations: 5.438 kB / 414.7 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.003448, allocations: 7.469 kB / 414.8 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.673e-05/0.003465, allocations: 12.72 kB / 414.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.952e-05/0.003494, allocations: 24.62 kB / 414.8 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001209/0.003615, allocations: 76.73 kB / 414.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.00362, allocations: 0 / 414.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.003622, allocations: 0.9688 kB / 414.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.003627, allocations: 0 / 414.9 MB, free: 12.59 MB / 330.7 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.0003504/0.003977, allocations: 311.1 kB / 415.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.004017, allocations: 14.83 kB / 415.2 MB, free: 12.28 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.495e-05/0.004042, allocations: 45.7 kB / 415.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.004067, allocations: 10.39 kB / 415.2 MB, free: 12.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.004256, allocations: 143.4 kB / 415.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.004268, allocations: 6.812 kB / 415.4 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.004289, allocations: 11.2 kB / 415.4 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.004416, allocations: 65.12 kB / 415.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.004424, allocations: 2.75 kB / 415.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.004432, allocations: 4.375 kB / 415.5 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.004439, allocations: 7.359 kB / 415.5 MB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.109e-05/0.00449, allocations: 32.97 kB / 415.5 MB, free: 12.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.004816, allocations: 289.9 kB / 415.8 MB, free: 11.74 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.005046, allocations: 65.41 kB / 415.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.081e-05/0.005077, allocations: 16.39 kB / 415.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.005099, allocations: 1.125 kB / 415.9 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.277e-05/0.005112, allocations: 32.73 kB / 415.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.054e-06/0.005114, allocations: 1 kB / 415.9 MB, free: 11.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001732/0.005287, allocations: 78.36 kB / 416 MB, free: 11.6 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/0.005308, allocations: 53.41 kB / 416 MB, free: 11.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.466e-05/0.005382, allocations: 140.1 kB / 416.2 MB, free: 11.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.005389, allocations: 25.7 kB / 416.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.982e-05/0.005418, allocations: 105.6 kB / 416.3 MB, free: 11.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.005442, allocations: 22.95 kB / 416.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.005468, allocations: 17.73 kB / 416.3 MB, free: 11.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.721e-05/0.005505, allocations: 325.2 kB / 416.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.982e-05/0.005535, allocations: 12.59 kB / 416.7 MB, free: 10.93 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.005557, allocations: 16.91 kB / 416.7 MB, free: 10.92 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.223e-05/0.005609, allocations: 36.38 kB / 416.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.00561, allocations: 0 / 416.7 MB, free: 10.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 8.147e-05/0.005692, allocations: 79.3 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.005705, allocations: 6.125 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.005709, allocations: 0 / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.005723, allocations: 1.375 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.621e-05/0.005759, allocations: 8.719 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.005765, allocations: 2.047 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.694e-05/0.005782, allocations: 1.094 kB / 416.8 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.005789, allocations: 6.406 kB / 416.8 MB, free: 10.84 MB / 330.7 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 4.243e-05/0.005832, allocations: 122.3 kB / 416.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.501e-05/0.005847, allocations: 8.078 kB / 416.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.501e-05/0.005872, allocations: 12.23 kB / 417 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.914e-06/0.005873, allocations: 0 / 417 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.005878, allocations: 2.094 kB / 417 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.005881, allocations: 0 / 417 MB, free: 10.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.005986, allocations: 164 kB / 417.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.005987, allocations: 0.5625 kB / 417.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.352e-05/0.006031, allocations: 8.328 kB / 417.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.006032, allocations: 12.06 kB / 417.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.00604, allocations: 2.266 kB / 417.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.006042, allocations: 0.9375 kB / 417.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.006044, allocations: 1.375 kB / 417.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001347/0.006178, allocations: 181.3 kB / 417.3 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.006191, allocations: 7.766 kB / 417.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.006203, allocations: 1.078 kB / 417.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.069e-05/0.006234, allocations: 1.375 kB / 417.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.448e-05/0.006268, allocations: 8.906 kB / 417.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.006272, allocations: 5.375 kB / 417.3 MB, free: 10.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.683e-05/0.006309, allocations: 116.2 kB / 417.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006309, allocations: 0 / 417.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001493/0.006458, allocations: 13.58 kB / 417.5 MB, free: 10.27 MB / 330.7 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.0002051/0.006663, allocations: 0.7093 MB / 418.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.12e-05/0.006755, allocations: 33.77 kB / 418.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.006756, allocations: 0 / 418.2 MB, free: 9.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.00678, allocations: 20 kB / 418.2 MB, free: 9.562 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.007015, allocations: 18.69 kB / 418.3 MB, free: 9.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008818/0.007897, allocations: 1.499 MB / 419.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.111e-05/0.007948, allocations: 81.88 kB / 419.8 MB, free: 8.172 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 3.521e-05/0.007983, allocations: 8.922 kB / 419.8 MB, free: 8.168 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.55e-05/0.008029, allocations: 26.58 kB / 419.9 MB, free: 8.148 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.008029, allocations: 5.469 kB / 419.9 MB, free: 8.145 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01764/0.02567, allocations: 2.794 MB / 422.7 MB, free: 7.176 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.761/6.786, allocations: 7.828 kB / 422.7 MB, free: 7.176 MB / 330.7 MB " [Timeout remaining time 653] (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: 8.620165813714266] Failed to read output from testmodel.py, exit status != 0: 7.016154349781573 6.878080718 6.872494075 Calling exit ...