Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.ProcessBlocks.SOPDT_overdamped.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.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessBlocks.SOPDT_overdamped,fileNamePrefix="AES_AES_ProcessBlocks_SOPDT_overdamped",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.007181/0.007181, allocations: 99.47 kB / 15.73 MB, free: 6.449 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.00168/0.00168, allocations: 200 kB / 16.68 MB, free: 6.352 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.385/1.385, allocations: 222.9 MB / 240.4 MB, free: 4.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.2085/0.2085, allocations: 22.37 MB / 312.9 MB, free: 12.45 MB / 254.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 74.5 kB / 434.4 MB, free: 35.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 54.96 MB / 489.4 MB, free: 3.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002058/0.1072, allocations: 1.473 MB / 490.9 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006705/0.1079, allocations: 498.8 kB / 491.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.353e-05/0.108, allocations: 0 / 491.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.1082, allocations: 23.86 kB / 491.4 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001062/0.1083, allocations: 23.84 kB / 491.4 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000179/0.1085, allocations: 59.86 kB / 491.5 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.1087, allocations: 111.8 kB / 491.6 MB, free: 1.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.353e-05/0.1088, allocations: 15.98 kB / 491.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.191e-05/0.1088, allocations: 55.77 kB / 491.7 MB, free: 1.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.109, allocations: 59.8 kB / 491.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.109, allocations: 4 kB / 491.7 MB, free: 1.516 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.318e-05/0.109, allocations: 8 kB / 491.7 MB, free: 1.508 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.635e-05/0.1091, allocations: 39.84 kB / 491.8 MB, free: 1.469 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.1091, allocations: 43.67 kB / 491.8 MB, free: 1.426 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.1092, allocations: 79.64 kB / 491.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1092, allocations: 0 / 491.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1092, allocations: 0 / 491.9 MB, free: 1.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.1093, allocations: 0 / 491.9 MB, free: 1.348 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007101/0.11, allocations: 447 kB / 492.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.11, allocations: 12.03 kB / 492.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.894e-05/0.1101, allocations: 34.73 kB / 492.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.035e-05/0.1101, allocations: 16.84 kB / 492.4 MB, free: 0.793 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.1104, allocations: 238.1 kB / 492.6 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.1105, allocations: 8.359 kB / 492.6 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.1105, allocations: 4.375 kB / 492.6 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001116/0.1106, allocations: 77.8 kB / 492.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.1106, allocations: 0 / 492.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1106, allocations: 4 kB / 492.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1107, allocations: 0 / 492.7 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.583e-05/0.1108, allocations: 51.95 kB / 492.8 MB, free: 384 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.1113, allocations: 372.7 kB / 493.1 MB, free: 15.96 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.1114, allocations: 82.48 kB / 493.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.1115, allocations: 40.98 kB / 493.2 MB, free: 15.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1115, allocations: 3.938 kB / 493.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/0.1115, allocations: 34.56 kB / 493.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.162e-06/0.1115, allocations: 0 / 493.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002514/0.1118, allocations: 125.8 kB / 493.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.1118, allocations: 59.39 kB / 493.5 MB, free: 15.58 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.1122, allocations: 187.7 kB / 493.6 MB, free: 15.39 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.1122, allocations: 25.7 kB / 493.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.686e-05/0.1123, allocations: 104.1 kB / 493.8 MB, free: 15.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.303e-05/0.1123, allocations: 27.78 kB / 493.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.052e-05/0.1123, allocations: 21.72 kB / 493.8 MB, free: 15.2 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.1124, allocations: 326.8 kB / 494.1 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.133e-05/0.1125, allocations: 31.92 kB / 494.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.353e-05/0.1126, allocations: 35.97 kB / 494.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.1127, allocations: 68.83 kB / 494.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.1127, allocations: 0 / 494.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001507/0.1128, allocations: 113.7 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.371e-05/0.1129, allocations: 7.984 kB / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1129, allocations: 0 / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.1129, allocations: 0 / 494.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001886/0.1131, allocations: 27.92 kB / 494.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1131, allocations: 0 / 494.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.1132, allocations: 23.94 kB / 494.4 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.225e-06/0.1132, allocations: 4 kB / 494.4 MB, free: 14.55 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 (8): * Single equations (assignments): 8 * 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 9.094e-05/0.1133, allocations: 126.5 kB / 494.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.1134, allocations: 7.953 kB / 494.6 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.879e-05/0.1134, allocations: 16.72 kB / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.1134, allocations: 4 kB / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1134, allocations: 0 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.1134, allocations: 0 / 494.6 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.1139, allocations: 406.4 kB / 495 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.1139, allocations: 0 / 495 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.114, allocations: 11.98 kB / 495 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.114, allocations: 0 / 495 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.114, allocations: 0 / 495 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.114, allocations: 7.938 kB / 495 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.1141, allocations: 0 / 495 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002517/0.1143, allocations: 243.3 kB / 495.2 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.028e-05/0.1144, allocations: 89.03 kB / 495.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.1144, allocations: 4.172 kB / 495.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1146, allocations: 19.92 kB / 495.4 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.799e-05/0.1146, allocations: 8 kB / 495.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.1146, allocations: 0 / 495.4 MB, free: 13.52 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002678/0.1149, allocations: 150.5 kB / 495.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1149, allocations: 4.062 kB / 495.5 MB, free: 13.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1151, allocations: 16 kB / 495.5 MB, free: 13.36 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Pr.x_scaled[1],Pr.x_scaled[2]) * 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 (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 Backend phase and start with SimCode phase: time 0.000479/0.1156, allocations: 0.7554 MB / 496.3 MB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000153/0.1158, allocations: 71.91 kB / 496.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1158, allocations: 0 / 496.4 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.047e-05/0.1158, allocations: 39.97 kB / 496.4 MB, free: 12.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.1161, allocations: 15.88 kB / 496.4 MB, free: 12.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1183, allocations: 1.78 MB / 498.2 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.1186, allocations: 0.7119 MB / 498.9 MB, free: 9.852 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.764e-05/0.1187, allocations: 16.42 kB / 498.9 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.507e-05/0.1187, allocations: 27.42 kB / 498.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1188, allocations: 0 / 498.9 MB, free: 9.809 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01946/0.1382, allocations: 2.439 MB / 0.4896 GB, free: 7.43 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/7.544, allocations: 19.53 kB / 0.4897 GB, free: 7.418 MB / 366.1 MB (rm -f AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; mkfifo AES_AES.ProcessBlocks.SOPDT_overdamped.pipe ; head -c 1048576 < AES_AES.ProcessBlocks.SOPDT_overdamped.pipe >> ../files/AES_AES.ProcessBlocks.SOPDT_overdamped.sim & python3 -m fmpy simulate --output-file AES_AES.ProcessBlocks.SOPDT_overdamped_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_SOPDT_overdamped.fmu > AES_AES.ProcessBlocks.SOPDT_overdamped.pipe 2>&1)