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.001282/0.001282, allocations: 115.5 kB / 17.16 MB, free: 5.895 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.001469/0.001469, allocations: 215 kB / 20.13 MB, free: 2.949 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.56/1.56, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.1025/0.1025, allocations: 22.93 MB / 332.5 MB, free: 2.648 MB / 254.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_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.002/0.002, allocations: 64.12 kB / 464.6 MB, free: 33.46 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 59.27 MB / 0.5116 GB, free: 160 kB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.003556/0.1306, allocations: 1.443 MB / 0.513 GB, free: 14.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003524/0.1309, allocations: 127.6 kB / 0.5131 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.486e-05/0.131, allocations: 0 / 0.5131 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.955e-05/0.131, allocations: 0 / 0.5131 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.274e-05/0.1311, allocations: 7.875 kB / 0.5131 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1313, allocations: 27.97 kB / 0.5132 GB, free: 14.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1314, allocations: 35.86 kB / 0.5132 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.955e-05/0.1315, allocations: 11.98 kB / 0.5132 GB, free: 14.49 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.621e-05/0.1315, allocations: 7.938 kB / 0.5132 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.803e-05/0.1316, allocations: 19.86 kB / 0.5132 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.1316, allocations: 4 kB / 0.5132 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-06/0.1316, allocations: 0 / 0.5132 GB, free: 14.46 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.1316, allocations: 7.984 kB / 0.5132 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.821e-05/0.1316, allocations: 19.86 kB / 0.5133 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 8.149e-05/0.1317, allocations: 23.86 kB / 0.5133 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1317, allocations: 0 / 0.5133 GB, free: 14.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.1317, allocations: 4 kB / 0.5133 GB, free: 14.41 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1317, allocations: 0 / 0.5133 GB, free: 14.41 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.0004471/0.1322, allocations: 347.3 kB / 0.5136 GB, free: 14.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.1322, allocations: 12.62 kB / 0.5136 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.935e-05/0.1323, allocations: 192 / 0.5136 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.435e-05/0.1323, allocations: 42.75 kB / 0.5137 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1323, allocations: 4.891 kB / 0.5137 GB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002054/0.1325, allocations: 180.3 kB / 0.5138 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.688e-06/0.1326, allocations: 4.375 kB / 0.5138 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1326, allocations: 8.375 kB / 0.5139 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.1327, allocations: 53.92 kB / 0.5139 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.65e-06/0.1327, allocations: 3.938 kB / 0.5139 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.1327, allocations: 0 / 0.5139 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.1327, allocations: 3.984 kB / 0.5139 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.573e-05/0.1327, allocations: 15.98 kB / 0.5139 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.1331, allocations: 306.4 kB / 0.5142 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.436e-05/0.1332, allocations: 34.58 kB / 0.5143 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1332, allocations: 20.92 kB / 0.5143 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.042e-05/0.1333, allocations: 0 / 0.5143 GB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.1333, allocations: 30.56 kB / 0.5143 GB, free: 13.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.1333, allocations: 0 / 0.5143 GB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001985/0.1335, allocations: 53.62 kB / 0.5144 GB, free: 13.12 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.1335, allocations: 55.41 kB / 0.5144 GB, free: 13.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1337, allocations: 113.8 kB / 0.5145 GB, free: 12.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.1337, allocations: 25.7 kB / 0.5145 GB, free: 12.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.806e-05/0.1337, allocations: 96.08 kB / 0.5146 GB, free: 12.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.1338, allocations: 15.84 kB / 0.5146 GB, free: 12.79 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.042e-05/0.1338, allocations: 13.72 kB / 0.5147 GB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.134, allocations: 326.8 kB / 0.515 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.134, allocations: 0 / 0.515 GB, free: 12.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.855e-05/0.134, allocations: 12 kB / 0.515 GB, free: 12.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.762e-05/0.1341, allocations: 16.86 kB / 0.515 GB, free: 12.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1341, allocations: 0 / 0.515 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001078/0.1342, allocations: 57.58 kB / 0.5151 GB, free: 12.35 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.1342, allocations: 4 kB / 0.5151 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.1342, allocations: 4 kB / 0.5151 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.1342, allocations: 0 / 0.5151 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.669e-05/0.1343, allocations: 4.375 kB / 0.5151 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.1343, allocations: 0 / 0.5151 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.011e-05/0.1343, allocations: 7.984 kB / 0.5151 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1343, allocations: 8 kB / 0.5151 GB, free: 12.32 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 (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 prepare postOptimizeDAE: time 0.0001042/0.1344, allocations: 118.5 kB / 0.5152 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.1345, allocations: 4 kB / 0.5152 GB, free: 12.19 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.711e-05/0.1345, allocations: 7.906 kB / 0.5152 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1345, allocations: 0 / 0.5152 GB, free: 12.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1345, allocations: 3.938 kB / 0.5152 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1345, allocations: 0 / 0.5152 GB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003781/0.1349, allocations: 298.8 kB / 0.5155 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.1349, allocations: 4 kB / 0.5155 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.428e-05/0.135, allocations: 8 kB / 0.5155 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.135, allocations: 0 / 0.5155 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/0.135, allocations: 0 / 0.5155 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.135, allocations: 4 kB / 0.5155 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.135, allocations: 3.938 kB / 0.5155 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.1352, allocations: 159.5 kB / 0.5157 GB, free: 11.63 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.043e-05/0.1353, allocations: 81.06 kB / 0.5157 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.1353, allocations: 0 / 0.5157 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.555e-05/0.1354, allocations: 4.062 kB / 0.5157 GB, free: 11.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.859e-05/0.1354, allocations: 7.938 kB / 0.5158 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.1354, allocations: 0 / 0.5158 GB, free: 11.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.426e-05/0.1355, allocations: 91.27 kB / 0.5158 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1355, allocations: 0 / 0.5158 GB, free: 11.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003532/0.1358, allocations: 8 kB / 0.5159 GB, free: 11.43 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 ($outputAlias_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 (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 Backend phase and start with SimCode phase: time 0.0005581/0.1364, allocations: 0.6851 MB / 0.5165 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000102/0.1365, allocations: 16 kB / 0.5165 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1365, allocations: 0 / 0.5165 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.107e-05/0.1365, allocations: 7.984 kB / 0.5165 GB, free: 10.69 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.1369, allocations: 13.81 kB / 0.5166 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.1385, allocations: 1.299 MB / 0.5178 GB, free: 9.305 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.1389, allocations: 0.6846 MB / 0.5185 GB, free: 8.594 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.378e-05/0.1389, allocations: 7.984 kB / 0.5185 GB, free: 8.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.139, allocations: 11.44 kB / 0.5185 GB, free: 8.574 MB / 382.1 MB Notification: Performance of SimCode: time 3.7e-07/0.139, allocations: 4 kB / 0.5185 GB, free: 8.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02119/0.1602, allocations: 1.472 MB / 0.52 GB, free: 7.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.439/8.599, allocations: 7.062 kB / 0.52 GB, free: 7.156 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.514601756003685] Failed to read output from testmodel.py, exit status != 0: 8.725765079027042 8.749227217 8.61302376 Calling exit ...