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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005113/0.005113, allocations: 98.52 kB / 15.73 MB, free: 5.602 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.001156/0.001156, allocations: 196.9 kB / 16.68 MB, free: 5.523 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.08993/0.08993, allocations: 22.33 MB / 312.9 MB, free: 8.863 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 434.4 MB, free: 14.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1095, allocations: 54.95 MB / 489.4 MB, free: 7.348 MB / 366.1 MB Notification: Performance of NFInst.instantiate(AES.Devel_test_models.Test_FOPDT): time 0.002912/0.1124, allocations: 1.642 MB / 491 MB, free: 5.695 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.1129, allocations: 159.5 kB / 491.2 MB, free: 5.539 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.113, allocations: 4 kB / 491.2 MB, free: 5.535 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.446e-05/0.1131, allocations: 11.86 kB / 491.2 MB, free: 5.523 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.1132, allocations: 15.81 kB / 491.2 MB, free: 5.508 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.1135, allocations: 39.95 kB / 491.3 MB, free: 5.469 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1137, allocations: 91.7 kB / 491.3 MB, free: 5.379 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001397/0.1139, allocations: 35.97 kB / 491.4 MB, free: 5.344 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.479e-05/0.1139, allocations: 27.86 kB / 491.4 MB, free: 5.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.247e-05/0.114, allocations: 39.73 kB / 491.4 MB, free: 5.277 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.533e-05/0.1141, allocations: 8 kB / 491.5 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.1141, allocations: 4 kB / 491.5 MB, free: 5.266 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 2.329e-05/0.1141, allocations: 19.92 kB / 491.5 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.96e-05/0.1142, allocations: 43.73 kB / 491.5 MB, free: 5.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001508/0.1143, allocations: 83.53 kB / 491.6 MB, free: 5.121 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1143, allocations: 4 kB / 491.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1144, allocations: 0 / 491.6 MB, free: 5.117 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.094e-06/0.1144, allocations: 0 / 491.6 MB, free: 5.117 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000584/0.115, allocations: 385.7 kB / 492 MB, free: 4.691 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.115, allocations: 16.02 kB / 492 MB, free: 4.676 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.047e-05/0.1151, allocations: 34.75 kB / 492 MB, free: 4.633 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.1151, allocations: 12.84 kB / 492 MB, free: 4.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003174/0.1154, allocations: 215 kB / 492.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1155, allocations: 384 / 492.3 MB, free: 4.375 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.1155, allocations: 12.33 kB / 492.3 MB, free: 4.363 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002064/0.1157, allocations: 70.22 kB / 492.3 MB, free: 4.289 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1157, allocations: 3.938 kB / 492.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1157, allocations: 0 / 492.3 MB, free: 4.285 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.1157, allocations: 4 kB / 492.3 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.888e-05/0.1158, allocations: 23.98 kB / 492.4 MB, free: 4.258 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005256/0.1164, allocations: 344.7 kB / 492.7 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003303/0.1167, allocations: 62.48 kB / 492.8 MB, free: 3.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.911e-05/0.1168, allocations: 16.92 kB / 492.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.1168, allocations: 0 / 492.8 MB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.1168, allocations: 46.55 kB / 492.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.1168, allocations: 0 / 492.8 MB, free: 3.727 MB / 366.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002482/0.1171, allocations: 65.64 kB / 492.9 MB, free: 3.656 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.556e-05/0.1172, allocations: 55.41 kB / 492.9 MB, free: 3.59 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1173, allocations: 141.8 kB / 493.1 MB, free: 3.441 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.917e-05/0.1173, allocations: 29.64 kB / 493.1 MB, free: 3.406 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.045e-05/0.1174, allocations: 104 kB / 493.2 MB, free: 3.301 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.1174, allocations: 23.83 kB / 493.2 MB, free: 3.277 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-05/0.1174, allocations: 21.72 kB / 493.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001105/0.1176, allocations: 318.8 kB / 493.6 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.1176, allocations: 12 kB / 493.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.197e-05/0.1177, allocations: 12 kB / 493.6 MB, free: 2.906 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.862e-05/0.1177, allocations: 36.84 kB / 493.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.1177, allocations: 0 / 493.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001292/0.1179, allocations: 69.64 kB / 493.7 MB, free: 2.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.1179, allocations: 15.94 kB / 493.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.1179, allocations: 0 / 493.7 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.1179, allocations: 3.938 kB / 493.7 MB, free: 2.773 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.118, allocations: 11.94 kB / 493.7 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.118, allocations: 7.922 kB / 493.7 MB, free: 2.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.381e-05/0.1181, allocations: 7.953 kB / 493.7 MB, free: 2.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.1181, allocations: 4 kB / 493.7 MB, free: 2.742 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 (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 8.406e-05/0.1182, allocations: 118.6 kB / 493.9 MB, free: 2.617 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.1182, allocations: 7.953 kB / 493.9 MB, free: 2.609 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.1182, allocations: 12.25 kB / 493.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1182, allocations: 0 / 493.9 MB, free: 2.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.834e-06/0.1182, allocations: 7.938 kB / 493.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1182, allocations: 0 / 493.9 MB, free: 2.582 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.1184, allocations: 193.6 kB / 494.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1184, allocations: 0 / 494.1 MB, free: 2.344 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.974e-05/0.1185, allocations: 11.98 kB / 494.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1185, allocations: 0 / 494.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.165e-06/0.1185, allocations: 0 / 494.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1185, allocations: 192 / 494.1 MB, free: 2.332 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.1186, allocations: 7.938 kB / 494.1 MB, free: 2.324 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.1188, allocations: 183.5 kB / 494.3 MB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.987e-05/0.1188, allocations: 81.06 kB / 494.4 MB, free: 2.031 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.1189, allocations: 4 kB / 494.4 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.633e-05/0.1189, allocations: 4 kB / 494.4 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.119, allocations: 8.156 kB / 494.4 MB, free: 2.016 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.631e-06/0.119, allocations: 4 kB / 494.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.1191, allocations: 105.5 kB / 494.5 MB, free: 1.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1191, allocations: 4 kB / 494.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002266/0.1193, allocations: 12 kB / 494.5 MB, free: 1.895 MB / 366.1 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.0005089/0.1198, allocations: 0.7085 MB / 495.2 MB, free: 1.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001437/0.12, allocations: 35.97 kB / 495.2 MB, free: 1.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.12, allocations: 4.062 kB / 495.2 MB, free: 1.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.585e-05/0.12, allocations: 15.94 kB / 495.3 MB, free: 1.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003859/0.1204, allocations: 23.88 kB / 495.3 MB, free: 1.082 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.122, allocations: 1.508 MB / 496.8 MB, free: 15.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002675/0.1222, allocations: 0.6963 MB / 497.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.561e-05/0.1223, allocations: 8 kB / 497.5 MB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.1223, allocations: 27.42 kB / 497.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1223, allocations: 0 / 497.5 MB, free: 14.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.142, allocations: 2.087 MB / 499.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.377/7.519, allocations: 11.91 kB / 499.6 MB, free: 12.7 MB / 382.1 MB (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 & python3 -m fmpy simulate --output-file AES_AES.Devel_test_models.Test_FOPDT_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.03 AES_AES_Devel_test_models_Test_FOPDT.fmu > AES_AES.Devel_test_models.Test_FOPDT.pipe 2>&1)