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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001319/0.001319, allocations: 110.3 kB / 16.4 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 191.7 kB / 19.36 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 245.1 MB, free: 4.348 MB / 190.1 MB " [Timeout remaining time 178] 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.2244/0.2244, allocations: 22.34 MB / 319.6 MB, free: 11.83 MB / 254.1 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.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 70.23 kB / 443.1 MB, free: 36.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09034/0.09222, allocations: 54.97 MB / 498.1 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFInst.instantiate(AES.ProcessBlocks.SOPDT_overdamped): time 0.002013/0.09428, allocations: 1.449 MB / 499.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006498/0.09495, allocations: 0.4987 MB / 0.4883 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.554e-05/0.09502, allocations: 0 / 0.4883 GB, free: 0.9609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.09529, allocations: 31.84 kB / 0.4884 GB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001004/0.09542, allocations: 23.84 kB / 0.4884 GB, free: 0.9062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.09561, allocations: 47.88 kB / 0.4884 GB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.09575, allocations: 127.7 kB / 0.4885 GB, free: 0.7344 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.09585, allocations: 16 kB / 0.4886 GB, free: 0.7188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.282e-05/0.09593, allocations: 47.88 kB / 0.4886 GB, free: 0.6719 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001188/0.09606, allocations: 59.75 kB / 0.4887 GB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.09609, allocations: 8 kB / 0.4887 GB, free: 0.6055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.642e-05/0.09611, allocations: 4 kB / 0.4887 GB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.952e-05/0.09617, allocations: 31.91 kB / 0.4887 GB, free: 0.5703 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.024e-05/0.09622, allocations: 47.7 kB / 0.4888 GB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001013/0.09633, allocations: 75.66 kB / 0.4888 GB, free: 460 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.09634, allocations: 4 kB / 0.4888 GB, free: 456 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.09634, allocations: 0 / 0.4888 GB, free: 456 kB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.09635, allocations: 4 kB / 0.4888 GB, free: 452 kB / 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.0007681/0.09713, allocations: 442.9 kB / 0.4893 GB, free: 15.96 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/0.09717, allocations: 8.031 kB / 0.4893 GB, free: 15.95 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.668e-05/0.09724, allocations: 38.75 kB / 0.4893 GB, free: 15.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.09728, allocations: 12.84 kB / 0.4893 GB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004357/0.09773, allocations: 240.1 kB / 0.4895 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.647e-06/0.09774, allocations: 4.375 kB / 0.4895 GB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.702e-05/0.09778, allocations: 8.375 kB / 0.4896 GB, free: 15.61 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.09792, allocations: 77.72 kB / 0.4896 GB, free: 15.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.09794, allocations: 3.938 kB / 0.4896 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.066e-05/0.09796, allocations: 0 / 0.4896 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.09797, allocations: 4 kB / 0.4896 GB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001146/0.09809, allocations: 51.97 kB / 0.4897 GB, free: 15.47 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006353/0.09873, allocations: 372.6 kB / 0.49 GB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.0989, allocations: 82.53 kB / 0.4901 GB, free: 14.96 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/0.09897, allocations: 32.97 kB / 0.4902 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.09899, allocations: 0 / 0.4902 GB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.09902, allocations: 38.56 kB / 0.4902 GB, free: 14.88 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 8.62e-07/0.09903, allocations: 0 / 0.4902 GB, free: 14.88 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003021/0.09934, allocations: 133.6 kB / 0.4903 GB, free: 14.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.822e-05/0.09938, allocations: 51.41 kB / 0.4904 GB, free: 14.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.09974, allocations: 187.7 kB / 0.4905 GB, free: 14.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.09977, allocations: 25.7 kB / 0.4906 GB, free: 14.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.466e-05/0.09986, allocations: 112.1 kB / 0.4907 GB, free: 14.34 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.178e-05/0.09989, allocations: 27.72 kB / 0.4907 GB, free: 14.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.583e-05/0.09995, allocations: 21.72 kB / 0.4907 GB, free: 14.29 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.1001, allocations: 326.8 kB / 0.491 GB, free: 13.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.397e-05/0.1002, allocations: 23.98 kB / 0.4911 GB, free: 13.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.706e-05/0.1002, allocations: 31.97 kB / 0.4911 GB, free: 13.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.1003, allocations: 76.97 kB / 0.4912 GB, free: 13.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1003, allocations: 0 / 0.4912 GB, free: 13.83 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001632/0.1005, allocations: 109.5 kB / 0.4913 GB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1005, allocations: 8 kB / 0.4913 GB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1005, allocations: 4.25 kB / 0.4913 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.1006, allocations: 0 / 0.4913 GB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.1008, allocations: 27.98 kB / 0.4913 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1008, allocations: 0 / 0.4913 GB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.1009, allocations: 19.94 kB / 0.4913 GB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1009, allocations: 0 / 0.4913 GB, free: 13.66 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.805e-05/0.101, allocations: 130.5 kB / 0.4914 GB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.1011, allocations: 11.95 kB / 0.4915 GB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.419e-05/0.1011, allocations: 16.72 kB / 0.4915 GB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.451e-06/0.1011, allocations: 3.984 kB / 0.4915 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.1011, allocations: 3.938 kB / 0.4915 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.1011, allocations: 0 / 0.4915 GB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1016, allocations: 398.4 kB / 0.4919 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1016, allocations: 0 / 0.4919 GB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.742e-05/0.1017, allocations: 11.98 kB / 0.4919 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.1017, allocations: 4 kB / 0.4919 GB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.1018, allocations: 8 kB / 0.4919 GB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.1018, allocations: 7.875 kB / 0.4919 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1018, allocations: 0 / 0.4919 GB, free: 13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002629/0.102, allocations: 227.4 kB / 0.4921 GB, free: 12.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.418e-05/0.1021, allocations: 93.02 kB / 0.4922 GB, free: 12.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.154e-05/0.1021, allocations: 4 kB / 0.4922 GB, free: 12.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.1023, allocations: 19.98 kB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/0.1024, allocations: 3.984 kB / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1024, allocations: 0 / 0.4922 GB, free: 12.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000266/0.1026, allocations: 151.3 kB / 0.4924 GB, free: 12.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1026, allocations: 0 / 0.4924 GB, free: 12.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002245/0.1029, allocations: 20 kB / 0.4924 GB, free: 12.46 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.0005378/0.1034, allocations: 0.7749 MB / 0.4931 GB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001656/0.1036, allocations: 68 kB / 0.4932 GB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1036, allocations: 3.938 kB / 0.4932 GB, free: 11.59 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.239e-05/0.1037, allocations: 31.98 kB / 0.4932 GB, free: 11.56 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.1039, allocations: 11.94 kB / 0.4933 GB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.1062, allocations: 1.784 MB / 0.495 GB, free: 9.684 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.1066, allocations: 0.7002 MB / 0.4957 GB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.311e-05/0.1067, allocations: 24.41 kB / 0.4957 GB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.502e-05/0.1067, allocations: 31.44 kB / 0.4957 GB, free: 8.902 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1067, allocations: 0 / 0.4957 GB, free: 8.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02347/0.1302, allocations: 2.442 MB / 0.4981 GB, free: 6.523 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.832/7.963, allocations: 7.609 kB / 0.4981 GB, free: 6.52 MB / 366.1 MB " [Timeout remaining time 652] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.675910750054754] Failed to read output from testmodel.py, exit status != 0: 8.044945186935365 8.067871529 7.967684816 Calling exit ...