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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005201/0.005201, allocations: 99.83 kB / 15.73 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001129/0.001129, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.09323/0.09323, allocations: 22.33 MB / 312.9 MB, free: 8.871 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 434.4 MB, free: 14.39 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.109, allocations: 54.95 MB / 489.4 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.FOPDT): time 0.002778/0.1118, allocations: 1.431 MB / 490.8 MB, free: 5.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003821/0.1123, allocations: 119.7 kB / 490.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.725e-05/0.1123, allocations: 3.938 kB / 490.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.05e-05/0.1124, allocations: 0 / 490.9 MB, free: 5.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 7.536e-05/0.1125, allocations: 11.88 kB / 490.9 MB, free: 5.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.1127, allocations: 15.98 kB / 490.9 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.1129, allocations: 39.84 kB / 491 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.113, allocations: 19.98 kB / 491 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.808e-05/0.113, allocations: 7.938 kB / 491 MB, free: 5.73 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.598e-05/0.1131, allocations: 15.86 kB / 491 MB, free: 5.715 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.1131, allocations: 4 kB / 491 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.1131, allocations: 0 / 491 MB, free: 5.711 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 1.207e-05/0.1131, allocations: 4 kB / 491 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.188e-05/0.1132, allocations: 19.86 kB / 491.1 MB, free: 5.688 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 9.37e-05/0.1133, allocations: 27.78 kB / 491.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1133, allocations: 0 / 491.1 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.1133, allocations: 4 kB / 491.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1133, allocations: 4 kB / 491.1 MB, free: 5.652 MB / 366.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.0004313/0.1137, allocations: 347.3 kB / 491.4 MB, free: 5.262 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1138, allocations: 8.031 kB / 491.4 MB, free: 5.254 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.237e-05/0.1139, allocations: 38.69 kB / 491.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.1139, allocations: 0.9375 kB / 491.5 MB, free: 5.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002474/0.1142, allocations: 184.3 kB / 491.7 MB, free: 4.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.1142, allocations: 4.312 kB / 491.7 MB, free: 4.984 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.1142, allocations: 4.375 kB / 491.7 MB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.947e-05/0.1143, allocations: 54.19 kB / 491.7 MB, free: 4.922 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1143, allocations: 3.938 kB / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.1143, allocations: 0 / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1143, allocations: 0 / 491.7 MB, free: 4.918 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.835e-05/0.1144, allocations: 7.984 kB / 491.7 MB, free: 4.91 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.1148, allocations: 276.9 kB / 492 MB, free: 4.59 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.656e-05/0.1148, allocations: 30.52 kB / 492 MB, free: 4.551 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.794e-05/0.1149, allocations: 12.92 kB / 492 MB, free: 4.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.465e-06/0.1149, allocations: 7.984 kB / 492 MB, free: 4.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.119e-05/0.1149, allocations: 30.56 kB / 492.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.1149, allocations: 0 / 492.1 MB, free: 4.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001738/0.1151, allocations: 49.59 kB / 492.1 MB, free: 4.434 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.1151, allocations: 51.41 kB / 492.2 MB, free: 4.371 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.913e-05/0.1152, allocations: 118 kB / 492.3 MB, free: 4.246 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1153, allocations: 29.69 kB / 492.3 MB, free: 4.211 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.1153, allocations: 96.03 kB / 492.4 MB, free: 4.113 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.1153, allocations: 3.953 kB / 492.4 MB, free: 4.109 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.1154, allocations: 13.72 kB / 492.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.1155, allocations: 322.8 kB / 492.7 MB, free: 3.766 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.1155, allocations: 4 kB / 492.7 MB, free: 3.762 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.313e-05/0.1155, allocations: 8 kB / 492.8 MB, free: 3.754 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.416e-05/0.1156, allocations: 20.86 kB / 492.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1156, allocations: 0 / 492.8 MB, free: 3.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.453e-05/0.1157, allocations: 49.62 kB / 492.8 MB, free: 3.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1157, allocations: 4 kB / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.1157, allocations: 0 / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1157, allocations: 384 / 492.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.75e-05/0.1158, allocations: 4 kB / 492.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.1158, allocations: 0 / 492.8 MB, free: 3.668 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.429e-05/0.1158, allocations: 7.953 kB / 492.8 MB, free: 3.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.572e-06/0.1158, allocations: 7.922 kB / 492.8 MB, free: 3.652 MB / 366.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 (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 0.0001174/0.116, allocations: 122.5 kB / 493 MB, free: 3.523 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.116, allocations: 4 kB / 493 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.116, allocations: 7.469 kB / 493 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.116, allocations: 0 / 493 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.116, allocations: 0 / 493 MB, free: 3.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.116, allocations: 4 kB / 493 MB, free: 3.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/0.1163, allocations: 294.5 kB / 493.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1163, allocations: 0 / 493.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.663e-05/0.1164, allocations: 0 / 493.3 MB, free: 3.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.1164, allocations: 8.031 kB / 493.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.1164, allocations: 0 / 493.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1164, allocations: 0 / 493.3 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1164, allocations: 3.938 kB / 493.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.1166, allocations: 147.5 kB / 493.4 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1166, allocations: 77.11 kB / 493.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.1166, allocations: 0 / 493.5 MB, free: 2.895 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.878e-05/0.1167, allocations: 8.031 kB / 493.5 MB, free: 2.887 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.1167, allocations: 7.969 kB / 493.5 MB, free: 2.879 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.1167, allocations: 4 kB / 493.5 MB, free: 2.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.438e-05/0.1168, allocations: 91.27 kB / 493.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1168, allocations: 0 / 493.6 MB, free: 2.785 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003007/0.1171, allocations: 11.89 kB / 493.6 MB, free: 2.773 MB / 366.1 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.0003838/0.1175, allocations: 0.6696 MB / 494.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 8.693e-05/0.1176, allocations: 19.92 kB / 494.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.1176, allocations: 0 / 494.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.612e-05/0.1177, allocations: 4 kB / 494.3 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.1179, allocations: 12.22 kB / 494.3 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001489/0.1194, allocations: 1.291 MB / 495.6 MB, free: 0.6719 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.1197, allocations: 0.6846 MB / 496.3 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.031e-05/0.1198, allocations: 3.906 kB / 496.3 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.745e-05/0.1198, allocations: 19.36 kB / 496.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1198, allocations: 0 / 496.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02237/0.1422, allocations: 1.405 MB / 497.7 MB, free: 14.58 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.456/7.598, allocations: 7.109 kB / 497.7 MB, free: 14.58 MB / 382.1 MB (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)