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.001288/0.001288, allocations: 80.52 kB / 19.95 MB, free: 4.605 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.001114/0.001114, allocations: 169.2 kB / 23.23 MB, free: 1.324 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 1.03/1.03, allocations: 177.1 MB / 203.5 MB, free: 5.758 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.09638/0.09638, allocations: 18.14 MB / 278.1 MB, free: 11.55 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.FOPDT,fileNamePrefix="AES_AES_ProcessBlocks_FOPDT",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 414.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.629e-05/3.809e-05, allocations: 6.453 kB / 414.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002428/0.002466, allocations: 1.441 MB / 415.7 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000347/0.002813, allocations: 119 kB / 415.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.887e-05/0.002872, allocations: 0 / 415.8 MB, free: 11.79 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 2.556e-05/0.002897, allocations: 4.969 kB / 415.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 7.326e-05/0.00297, allocations: 7.156 kB / 415.8 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.003219, allocations: 28.06 kB / 415.8 MB, free: 11.76 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001507/0.00337, allocations: 31.91 kB / 415.8 MB, free: 11.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.003493, allocations: 11.89 kB / 415.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.003525, allocations: 12.7 kB / 415.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.689e-05/0.003582, allocations: 5.812 kB / 415.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.003601, allocations: 6.062 kB / 415.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.725e-06/0.003609, allocations: 1.406 kB / 415.9 MB, free: 11.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.003624, allocations: 14.09 kB / 415.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.00365, allocations: 4.844 kB / 415.9 MB, free: 11.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000112/0.003762, allocations: 30.08 kB / 415.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.003766, allocations: 0 / 415.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.003767, allocations: 0 / 415.9 MB, free: 11.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.336e-06/0.003775, allocations: 0 / 415.9 MB, free: 11.7 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.0004079/0.004183, allocations: 270.8 kB / 416.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.219e-05/0.004245, allocations: 10.55 kB / 416.2 MB, free: 11.43 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.333e-05/0.004309, allocations: 32.52 kB / 416.2 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.515e-05/0.004344, allocations: 15.67 kB / 416.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.0045, allocations: 122.2 kB / 416.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.488e-06/0.004509, allocations: 2.938 kB / 416.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.004526, allocations: 2.406 kB / 416.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.148e-05/0.004617, allocations: 45.73 kB / 416.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.004625, allocations: 192 / 416.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.004635, allocations: 5.469 kB / 416.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.004639, allocations: 4.125 kB / 416.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.504e-05/0.004664, allocations: 7.281 kB / 416.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003501/0.005014, allocations: 238 kB / 416.7 MB, free: 10.95 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.39e-05/0.005098, allocations: 32.92 kB / 416.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.975e-05/0.005128, allocations: 9.578 kB / 416.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.005139, allocations: 2 kB / 416.7 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.394e-05/0.005153, allocations: 31.45 kB / 416.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.005154, allocations: 0 / 416.7 MB, free: 10.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.000143/0.005297, allocations: 50.42 kB / 416.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.005321, allocations: 65.47 kB / 416.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.548e-05/0.005417, allocations: 113.4 kB / 417 MB, free: 10.65 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.005425, allocations: 29.83 kB / 417 MB, free: 10.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.753e-05/0.005482, allocations: 96.66 kB / 417.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.005498, allocations: 9.875 kB / 417.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.21e-05/0.00553, allocations: 13.02 kB / 417.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/0.005598, allocations: 319.5 kB / 417.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.045e-05/0.005619, allocations: 2.719 kB / 417.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.665e-05/0.005636, allocations: 4.375 kB / 417.4 MB, free: 10.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.106e-05/0.005677, allocations: 20.53 kB / 417.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.005683, allocations: 5.344 kB / 417.5 MB, free: 10.16 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.952e-05/0.005762, allocations: 52.33 kB / 417.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.463e-05/0.005787, allocations: 5.344 kB / 417.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.005795, allocations: 4 kB / 417.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.005818, allocations: 0.9375 kB / 417.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001126/0.005931, allocations: 3.969 kB / 417.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.005943, allocations: 6.062 kB / 417.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.79e-05/0.005961, allocations: 144 / 417.5 MB, free: 10.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.005968, allocations: 1.281 kB / 417.5 MB, free: 10.11 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 5.941e-05/0.006028, allocations: 113.1 kB / 417.6 MB, free: 9.992 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.477e-05/0.006042, allocations: 7.391 kB / 417.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.006067, allocations: 13.44 kB / 417.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.006071, allocations: 2.281 kB / 417.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.006077, allocations: 4 kB / 417.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.00608, allocations: 0 / 417.7 MB, free: 9.977 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.006245, allocations: 259.5 kB / 417.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.006246, allocations: 0 / 417.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.00629, allocations: 2.75 kB / 417.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.006293, allocations: 2.031 kB / 417.9 MB, free: 9.699 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.006302, allocations: 4 kB / 417.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.006304, allocations: 1.375 kB / 417.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.006307, allocations: 1.297 kB / 417.9 MB, free: 9.695 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001072/0.006414, allocations: 146 kB / 418.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.977e-06/0.006423, allocations: 6.031 kB / 418.1 MB, free: 9.551 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.128e-05/0.006434, allocations: 5.922 kB / 418.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.46e-05/0.006459, allocations: 0.6875 kB / 418.1 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.145e-05/0.00648, allocations: 10.7 kB / 418.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.006484, allocations: 1.375 kB / 418.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.045e-05/0.006514, allocations: 90.16 kB / 418.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006514, allocations: 1.375 kB / 418.2 MB, free: 9.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000147/0.006661, allocations: 12.62 kB / 418.2 MB, free: 9.453 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.000221/0.006882, allocations: 0.6791 MB / 418.9 MB, free: 8.781 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 8.725e-05/0.00697, allocations: 17.45 kB / 418.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.006971, allocations: 0 / 418.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.798e-06/0.006981, allocations: 8.781 kB / 418.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.007234, allocations: 5.625 kB / 418.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009745/0.008209, allocations: 1.278 MB / 420.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.257e-05/0.008261, allocations: 68.03 kB / 420.3 MB, free: 7.488 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 2.203e-05/0.008284, allocations: 6.562 kB / 420.3 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.008323, allocations: 15.52 kB / 420.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of SimCode: time 6.81e-07/0.008324, allocations: 0 / 420.3 MB, free: 7.473 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1074/0.1157, allocations: 2.179 MB / 422.5 MB, free: 6.566 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.092/8.208, allocations: 7.438 kB / 422.5 MB, free: 6.562 MB / 330.7 MB " [Timeout remaining time 652] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../AES_AES_ProcessBlocks_FOPDT.fmu) > AES_AES.ProcessBlocks.FOPDT.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-cvode.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-cvode.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../AES_AES_ProcessBlocks_FOPDT_OMSimulator-cs-cvode.fmu) > AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-euler.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-euler.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_AES_AES_ProcessBlocks_FOPDT_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../AES_AES_ProcessBlocks_FOPDT_OMSimulator-cs-euler.fmu) > AES_AES.ProcessBlocks.FOPDT_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f AES_AES.ProcessBlocks.FOPDT_fmpy.pipe ; mkfifo AES_AES.ProcessBlocks.FOPDT_fmpy.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.FOPDT_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/AES_AES.ProcessBlocks.FOPDT_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../AES_AES.ProcessBlocks.FOPDT_fmpy_res.csv --start-time 0 --stop-time 1 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../AES_AES_ProcessBlocks_FOPDT.fmu) > AES_AES.ProcessBlocks.FOPDT_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.578178586438298]