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.0008335/0.0008335, allocations: 80.53 kB / 19.95 MB, free: 4.609 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.0008536/0.0008536, 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.8782/0.8782, allocations: 177.1 MB / 203.5 MB, free: 5.734 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.06082/0.06082, allocations: 18.12 MB / 278.1 MB, free: 11.54 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.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: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.738e-05/2.939e-05, allocations: 3.531 kB / 412.7 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002293/0.002323, allocations: 1.44 MB / 414.1 MB, free: 12.85 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002752/0.002598, allocations: 111.1 kB / 414.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.657e-05/0.002654, allocations: 1.594 kB / 414.2 MB, free: 12.81 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.785e-05/0.002682, allocations: 8.672 kB / 414.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 6.49e-05/0.002747, allocations: 10.36 kB / 414.2 MB, free: 12.8 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.002971, allocations: 31.66 kB / 414.3 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001017/0.003072, allocations: 30.88 kB / 414.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.737e-05/0.00317, allocations: 13.16 kB / 414.3 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.353e-05/0.003193, allocations: 9.312 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.889e-05/0.003242, allocations: 13.16 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.777e-05/0.00326, allocations: 2 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-06/0.003267, allocations: 2.469 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.147e-05/0.003279, allocations: 2.094 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.003303, allocations: 11.7 kB / 414.3 MB, free: 12.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 7.899e-05/0.003382, allocations: 30.14 kB / 414.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.003386, allocations: 4 kB / 414.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.003387, allocations: 0 / 414.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.003391, allocations: 0 / 414.4 MB, free: 12.75 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002969/0.003688, allocations: 271.2 kB / 414.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/0.003728, allocations: 10.83 kB / 414.6 MB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.027e-05/0.003778, allocations: 37.45 kB / 414.7 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.009e-05/0.003798, allocations: 7.672 kB / 414.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.003945, allocations: 122.8 kB / 414.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.003954, allocations: 3.312 kB / 414.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.003968, allocations: 3.406 kB / 414.8 MB, free: 12.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.991e-05/0.004038, allocations: 49.23 kB / 414.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.004045, allocations: 192 / 414.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.004053, allocations: 2.812 kB / 414.9 MB, free: 12.27 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.004058, allocations: 5.781 kB / 414.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.197e-05/0.00408, allocations: 14.02 kB / 414.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.00434, allocations: 227.5 kB / 415.1 MB, free: 12.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.298e-05/0.004383, allocations: 31.88 kB / 415.1 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.004401, allocations: 10.2 kB / 415.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.00441, allocations: 0 / 415.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.359e-05/0.004423, allocations: 37.72 kB / 415.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 7.01e-07/0.004424, allocations: 0 / 415.2 MB, free: 11.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001229/0.004547, allocations: 49.77 kB / 415.2 MB, free: 11.91 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.004566, allocations: 53.34 kB / 415.3 MB, free: 11.85 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.226e-05/0.004618, allocations: 118.6 kB / 415.4 MB, free: 11.75 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.29e-06/0.004623, allocations: 29.64 kB / 415.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.527e-05/0.004648, allocations: 92.31 kB / 415.5 MB, free: 11.63 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.004657, allocations: 10.14 kB / 415.5 MB, free: 11.62 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.00468, allocations: 17.66 kB / 415.5 MB, free: 11.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.95e-05/0.00471, allocations: 314.2 kB / 415.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.004721, allocations: 9.969 kB / 415.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.297e-06/0.00473, allocations: 4.953 kB / 415.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.629e-05/0.004756, allocations: 19.09 kB / 415.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.004758, allocations: 5.25 kB / 415.9 MB, free: 11.28 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 4.627e-05/0.004805, allocations: 49.12 kB / 415.9 MB, free: 11.24 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.004818, allocations: 8.688 kB / 416 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.004823, allocations: 1.562 kB / 416 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.004834, allocations: 0.8438 kB / 416 MB, free: 11.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.205e-05/0.004886, allocations: 7.438 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.004892, allocations: 2 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.004904, allocations: 4.141 kB / 416 MB, free: 11.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.004909, allocations: 1.219 kB / 416 MB, free: 11.23 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 (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 3.657e-05/0.004945, allocations: 116.2 kB / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.27e-05/0.004958, allocations: 6.875 kB / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.806e-05/0.004976, allocations: 10.25 kB / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.004978, allocations: 0 / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.004983, allocations: 1.562 kB / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.004985, allocations: 1.438 kB / 416.1 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001299/0.005115, allocations: 260.7 kB / 416.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.005117, allocations: 2.109 kB / 416.4 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.005158, allocations: 10.78 kB / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.00516, allocations: 0 / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.005167, allocations: 2.625 kB / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.005168, allocations: 0 / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.005169, allocations: 0 / 416.4 MB, free: 10.83 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.824e-05/0.005247, allocations: 146.9 kB / 416.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.476e-06/0.005255, allocations: 6.641 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.073e-05/0.005266, allocations: 0.5 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.606e-05/0.005292, allocations: 2.828 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.005304, allocations: 1.406 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.005307, allocations: 6.062 kB / 416.5 MB, free: 10.69 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.261e-05/0.005329, allocations: 94.33 kB / 416.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005329, allocations: 0 / 416.6 MB, free: 10.61 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001401/0.005469, allocations: 12.97 kB / 416.6 MB, free: 10.61 MB / 330.7 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.0001503/0.00562, allocations: 0.6762 MB / 417.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.005684, allocations: 9.828 kB / 417.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.005686, allocations: 1.531 kB / 417.3 MB, free: 9.941 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.005697, allocations: 11.59 kB / 417.3 MB, free: 9.938 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.005948, allocations: 11.98 kB / 417.3 MB, free: 9.934 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00063/0.006578, allocations: 1.272 MB / 418.6 MB, free: 8.762 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.614e-05/0.006615, allocations: 67.48 kB / 418.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 1.732e-05/0.006632, allocations: 2.25 kB / 418.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.006662, allocations: 14.67 kB / 418.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of SimCode: time 6.12e-07/0.006663, allocations: 0 / 418.7 MB, free: 8.68 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0179/0.02457, allocations: 2.089 MB / 420.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.907/6.932, allocations: 5.219 kB / 420.8 MB, free: 7.785 MB / 330.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.FOPDT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 AES_AES_ProcessBlocks_FOPDT.fmu > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.93109141010791] Failed to read output from testmodel.py, exit status != 0: 7.17901180498302 7.024931543 7.019440541 Calling exit ...